aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Billinghurst <David.Billinghurst@riotinto.com>2001-05-30 13:32:33 -0700
committerRichard Henderson <rth@gcc.gnu.org>2001-05-30 13:32:33 -0700
commit42a9e4e4718d3811d94471fddb6ce9c9197c30b9 (patch)
tree74f7295cf614225cd9150f1b8c9d6102c9ea7a05
parente944097aaeb952d79d27529ddf304282aa66bca7 (diff)
downloadgcc-42a9e4e4718d3811d94471fddb6ce9c9197c30b9.zip
gcc-42a9e4e4718d3811d94471fddb6ce9c9197c30b9.tar.gz
gcc-42a9e4e4718d3811d94471fddb6ce9c9197c30b9.tar.bz2
linkage.exp: Pass appropriate flags to native compiler for irix6.2
* gcc.misc-tests/linkage.exp: Pass appropriate flags to native compiler for irix6.2 From-SVN: r42719
-rw-r--r--gcc/testsuite/ChangeLog9
-rw-r--r--gcc/testsuite/gcc.misc-tests/linkage.exp6
2 files changed, 12 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index c5126b7..183ed03 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,11 +1,16 @@
+2001-05-30 David.Billinghurst <David.Billinghurst@riotinto.com>
+
+ * gcc.misc-tests/linkage.exp: Pass appropriate flags to native
+ compiler for irix6.2
+
2001-05-30 Nathan Sidwell <nathan@codesourcery.com>
* g++.old-deja/g++.other/optimize3.C: New file.
2001-05-29 Jeffrey Oldham <oldham@codesourcery.com>
- * gcc.c-torture/compile/20010518-2.x: New file to compile, not
- assemble.
+ * gcc.c-torture/compile/20010518-2.x: New file to compile, not
+ assemble.
2001-05-26 Nathan Sidwell <nathan@codesourcery.com>
diff --git a/gcc/testsuite/gcc.misc-tests/linkage.exp b/gcc/testsuite/gcc.misc-tests/linkage.exp
index 80d678a..47cd2e3 100644
--- a/gcc/testsuite/gcc.misc-tests/linkage.exp
+++ b/gcc/testsuite/gcc.misc-tests/linkage.exp
@@ -28,9 +28,13 @@ if [isnative] then {
# Need to ensure ABI for native compiler matches gcc
set native_cflags ""
if [istarget "mips-sgi-irix6*"] {
- if [ string match "*64*" [exec file "linkage-x.o"] ] {
+ set file_string [exec file "linkage-x.o"]
+ if [ string match "*64*" $file_string ] {
set native_cflags "-64"
}
+ if [ string match "N32" $file_string ] {
+ set native_cflags "-n32"
+ }
}
catch { exec rm -f linkage-y.o }