Add a testcase for PR ld/2404
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 20 Jan 2014 12:50:47 +0000 (04:50 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 20 Jan 2014 12:50:47 +0000 (04:50 -0800)
commitcec2c50d38391e11f7116643450156560e5a1b91
treeacf4a69671db08b7fe90c6db7a23de483d6ca4d4
parente671835b7afc90b3ff201b79f07a6fb67797bc5c
Add a testcase for PR ld/2404

PR ld/2404 was fixed without a testcase.  This patch to add one.

PR ld/2404
* ld-elf/pr2404.out: New file.
* ld-elf/pr2404a.c: Likewise.
* ld-elf/pr2404b.c: Likewise.

* ld-elf/shared.exp (build_tests): Build libpr2404a.so and
libpr2404b.a.
(run_tests): Run pr2404.
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/pr2404.out [new file with mode: 0644]
ld/testsuite/ld-elf/pr2404a.c [new file with mode: 0644]
ld/testsuite/ld-elf/pr2404b.c [new file with mode: 0644]
ld/testsuite/ld-elf/shared.exp