diff options
author | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-15 12:23:40 +0000 |
---|---|---|
committer | uweigand <uweigand@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-02-15 12:23:40 +0000 |
commit | fcda08ff1055c1da56dff93483583950482f0e27 (patch) | |
tree | b782d108c6fb2a0efd0a7a7178b2d1ebc30d4a72 /gcc/testsuite/gcc.misc-tests | |
parent | 21cc5e1afbd9df9216f7a36cbacaa996ee47f48f (diff) | |
download | gcc-fcda08ff1055c1da56dff93483583950482f0e27.tar.gz |
2005-02-15 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.misc-tests/linkage.exp (s390): Check for 64bit added.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95063 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/gcc.misc-tests')
-rw-r--r-- | gcc/testsuite/gcc.misc-tests/linkage.exp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/linkage.exp b/gcc/testsuite/gcc.misc-tests/linkage.exp index 375378d0f16..ade04113c13 100644 --- a/gcc/testsuite/gcc.misc-tests/linkage.exp +++ b/gcc/testsuite/gcc.misc-tests/linkage.exp @@ -48,11 +48,14 @@ if [isnative] then { set native_cflags "-xarch=v9" } } - if [istarget "s390x-*-linux*"] { + if [istarget "s390*-*-linux*"] { set file_string [exec file "linkage-x.o"] if [ string match "*32-bit*" $file_string ] { set native_cflags "-m31" } + if [ string match "*64-bit*" $file_string ] { + set native_cflags "-m64" + } } elseif [istarget "x86_64-*-linux*"] { set file_string [exec file "linkage-x.o"] if [ string match "*32-bit*" $file_string ] { |