This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] [MIPS/LD/testsuite] Skip o32 flags check on mips*-*-irix*
- From: Chenghua Xu <paulhua at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 29 Aug 2018 09:16:20 -0000
- Subject: [binutils-gdb] [MIPS/LD/testsuite] Skip o32 flags check on mips*-*-irix*
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bc672693ccec6ef2faa057726b06e9515339bb74
commit bc672693ccec6ef2faa057726b06e9515339bb74
Author: Chenghua Xu <paul.hua.gm@gmail.com>
Date: Wed Aug 29 17:12:44 2018 +0800
[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*.
Diff:
---
ld/ChangeLog | 5 +++++
ld/testsuite/ld-mips-elf/mips-elf-flags.exp | 7 ++++++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 0cf02ab..e3eb4fb 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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.
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
+ }
}
}