Add a test for --as-needed with symbol versioning
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 11 Dec 2013 16:00:34 +0000 (08:00 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 11 Dec 2013 16:00:34 +0000 (08:00 -0800)
commit5e319dd3e18e1318ab97a2dabb93095e2bd82ee3
tree8210e2e9e5e74851865cdd321d3a97d10859283c
parent08a6411c715c2d8bf31d5a5c8a477fa4651639aa
Add a test for --as-needed with symbol versioning

* ld-elf/shared.exp (build_tests): Add libneeded2a.so,
libneeded2b.so, libneeded2c.o and needed2.

* ld-elf/needed2.ver: New file.
* ld-elf/needed2a.c: Likewise.
* ld-elf/needed2b.c: Likewise.
* ld-elf/needed2c.c: Likewise.
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/needed2.ver [new file with mode: 0644]
ld/testsuite/ld-elf/needed2a.c [new file with mode: 0644]
ld/testsuite/ld-elf/needed2b.c [new file with mode: 0644]
ld/testsuite/ld-elf/needed2c.c [new file with mode: 0644]
ld/testsuite/ld-elf/shared.exp