5bb1cd2292
Branch to global symbol results in reference to PLT, and when compiling
for THUMB-2 - in a R_ARM_THM_JUMP19 relocation. Some linkers don't
support this relocation (ld.gold), while others can end up truncating
the relocation to fit (ld.bfd).
Convert this branch through PLT into a direct branch that the assembler
can resolve locally.
See https://github.com/android-ndk/ndk/issues/337 for background.
The current workaround is to disable poly1305 optimization assembly,
which is not optimal and can be reverted after this patch:
|
||
---|---|---|
.. | ||
asm | ||
build.info | ||
poly1305.c | ||
poly1305_ameth.c | ||
poly1305_base2_44.c | ||
poly1305_ieee754.c | ||
poly1305_local.h | ||
poly1305_pmeth.c |