* ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too

This commit is contained in:
Alan Modra 2000-10-07 13:57:29 +00:00
parent fc8c40a057
commit dc149a6d17
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-10-07 Alan Modra <alan@linuxcare.com.au>
* ld-scripts/phdrs.exp: hppa*64*-*-* is 64-bit ELF too.
2000-10-02 Alan Modra <alan@linuxcare.com.au>
* ld-scripts/weak.exp: Don't set $global$ for hppa-elf any more.

View File

@ -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-.*"
}