diff options
author | Alan Modra <amodra@gmail.com> | 2004-04-08 00:51:37 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-04-08 00:51:37 +0000 |
commit | 76cb62b0033357959af72bc655811e63f3c017e2 (patch) | |
tree | daf1752a9196d41e1591e9b59ae743992dc8e7d3 /ld/testsuite/ld-scripts/size.exp | |
parent | 343d4b76f9654dca24592b2e765f4a4b64428ac9 (diff) | |
download | gdb-76cb62b0033357959af72bc655811e63f3c017e2.zip gdb-76cb62b0033357959af72bc655811e63f3c017e2.tar.gz gdb-76cb62b0033357959af72bc655811e63f3c017e2.tar.bz2 |
* ld-scripts/align.exp: Don't run on aix.
* ld-scripts/assert.s: Remove comment.
* ld-scripts/data.s: Likewise.
* ld-scripts/data.t: Set start address to allow for aout headers.
Make first LONG pc-relative.
* ld-scripts/data.d: Update.
* ld-scripts/defined2.d: Allow other random syms.
* ld-scripts/defined3.d: Likewise.
* ld-scripts/provide-1.s: Pad section.
* ld-scripts/provide-1.t: Set .data address and align.
* ld-scripts/provide-1.d: Update.
* ld-scripts/provide-2.s: Pad section.
* ld-scripts/provide-2.d: Allow random trailing syms.
* ld-scripts/provide-3.s: Pad section.
* ld-scripts/provide-3.d: Fix typos.
* ld-scripts/provide.exp: Don't run on aix.
* ld-scripts/size-1.s: Simplify test.
* ld-scripts/size-1.t: Rewrite.
* ld-scripts/size-1.d: Update.
* ld-scripts/size-2.s: Simplify.
* ld-scripts/size-2.t: Set start address. Set exe flag on image.
* ld-scripts/size-2.d: Update.
* ld-scripts/size.exp: Don't run on aix. Run size-2 on all elf
targets except mips.
Diffstat (limited to 'ld/testsuite/ld-scripts/size.exp')
-rw-r--r-- | ld/testsuite/ld-scripts/size.exp | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/ld/testsuite/ld-scripts/size.exp b/ld/testsuite/ld-scripts/size.exp index 5fff2bd..42e4e47 100644 --- a/ld/testsuite/ld-scripts/size.exp +++ b/ld/testsuite/ld-scripts/size.exp @@ -16,8 +16,20 @@ # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # +if [istarget "rs6000-*-aix*"] { + # Target maps .text and .data to other sections. + return +} + run_dump_test size-1 -if { [istarget "*-*-elf*"] } { - run_dump_test size-2 +if ![is_elf_format] { + return } + +if [istarget "mips*-*-*"] { + # MIPS inserts a REGINFO PHDR + return +} + +run_dump_test size-2 |