Changing the start of sha256_block_data_order in sha256-armv4.S to avoid the use of the ADR pseudo-instruction like this:
global sha256_block_data_order .type sha256_block_data_order,%function sha256_block_data_order: #ifdef __thumb2__ sub r3,pc,#4 @ sha256_block_data_order #else sub r3,pc,#8 @ sha256_block_data_order #endif
... seems to work:
$ ../util/shlib_wrap.sh ./sha256t Testing SHA-256 ... passed. Testing SHA-224 ... passed.
Changing the start of sha256_ block_data_ order in sha256-armv4.S to avoid the use of the ADR pseudo-instruction like this:
global sha256_ block_data_ order block_data_ order,% function block_data_ order: block_data_ order block_data_ order
.type sha256_
sha256_
#ifdef __thumb2__
sub r3,pc,#4 @ sha256_
#else
sub r3,pc,#8 @ sha256_
#endif
... seems to work:
$ ../util/ shlib_wrap. sh ./sha256t
Testing SHA-256 ... passed.
Testing SHA-224 ... passed.