Don't change the default symbol for relocatable link
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 30 Jul 2015 10:27:44 +0000 (03:27 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 30 Jul 2015 10:28:00 +0000 (03:28 -0700)
commitc6e8a9a802bcd3a96ef14b6ea1b6cd60d5d8d065
tree2f89635eb9cf57993817771a73573a5e1fcc72a3
parent13be649613bb62e75296d1f69a7c889ddf29a564
Don't change the default symbol for relocatable link

We should change the default symbol for the versioned symbol only when
not performing a relocatable link.

bfd/

PR ld/18735
* elflink.c (_bfd_elf_add_default_symbol): Add the default
symbol if not performing a relocatable link.
(elf_link_add_object_symbols): Adjust the default symbol if
not performing a relocatable link.

ld/testsuite/

PR ld/18735
* ld-elf/pr18735.d: New file.
* ld-elf/pr18735.s: Likewise.
bfd/ChangeLog
bfd/elflink.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/pr18735.d [new file with mode: 0644]
ld/testsuite/ld-elf/pr18735.s [new file with mode: 0644]
This page took 0.025803 seconds and 4 git commands to generate.