diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-02-23 05:18:43 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-02-23 05:19:03 -0800 |
commit | 6b3b0ab89663306d17927d630304dbbd36e84570 (patch) | |
tree | eecbc3d7e2d224602ea525556436a5fa5645d0a2 /ld/ChangeLog | |
parent | 17733f5be961baa7a47fdf1471aa6948372293d6 (diff) | |
download | gdb-6b3b0ab89663306d17927d630304dbbd36e84570.zip gdb-6b3b0ab89663306d17927d630304dbbd36e84570.tar.gz gdb-6b3b0ab89663306d17927d630304dbbd36e84570.tar.bz2 |
Make linker assigned symbol dynamic only for shared object
Linker assigned symbols should be made dynamic by default only when
creating shared object or relocatable executable.
bfd/
* elflink.c (bfd_elf_record_link_assignment): Check for shared
library, instead of PIC, and don't check PDE when making linker
assigned symbol dynamic.
ld/
* testsuite/ld-frv/fdpic-pie-6.d: Updated.
* testsuite/ld-mips-elf/pie-n32.d: Likewise.
* testsuite/ld-mips-elf/pie-n64.d: Likewise.
* testsuite/ld-mips-elf/pie-o32.d: Likewise.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index e5bd6b8..665f4f4 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,10 @@ +2016-02-23 H.J. Lu <hongjiu.lu@intel.com> + + * testsuite/ld-frv/fdpic-pie-6.d: Updated. + * testsuite/ld-mips-elf/pie-n32.d: Likewise. + * testsuite/ld-mips-elf/pie-n64.d: Likewise. + * testsuite/ld-mips-elf/pie-o32.d: Likewise. + 2016-02-20 H.J. Lu <hongjiu.lu@intel.com> * testsuite/ld-elf/pr19539.d: Skip cris*-*-* targets. |