Add tests for --add-needed/--copy-dt-needed-entries
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 4 Dec 2012 17:44:43 +0000 (17:44 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 4 Dec 2012 17:44:43 +0000 (17:44 +0000)
commit63406f0ab746d10e5e66b6a0604b35f5272e98b4
treecc509f5a9a42507a0e7cc4d7b274e1c3943e829f
parent56bf0743058aa1fff07b32ba50c1e9bfaf9e2bcc
Add tests for --add-needed/--copy-dt-needed-entries

* ld-elf/shared.exp (build_tests): Build libneeded1b.so,
libneeded1a.so and libneeded1c.o.
(run_tests): Test --add-needed and --copy-dt-needed-entries.
Add tests for --no-add-needed and --no-copy-dt-needed-entries.

* ld-elf/needed1.out: New file.
* ld-elf/needed1a.c: Likewise.
* ld-elf/needed1b.c: Likewise.
* ld-elf/needed1c.c: Likewise.
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/needed1.out [new file with mode: 0644]
ld/testsuite/ld-elf/needed1a.c [new file with mode: 0644]
ld/testsuite/ld-elf/needed1b.c [new file with mode: 0644]
ld/testsuite/ld-elf/needed1c.c [new file with mode: 0644]
ld/testsuite/ld-elf/shared.exp