From 9853c09956087388c0224a72efa57225503e8dfc Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Sun, 23 Aug 2009 14:38:31 +0000 Subject: [PATCH] * ld-powerpc/powerpc.exp: Move relaxing and relocatable relaxing tests from ppc64elftest to ppcelftest and pass -a32 to assembler. --- ld/testsuite/ChangeLog | 3 +++ ld/testsuite/ld-powerpc/powerpc.exp | 12 ++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 87ef48e95ee..d57d2f0fcef 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2009-08-23 Andreas Schwab + * ld-powerpc/powerpc.exp: Move relaxing and relocatable relaxing + tests from ppc64elftest to ppcelftest and pass -a32 to assembler. + * ld-powerpc/relax.d: Fix whitespace. * ld-powerpc/relaxr.d: Likewise. diff --git a/ld/testsuite/ld-powerpc/powerpc.exp b/ld/testsuite/ld-powerpc/powerpc.exp index edfab3ff77c..26eaac735fa 100644 --- a/ld/testsuite/ld-powerpc/powerpc.exp +++ b/ld/testsuite/ld-powerpc/powerpc.exp @@ -124,6 +124,12 @@ set ppcelftests { {} "sdalib.so"} {"Dynamic application with SDA" "-melf32ppc tmpdir/sdalib.so" "-a32" {sdadyn.s} {{objdump -R sdadyn.d}} "sdadyn"} + {"relaxing" "-melf32ppc --relax -Ttext=0 --defsym far=0x80001234 --defsym near=0x00004320" "-a32" "relax.s" + {{objdump -dr relax.d}} + "relax"} + {"relocatable relaxing" "-melf32ppc -r --relax" "-a32" "relax.s" + {{objdump -dr relaxr.d}} + "relax"} } set ppc64elftests { @@ -158,12 +164,6 @@ set ppc64elftests { "tlsmark"} {"sym@tocbase" "-shared -melf64ppc" "-a64" {symtocbase-1.s symtocbase-2.s} {{objdump -dj.data symtocbase.d}} "symtocbase.so"} - {"relaxing" "-melf32ppc --relax -Ttext=0 --defsym far=0x80001234 --defsym near=0x00004320" "" "relax.s" - {{objdump -dr relax.d}} - "relax"} - {"relocatable relaxing" "-melf32ppc -r --relax" "" "relax.s" - {{objdump -dr relaxr.d}} - "relax"} } -- 2.30.2