bfd/elf32-arm.c: Set st_value to zero for undefined symbols
authorWill Newton <will.newton@linaro.org>
Fri, 10 Jan 2014 14:38:58 +0000 (14:38 +0000)
committerWill Newton <will.newton@linaro.org>
Thu, 20 Mar 2014 11:43:33 +0000 (11:43 +0000)
commit97323ad11305610185a0265392cabcd37510f50e
tree0bbfadab17a8f34d3abf214850130357b42e7a4e
parente1f8f1b3af798e8af99bffdb695f74c6c916d150
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.
bfd/ChangeLog
bfd/elf32-arm.c
ld/testsuite/ChangeLog
ld/testsuite/ld-arm/ifunc-14.rd