Skip the unversioned definition after the default version
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 12 Oct 2015 11:55:24 +0000 (04:55 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 12 Oct 2015 11:57:16 +0000 (04:57 -0700)
commit4373f8af3ddbc301227e883d5cbed8302c107e59
tree8f393f237c1b03f93a1bb47cc5ab07e89aef71d4
parentede77e6963d1fa748fed1515d58f26e842a2cccb
Skip the unversioned definition after the default version

We may see an unversioned definition after the default version.  We
should skip the unversioned definition in this case.

bfd/

PR ld/19073
* elflink.c (_bfd_elf_add_default_symbol): Skip the unversioned
definition after the default version.

ld/testsuite/

PR ld/19073
* ld-elf/pr19073.map: New file.
* ld-elf/pr19073.rd: Likewise.
* ld-elf/pr19073.s: Likewise.
* ld-elf/shared.exp (build_tests): Add tests for PR ld/19073.
bfd/ChangeLog
bfd/elflink.c
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/pr19073.map [new file with mode: 0644]
ld/testsuite/ld-elf/pr19073.rd [new file with mode: 0644]
ld/testsuite/ld-elf/pr19073.s [new file with mode: 0644]
ld/testsuite/ld-elf/shared.exp