diff options
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 ] { |