Comment 6 for bug 1729850

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

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.