aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-arm.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-06-18 10:18:42 +0100
committerNick Clifton <nickc@redhat.com>2015-06-18 10:18:42 +0100
commit75c11999673ba32027eb17f6df9c37904622ed24 (patch)
tree917740473045b9fe9c96f18b5332ed274a94bea2 /bfd/elf32-arm.c
parent57b42d6489218e29cb18edd111c97f4390b62ad9 (diff)
downloadgdb-75c11999673ba32027eb17f6df9c37904622ed24.zip
gdb-75c11999673ba32027eb17f6df9c37904622ed24.tar.gz
gdb-75c11999673ba32027eb17f6df9c37904622ed24.tar.bz2
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.
Diffstat (limited to 'bfd/elf32-arm.c')
-rw-r--r--bfd/elf32-arm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index 113f4eb..919df17 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -1606,7 +1606,7 @@ static reloc_howto_type elf32_arm_howto_table_1[] =
FALSE, /* pc_relative */
0, /* bitpos */
complain_overflow_bitfield,/* complain_on_overflow */
- bfd_elf_generic_reloc, /* special_function */
+ NULL, /* special_function */
"R_ARM_TLS_LE32", /* name */
TRUE, /* partial_inplace */
0xffffffff, /* src_mask */