Fix the computation of the addends for an ARM_TLS_LE32 reloc.
authorNick Clifton <nickc@redhat.com>
Thu, 18 Jun 2015 09:18:42 +0000 (10:18 +0100)
committerNick Clifton <nickc@redhat.com>
Thu, 18 Jun 2015 09:18:42 +0000 (10:18 +0100)
commit75c11999673ba32027eb17f6df9c37904622ed24
tree917740473045b9fe9c96f18b5332ed274a94bea2
parent57b42d6489218e29cb18edd111c97f4390b62ad9
Fix the computation of the addends for an ARM_TLS_LE32 reloc.

PR gas/18481
bfd * elf32-arm.c (R_ARM_TLS_LE32): Set the special function to NULL.

gas * config/tc-arm.c (tc_gen_reloc): Include BFD_RELOC_ARM_TLS_LE32
in the same case as BFD_RELOC_ARM_TLS_IS32.

tests * gas/arm/tls.s: Add tests of the tpoff pseudo with a local
symbol.
* gas/arm/tls.d: Update expected output.
bfd/ChangeLog
bfd/elf32-arm.c
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/tls.d
gas/testsuite/gas/arm/tls.s