ld/testsuite/
authorRoland McGrath <roland@gnu.org>
Thu, 28 Jun 2012 16:31:57 +0000 (16:31 +0000)
committerRoland McGrath <roland@gnu.org>
Thu, 28 Jun 2012 16:31:57 +0000 (16:31 +0000)
* ld-arm/arm-elf.exp (armelftests_common): Add a test that gets
arm-lib.so built so armeabitests_common can use it.
(unresolved-1-dyn): Exclude this test for [istarget "arm*-*-nacl*"].

ld/testsuite/ChangeLog
ld/testsuite/ld-arm/arm-elf.exp

index d044f48..ecd5610 100644 (file)
@@ -1,3 +1,9 @@
+2012-06-28  Roland McGrath  <mcgrathr@google.com>
+
+       * ld-arm/arm-elf.exp (armelftests_common): Add a test that gets
+       arm-lib.so built so armeabitests_common can use it.
+       (unresolved-1-dyn): Exclude this test for [istarget "arm*-*-nacl*"].
+
 2012-06-26  Roland McGrath  <mcgrathr@google.com>
 
        * ld-elf/ehdr_start.d (target): Add *-*-nacl*.
index b6eb3d3..3f6f1a0 100644 (file)
@@ -268,6 +268,9 @@ set armelftests_common {
     {"abs call" "-T arm.ld" "" {abs-call-1.s}
      {{objdump -d abs-call-1.d}}
      "abs-call-1"}
+    {"Simple non-PIC shared library (no PLT check)" "-shared" "" {arm-lib.s}
+     {{objdump -Rw arm-lib.r}}
+     "arm-lib.so"}
 }
 
 set armelftests_nonacl {
@@ -758,5 +761,7 @@ run_dump_test "attr-merge-vfp-6"
 run_dump_test "attr-merge-vfp-6r"
 run_dump_test "attr-merge-incompatible"
 run_dump_test "unresolved-1"
-run_dump_test "unresolved-1-dyn"
+if { ![istarget "arm*-*-nacl*"] } {
+    run_dump_test "unresolved-1-dyn"
+}
 run_dump_test "gc-hidden-1"