This is the mail archive of the binutils-cvs@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]

[binutils-gdb] MIPS/LD/testsuite: Correct LD emulations for `mips*-*-kfreebsd*-gnu'


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dfdad367e475ae5ba88d9517cf95092df8e71ce0

commit dfdad367e475ae5ba88d9517cf95092df8e71ce0
Author: Maciej W. Rozycki <macro@mips.com>
Date:   Tue Apr 3 01:16:44 2018 -0700

    MIPS/LD/testsuite: Correct LD emulations for `mips*-*-kfreebsd*-gnu'
    
    Complement commit 86b24e15c45b ("MIPS/LD/testsuite: Correct
    comm-data.exp test ABI/emul/endian arrangement") and set LD emulations
    correctly for `mips*-*-kfreebsd*-gnu' targets in comm-data.exp, removing
    test suite failures:
    
    FAIL: MIPS o32/copyreloc common symbol override test (auxiliary shared object build)
    FAIL: MIPS o32/copyreloc common symbol override test
    FAIL: MIPS o32/nocopyreloc common symbol override test (auxiliary shared object build)
    FAIL: MIPS o32/nocopyreloc common symbol override test
    
    	ld/
    	* testsuite/ld-mips-elf/comm-data.exp: Correct support for
    	`mips*-*-kfreebsd*-gnu' targets.

Diff:
---
 ld/ChangeLog                           | 5 +++++
 ld/testsuite/ld-mips-elf/comm-data.exp | 5 ++++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/ld/ChangeLog b/ld/ChangeLog
index 6b8ffdb..fbdabcc 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2018-04-03  Maciej W. Rozycki  <macro@mips.com>
+
+	* testsuite/ld-mips-elf/comm-data.exp: Correct support for
+	`mips*-*-kfreebsd*-gnu' targets.
+
 2018-03-23  Renlin Li  <renlin.li@arm.com>
 
 	PR ld/22970
diff --git a/ld/testsuite/ld-mips-elf/comm-data.exp b/ld/testsuite/ld-mips-elf/comm-data.exp
index 109e8ce..b50e1fd 100644
--- a/ld/testsuite/ld-mips-elf/comm-data.exp
+++ b/ld/testsuite/ld-mips-elf/comm-data.exp
@@ -39,9 +39,11 @@ set has_n32abi [expr [istarget *-img-elf*] \
 		     || [istarget *-sde-elf*] \
 		     || [istarget *-*-freebsd*] \
 		     || [istarget *-*-irix6*] \
+		     || [istarget *-*-kfreebsd*-gnu] \
 		     || [istarget *-*-linux*]]
 set has_n64abi [expr [istarget *-*-freebsd*] \
 		     || [istarget *-*-irix6*] \
+		     || [istarget *-*-kfreebsd*-gnu] \
 		     || [istarget *-*-linux*] \
 		     || [istarget *-*-netbsd*] \
 		     || [istarget *-*-openbsd*]]
@@ -62,7 +64,8 @@ if {[istarget *-img-elf*] \
 	set abi_ldemul(n32) elf32btsmipn32
 	set abi_ldemul(n64) elf64btsmip
     }
-} elseif { [istarget *-*-freebsd*] } {
+} elseif { [istarget *-*-freebsd*] \
+	   || [istarget *-*-kfreebsd*-gnu] } {
     if [istarget *el-*-*] {
 	set abi_ldemul(o32) elf32ltsmip_fbsd
 	set abi_ldemul(n32) elf32ltsmipn32_fbsd


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