* gcc.misc-tests/linkage.exp: Add logic for ia64-hp-hpux*.
authorMark Mitchell <mark@codesourcery.com>
Fri, 22 Aug 2003 21:36:00 +0000 (21:36 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Fri, 22 Aug 2003 21:36:00 +0000 (21:36 +0000)
From-SVN: r70703

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

index 7945851a6c187aadb25555d586c7c06b0e32e57d..30774a20330da31fa6afbc80e2f12c0118e06878 100644 (file)
@@ -1,3 +1,7 @@
+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*.
index 496c63c7a54f69eaf766948c1ef8279af9edd92b..7d2e17589fa8116fb75cd98865e3d1f1bac5621c 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 }