diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-05-27 14:45:41 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-05-27 14:45:41 +0000 |
commit | de687b11fbe1ce0c516f1944590f08bb445ba6ff (patch) | |
tree | 4a161f32f1fd4c202ad865e4824181a70d71dac2 /ld/testsuite/ld-elf/elf.exp | |
parent | f5eda4731e902851d30f1bd99fa890d2a7de41b9 (diff) | |
download | gdb-de687b11fbe1ce0c516f1944590f08bb445ba6ff.zip gdb-de687b11fbe1ce0c516f1944590f08bb445ba6ff.tar.gz gdb-de687b11fbe1ce0c516f1944590f08bb445ba6ff.tar.bz2 |
Add a test for PR ld/14170
PR ld/14170
* ld-elf/elf.exp: Add a test for PR ld/14170.
* ld-elf/pr14170a.s: New file.
* ld-elf/pr14170b.s: Likewise.
* ld-elf/pr14170b.s: Likewise.
Diffstat (limited to 'ld/testsuite/ld-elf/elf.exp')
-rw-r--r-- | ld/testsuite/ld-elf/elf.exp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ld/testsuite/ld-elf/elf.exp b/ld/testsuite/ld-elf/elf.exp index eb909bc..f14498f 100644 --- a/ld/testsuite/ld-elf/elf.exp +++ b/ld/testsuite/ld-elf/elf.exp @@ -66,6 +66,14 @@ if { ![istarget hppa64*-hpux*] } { # # Only run the test on targets thats support creating shared libraries. if { [check_shared_lib_support] } then { + run_ld_link_tests { + {"Build pr14170a.o" "" "" "pr14170a.s" {} "pr14170.a" } + {"Build shared library for pr14170" + "-shared" "" "pr14170b.s" {} "pr14170.so" } + {"PR ld/14170" + "tmpdir/pr14170a.o tmpdir/pr14170.so" "" "pr14170c.s" + { } "a.out" } + } setup_xfail "tic6x-*-*" run_ld_link_tests { {"Build shared library for next test" |