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:
|
||
---|---|---|
.. | ||
poly1305-armv4.pl | ||
poly1305-armv8.pl | ||
poly1305-c64xplus.pl | ||
poly1305-mips.pl | ||
poly1305-ppc.pl | ||
poly1305-ppcfp.pl | ||
poly1305-s390x.pl | ||
poly1305-sparcv9.pl | ||
poly1305-x86.pl | ||
poly1305-x86_64.pl |