MIPS/LD/testsuite: Correct LD emulations for `mips*-*-kfreebsd*-gnu'

Complement commit 86b24e15c4 ("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.
This commit is contained in:
Maciej W. Rozycki 2018-04-03 01:16:44 -07:00
parent bce5a025d2
commit dfdad367e4
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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