[binutils-gdb] MIPS/LD/testsuite: Limit reloc 6 tests to DSO targets
Maciej W.Rozycki
macro@sourceware.org
Thu Jul 12 19:02:00 GMT 2018
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f880fcab1ae7713037ec85a56268f853fe6ca835
commit f880fcab1ae7713037ec85a56268f853fe6ca835
Author: Maciej W. Rozycki <macro@mips.com>
Date: Thu Jul 12 20:01:44 2018 +0100
MIPS/LD/testsuite: Limit reloc 6 tests to DSO targets
Complement commit 500c05ddbe98 ("MIPS/ld/testsuite: Limit export class
call reloc tests to DSO targets") and also check for target's shared
library support in determining whether to run reloc 6 tests, which
require it. No changes in results as all targets currently enabled for
NewABI testing support shared libraries.
ld/
* testsuite/ld-mips-elf/mips-elf.exp: Limit reloc 6 tests to
shared library targets.
Diff:
---
ld/ChangeLog | 5 +++++
ld/testsuite/ld-mips-elf/mips-elf.exp | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 9eb2fe0..042c358 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2018-07-12 Maciej W. Rozycki <macro@mips.com>
+
+ * testsuite/ld-mips-elf/mips-elf.exp: Limit reloc 6 tests to
+ shared library targets.
+
2018-07-11 Maciej W. Rozycki <macro@mips.com>
* testsuite/ld-mips-elf/tlsdyn-o32.d: Update test for dynamic
diff --git a/ld/testsuite/ld-mips-elf/mips-elf.exp b/ld/testsuite/ld-mips-elf/mips-elf.exp
index ba3f161..64d71c61 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf.exp
@@ -625,7 +625,7 @@ if {$has_newabi} {
}
run_dump_test "reloc-4"
run_dump_test "reloc-5"
-if { $has_newabi } {
+if { $has_newabi && [check_shared_lib_support] } {
run_ld_link_tests [list \
[list \
"reloc test 6a" \
More information about the Binutils-cvs
mailing list