aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2000-04-21 22:17:28 +0000
committerJim Wilson <wilson@tuliptree.org>2000-04-21 22:17:28 +0000
commitb32711aa6a4284f54a5293c6cd62692f58401084 (patch)
treea989a2f4fcf7d20f0b327253f14feb71124dc588 /ld
parent91b1cc5d0b006d4036fa32b68688e55f4ac860e5 (diff)
downloadgdb-b32711aa6a4284f54a5293c6cd62692f58401084.zip
gdb-b32711aa6a4284f54a5293c6cd62692f58401084.tar.gz
gdb-b32711aa6a4284f54a5293c6cd62692f58401084.tar.bz2
A misc IA-64 ELF patch I missed in the first pass.
* testsuite/ld-scripts/phdrs.exp: IA-64 is 64-bit ELF too.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-scripts/phdrs.exp2
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index c07f18e..ae88ca1 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+Fri Apr 21 15:16:07 2000 Richard Henderson <rth@cygnus.com>
+
+ * testsuite/ld-scripts/phdrs.exp: IA-64 is 64-bit ELF too.
+
2000-04-12 Alan Modra <alan@linuxcare.com.au>
* ld-selective/3.cc (_start): Add cheat for gcc-2.95.2 failure.
diff --git a/ld/testsuite/ld-scripts/phdrs.exp b/ld/testsuite/ld-scripts/phdrs.exp
index 5a37fa0..b845d68 100644
--- a/ld/testsuite/ld-scripts/phdrs.exp
+++ b/ld/testsuite/ld-scripts/phdrs.exp
@@ -31,7 +31,7 @@ set phdrs_regexp \
".*Program Header:.*PHDR *off *0x00*34 *vaddr *0x00*80034 *paddr *0x00*80034.*filesz *0x0\[0-9a-f\]* *memsz *0x0\[0-9a-f\]* flags r--.*LOAD *off *0x00* *vaddr *0x00*80000 *paddr *0x00*80000.*filesz *0x00*\[0-9a-f\]* *memsz *0x0\[0-9a-f\]* *flags r-x.*LOAD *off *0x0\[0-9a-f\]* *vaddr *0x00*80*\[0-9a-f\]* *paddr *0x00*80*\[0-9a-f\]*.*filesz *0x0\[0-9a-f\]* *memsz *0x0\[0-9a-f\]* *flags *rw-.*"
# On a 64 bit ELF format, we need different numbers.
-if { [istarget alpha*-*-*] } then {
+if { [istarget alpha*-*-*] || [istarget "ia64*-*-*"] } then {
set phdrs_regexp \
".*Program Header:.*PHDR *off *0x00*40 *vaddr *0x00*80040 *paddr *0x00*80040.*filesz *0x0\[0-9a-f\]* *memsz *0x0\[0-9a-f\]* flags r--.*LOAD *off *0x00* *vaddr *0x00*80000 *paddr *0x00*80000.*filesz *0x00*\[0-9a-f\]* *memsz *0x0\[0-9a-f\]* *flags r-x.*LOAD *off *0x0\[0-9a-f\]* *vaddr *0x00*80*\[0-9a-f\]* *paddr *0x00*80*\[0-9a-f\]*.*filesz *0x0\[0-9a-f\]* *memsz *0x0\[0-9a-f\]* *flags *rw-.*"
}