* ld-powerpc/powerpc.exp: Move relaxing and relocatable relaxing

tests from ppc64elftest to ppcelftest and pass -a32 to assembler.
This commit is contained in:
Andreas Schwab 2009-08-23 14:38:31 +00:00
parent 61186d578d
commit 9853c09956
2 changed files with 9 additions and 6 deletions

View File

@ -1,5 +1,8 @@
2009-08-23 Andreas Schwab <schwab@linux-m68k.org>
* 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.

View File

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