Add a test for PR ld/14170
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / elf.exp
index eb909bcb2bf65d221cba3d1530af01d19d6807c0..f14498fa9dde94fa56412c9c724408cf6320b564 100644 (file)
@@ -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"
This page took 0.02509 seconds and 4 git commands to generate.