[MIPS/LD/testsuite] Skip o32 flags check on mips*-*-irix*

ld/ChangeLog:

	* testsuite/ld-mips-elf/mips-elf-flags.exp (good_combination):
	Skip o32 flags checking if target is mips*-*-irix*.
This commit is contained in:
Chenghua Xu 2018-08-29 17:12:44 +08:00
parent 160fc977b6
commit bc672693cc
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-08-29 Chenghua Xu <paul.hua.gm@gmail.com>
* testsuite/ld-mips-elf/mips-elf-flags.exp (good_combination):
Skip o32 flags checking if target is mips*-*-irix*.
2018-08-27 H.J. Lu <hongjiu.lu@intel.com>
* testsuite/ld-i386/i386.exp: Run property-x86-5.

View File

@ -127,7 +127,12 @@ proc good_combination {arglist flags args} {
foreach flag $flags {
if {[lsearch -exact $gotflags $flag] < 0} {
set failed 1
# The mips*-*-irix* not use o32 flags.
if {[istarget mips*-*-irix*] && $flag == "o32"} {
set failed 0
} else {
set failed 1
}
}
}