This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[committed] 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.
---
 ld/testsuite/ld-mips-elf/mips-elf.exp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: binutils/ld/testsuite/ld-mips-elf/mips-elf.exp
===================================================================
--- binutils.orig/ld/testsuite/ld-mips-elf/mips-elf.exp	2018-07-11 23:41:13.000000000 +0100
+++ binutils/ld/testsuite/ld-mips-elf/mips-elf.exp	2018-07-11 23:43:46.948802685 +0100
@@ -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" \


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]