aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2003-08-22 21:36:00 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2003-08-22 21:36:00 +0000
commit7741796c2b4fe46f33054ab4d70957fff6f94d25 (patch)
tree650cc49322712b3ab50b41b1d0a1f416dd13a38f /gcc
parent74487c57fe04b30e8fd01fd3afb9ad1895388980 (diff)
downloadgcc-7741796c2b4fe46f33054ab4d70957fff6f94d25.zip
gcc-7741796c2b4fe46f33054ab4d70957fff6f94d25.tar.gz
gcc-7741796c2b4fe46f33054ab4d70957fff6f94d25.tar.bz2
* gcc.misc-tests/linkage.exp: Add logic for ia64-hp-hpux*.
From-SVN: r70703
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.misc-tests/linkage.exp5
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 7945851..30774a2 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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>
diff --git a/gcc/testsuite/gcc.misc-tests/linkage.exp b/gcc/testsuite/gcc.misc-tests/linkage.exp
index 496c63c..7d2e175 100644
--- a/gcc/testsuite/gcc.misc-tests/linkage.exp
+++ b/gcc/testsuite/gcc.misc-tests/linkage.exp
@@ -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 }