diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2018-10-05 14:30:35 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-10-08 09:42:19 +0200 |
commit | b73bc6e3035933e796564ba962c71d5775554f86 (patch) | |
tree | fc2e6a2f4883ce5e656fe5914a7ee420105cf189 /include/libfile.h | |
parent | 7324242de921f3820e7da843f19bf49eca9502db (diff) | |
download | barebox-b73bc6e3035933e796564ba962c71d5775554f86.tar.gz barebox-b73bc6e3035933e796564ba962c71d5775554f86.tar.xz |
arm: crypto: fix SHA256 shipped assembler code
Binutils 2.29 changed behavior of the adr instruction to always
add the thumb mode switch offset, which breaks usages where the
user is interested in the address of an internal symbol, instead
of a jump address. Binutils 3.31 fixed this by only adding the
offset when interworking is required.
As there are toolchains out there with broken binutils, it's better
to fix the code to work around the issue by not using the named
label.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Tested-by: Robert Schwebel <r.schwebel@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/libfile.h')
0 files changed, 0 insertions, 0 deletions