This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] fix some ld testsuite regressions for arm-nacl targets
- From: Roland McGrath <mcgrathr at google dot com>
- To: binutils at sourceware dot org
- Date: Tue, 22 May 2012 13:04:09 -0700
- Subject: [PATCH] fix some ld testsuite regressions for arm-nacl targets
I noticed two failures in the ld testsuite in a --target=arm-nacl build
that I had not gotten before. I think in both cases I just failed to
notice because I had not always removed ld/tmpdir between test runs,
and these are tests that rely on files left there by other tests run
earlier in the sequence.
Ok for trunk?
Thanks,
Roland
ld/testsuite/
2012-05-22 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*"].
diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp
index b6eb3d3..3f6f1a0 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"