The incorrect instruction at the start of sha256_block_data_order comes from the ADR pseudo-instruction in sha256-armv4.S:
.global sha256_block_data_order .type sha256_block_data_order,%function sha256_block_data_order: #if __ARM_ARCH__<7 sub r3,pc,#8 @ sha256_block_data_order #else adr r3,sha256_block_data_order #endif
The ADR instruction assembles to a SUB in our case, and it appears to do this incorrectly in Thumb mode. Adding a binutils task for this.
The incorrect instruction at the start of sha256_ block_data_ order comes from the ADR pseudo-instruction in sha256-armv4.S:
.global sha256_ block_data_ order block_data_ order,% function block_data_ order: block_data_ order block_data_ order
.type sha256_
sha256_
#if __ARM_ARCH__<7
sub r3,pc,#8 @ sha256_
#else
adr r3,sha256_
#endif
The ADR instruction assembles to a SUB in our case, and it appears to do this incorrectly in Thumb mode. Adding a binutils task for this.