OSDN Git Service

* gcc.misc-tests/linkage.exp: Add logic for ia64-hp-hpux*.
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Aug 2003 21:36:00 +0000 (21:36 +0000)
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Aug 2003 21:36:00 +0000 (21:36 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70703 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.misc-tests/linkage.exp

index 7945851..30774a2 100644 (file)
@@ -1,5 +1,9 @@
 2003-08-22  Mark Mitchell  <mark@codesourcery.com>
 
+       * gcc.misc-tests/linkage.exp: Add logic for ia64-hp-hpux*.
+
+2003-08-22  Mark Mitchell  <mark@codesourcery.com>
+
        * g++.dg/other/packed1.C: Add XFAIL marker for ia64-hp-hpux*.
 
 2003-08-21  Mark Mitchell  <mark@codesourcery.com>
index 496c63c..7d2e175 100644 (file)
@@ -53,6 +53,11 @@ if [isnative] then {
            if [ string match "*32-bit*" $file_string ] {
                set native_cflags "-m31"
            }
+       } elseif [istarget "ia64-hp-hpux*"] {
+           set file_string [exec file "linkage-x.o"]
+           if [ string match "*ELF-64*" $file_string ] {
+               set native_cflags "+DD64"
+           }
        }
 
        catch { exec rm -f linkage-y.o }