aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-10-07 13:57:29 +0000
committerAlan Modra <amodra@gmail.com>2000-10-07 13:57:29 +0000
commitdc149a6d176b56277c4cdeb2147f9f6de1b2dda9 (patch)
treeb338682c96de8874c9a24109b82db2a715b7bf01 /ld/testsuite/ld-scripts
parentfc8c40a05733810ea57525e24ee0297663933239 (diff)
downloadgdb-dc149a6d176b56277c4cdeb2147f9f6de1b2dda9.zip
gdb-dc149a6d176b56277c4cdeb2147f9f6de1b2dda9.tar.gz
gdb-dc149a6d176b56277c4cdeb2147f9f6de1b2dda9.tar.bz2
* ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r--ld/testsuite/ld-scripts/phdrs.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/testsuite/ld-scripts/phdrs.exp b/ld/testsuite/ld-scripts/phdrs.exp
index b845d68..f52bc93 100644
--- a/ld/testsuite/ld-scripts/phdrs.exp
+++ b/ld/testsuite/ld-scripts/phdrs.exp
@@ -31,7 +31,8 @@ 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*-*-*] || [istarget "ia64*-*-*"] } then {
+if { [istarget alpha*-*-*] || [istarget "ia64*-*-*"]
+ || [istarget "hppa*64*-*-*"] } 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-.*"
}