diff options
author | Alan Modra <amodra@gmail.com> | 2001-08-27 10:49:55 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-08-27 10:49:55 +0000 |
commit | ad9f78d1a8c02d38a9120c60e281d8f14185f007 (patch) | |
tree | ee54f2a31b616e64b9e362641d4f1ad86ee2ca32 /ld/testsuite/ld-scripts | |
parent | 5c67d4bb595ec330107c1768dda0470459ccfc04 (diff) | |
download | gdb-ad9f78d1a8c02d38a9120c60e281d8f14185f007.zip gdb-ad9f78d1a8c02d38a9120c60e281d8f14185f007.tar.gz gdb-ad9f78d1a8c02d38a9120c60e281d8f14185f007.tar.bz2 |
* ld-checks/checks.exp: .lcomm is incompatible with ppc coff.
* ld-scripts/cross1.t: Add .toc section.
* ld-scripts/cross2.t: Likewise.
* ld-scripts/phdrs.exp: powerpc64 is 64 bit.
* ld-srec/srec.exp: xfail powerpc64
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r-- | ld/testsuite/ld-scripts/cross1.t | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/cross2.t | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/phdrs.exp | 3 |
3 files changed, 4 insertions, 2 deletions
diff --git a/ld/testsuite/ld-scripts/cross1.t b/ld/testsuite/ld-scripts/cross1.t index e1948c9..7636b78 100644 --- a/ld/testsuite/ld-scripts/cross1.t +++ b/ld/testsuite/ld-scripts/cross1.t @@ -1,6 +1,7 @@ NOCROSSREFS ( .text .data ) SECTIONS { + .toc : { *(.toc) } .text : { tmpdir/cross1.o } .data : { tmpdir/cross2.o } } diff --git a/ld/testsuite/ld-scripts/cross2.t b/ld/testsuite/ld-scripts/cross2.t index 4dd7ddd..a0cdcbb 100644 --- a/ld/testsuite/ld-scripts/cross2.t +++ b/ld/testsuite/ld-scripts/cross2.t @@ -2,5 +2,5 @@ NOCROSSREFS ( .text .data ) SECTIONS { .text : { *(.text) *(.text.*) *(.pr) } - .data : { *(.data) *(.data.*) *(.sdata) *(.rw) *(.tc0) *(.tc) } + .data : { *(.data) *(.data.*) *(.sdata) *(.rw) *(.tc0) *(.tc) *(.toc) } } diff --git a/ld/testsuite/ld-scripts/phdrs.exp b/ld/testsuite/ld-scripts/phdrs.exp index 1a512a8..4c142c6 100644 --- a/ld/testsuite/ld-scripts/phdrs.exp +++ b/ld/testsuite/ld-scripts/phdrs.exp @@ -49,7 +49,8 @@ set phdrs_regexp \ # On a 64 bit ELF format, we need different numbers. if { [istarget alpha*-*-*] || [istarget "ia64*-*-*"] || [istarget "hppa*64*-*-*"] || [istarget "x86_64*-*-*"] - || [istarget "s390x*-*-*"] || [istarget "sparc64*-*-*"]} then { + || [istarget "s390x*-*-*"] || [istarget "sparc64*-*-*"] + || [istarget "powerpc64*-*-*"] || [istarget "*-*-*elf64*"] } then { set phdrs_regexp \ ".*Program Header:.*PHDR *off *0x00*40 *vaddr *0x00*800040 *paddr *0x00*800040.*filesz *0x0\[0-9a-f\]* *memsz *0x0\[0-9a-f\]* flags r--.*LOAD *off *0x00* *vaddr *0x00*800000 *paddr *0x00*800000.*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-.*" } |