From: Roland McGrath Date: Thu, 28 Jun 2012 16:31:57 +0000 (+0000) Subject: ld/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dc60a23811c4d144c0a1242d30c3f64e1d13e941;p=binutils-gdb.git ld/testsuite/ * 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*"]. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index d044f485532..ecd561079db 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2012-06-28 Roland McGrath + + * 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 * ld-elf/ehdr_start.d (target): Add *-*-nacl*. diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp index b6eb3d37270..3f6f1a0bc11 100644 --- a/ld/testsuite/ld-arm/arm-elf.exp +++ b/ld/testsuite/ld-arm/arm-elf.exp @@ -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"