diff options
author | Andreas Krebbel <krebbel1@de.ibm.com> | 2005-02-15 12:23:40 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@gcc.gnu.org> | 2005-02-15 12:23:40 +0000 |
commit | ab71324aa4f52fb6633a36a074ac76e3f728bdc6 (patch) | |
tree | b782d108c6fb2a0efd0a7a7178b2d1ebc30d4a72 /gcc | |
parent | 934677f9cc4ff525b7139251b0a67586d1ac4e80 (diff) | |
download | gcc-ab71324aa4f52fb6633a36a074ac76e3f728bdc6.zip gcc-ab71324aa4f52fb6633a36a074ac76e3f728bdc6.tar.gz gcc-ab71324aa4f52fb6633a36a074ac76e3f728bdc6.tar.bz2 |
linkage.exp (s390): Check for 64bit added.
2005-02-15 Andreas Krebbel <krebbel1@de.ibm.com>
* gcc.misc-tests/linkage.exp (s390): Check for 64bit added.
From-SVN: r95063
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.misc-tests/linkage.exp | 5 |
2 files changed, 8 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 308cbe9..44e8ef2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2005-02-15 Andreas Krebbel <krebbel1@de.ibm.com> + + * gcc.misc-tests/linkage.exp (s390): Check for 64bit added. + 2005-02-14 Diego Novillo <dnovillo@redhat.com> PR tree-optimization/19853 diff --git a/gcc/testsuite/gcc.misc-tests/linkage.exp b/gcc/testsuite/gcc.misc-tests/linkage.exp index 375378d..ade0411 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 ] { |