aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
authorChenghua Xu <paul.hua.gm@gmail.com>2018-08-29 17:12:44 +0800
committerChenghua Xu <paul.hua.gm@gmail.com>2018-08-29 17:12:44 +0800
commitbc672693ccec6ef2faa057726b06e9515339bb74 (patch)
treebd3ab238b1bb0940a224bb0b5ae9380f849c1960 /ld/testsuite
parent160fc977b6f33e5ef51f6c1f3cdcb57965c522c8 (diff)
downloadgdb-bc672693ccec6ef2faa057726b06e9515339bb74.zip
gdb-bc672693ccec6ef2faa057726b06e9515339bb74.tar.gz
gdb-bc672693ccec6ef2faa057726b06e9515339bb74.tar.bz2
[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*.
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ld-mips-elf/mips-elf-flags.exp7
1 files changed, 6 insertions, 1 deletions
diff --git a/ld/testsuite/ld-mips-elf/mips-elf-flags.exp b/ld/testsuite/ld-mips-elf/mips-elf-flags.exp
index de97939..0a4bdf1 100644
--- a/ld/testsuite/ld-mips-elf/mips-elf-flags.exp
+++ b/ld/testsuite/ld-mips-elf/mips-elf-flags.exp
@@ -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
+ }
}
}