From 76cb62b0033357959af72bc655811e63f3c017e2 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 8 Apr 2004 00:51:37 +0000 Subject: * 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. --- ld/testsuite/ld-scripts/size.exp | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'ld/testsuite/ld-scripts/size.exp') 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 -- cgit v1.1