diff options
author | Will Newton <will.newton@linaro.org> | 2014-01-10 14:38:58 +0000 |
---|---|---|
committer | Will Newton <will.newton@linaro.org> | 2014-03-20 11:43:33 +0000 |
commit | 97323ad11305610185a0265392cabcd37510f50e (patch) | |
tree | 0bbfadab17a8f34d3abf214850130357b42e7a4e /ld | |
parent | e1f8f1b3af798e8af99bffdb695f74c6c916d150 (diff) | |
download | gdb-97323ad11305610185a0265392cabcd37510f50e.zip gdb-97323ad11305610185a0265392cabcd37510f50e.tar.gz gdb-97323ad11305610185a0265392cabcd37510f50e.tar.bz2 |
bfd/elf32-arm.c: Set st_value to zero for undefined symbols
Unless pointer_equality_needed is set then set st_value to be zero
for undefined symbols.
bfd/ChangeLog:
2014-03-20 Will Newton <will.newton@linaro.org>
PR ld/16715
* elf32-arm.c (elf32_arm_check_relocs): Set
pointer_equality_needed for absolute references within
executable links.
(elf32_arm_finish_dynamic_symbol): Set st_value to zero
unless pointer_equality_needed is set.
ld/testsuite/ChangeLog:
2014-03-20 Will Newton <will.newton@linaro.org>
* ld-arm/ifunc-14.rd: Update symbol values.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/ifunc-14.rd | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index cc62e0e..9e4ce82 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-03-20 Will Newton <will.newton@linaro.org> + + * ld-arm/ifunc-14.rd: Update symbol values. + 2014-03-19 Nick Clifton <nickc@redhat.com> * config/default.exp (ASFLAGS): For the RX target add: diff --git a/ld/testsuite/ld-arm/ifunc-14.rd b/ld/testsuite/ld-arm/ifunc-14.rd index 59ea29b..9c44092 100644 --- a/ld/testsuite/ld-arm/ifunc-14.rd +++ b/ld/testsuite/ld-arm/ifunc-14.rd @@ -8,5 +8,5 @@ Relocation section '\.rel\.dyn' at offset 0x8000 contains 4 entries: Relocation section '\.rel\.plt' at offset 0x8020 contains 2 entries: Offset Info Type Sym\.Value Sym\. Name -0001100c ......16 R_ARM_JUMP_SLOT 00009014 f2t -00011010 ......16 R_ARM_JUMP_SLOT 00009020 f2 +0001100c ......16 R_ARM_JUMP_SLOT 00000000 f2t +00011010 ......16 R_ARM_JUMP_SLOT 00000000 f2 |