aboutsummaryrefslogtreecommitdiff
path: root/ld/Makefile.am
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-02-23 05:18:43 -0800
committerH.J. Lu <hjl.tools@gmail.com>2016-02-23 05:19:03 -0800
commit6b3b0ab89663306d17927d630304dbbd36e84570 (patch)
treeeecbc3d7e2d224602ea525556436a5fa5645d0a2 /ld/Makefile.am
parent17733f5be961baa7a47fdf1471aa6948372293d6 (diff)
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/Makefile.am')
0 files changed, 0 insertions, 0 deletions