[ppc] fix a couple of relax bugs
Nathan Sidwell
nathan@codesourcery.com
Mon Aug 24 02:05:00 GMT 2009
Andreas Schwab wrote:
> Nathan Sidwell <nathan@codesourcery.com> writes:
>
>> Index: ld/testsuite/ld-powerpc/powerpc.exp
>> ===================================================================
>> RCS file: /cvs/src/src/ld/testsuite/ld-powerpc/powerpc.exp,v
>> retrieving revision 1.26
>> diff -c -3 -p -r1.26 powerpc.exp
>> *** ld/testsuite/ld-powerpc/powerpc.exp 27 May 2009 13:31:24 -0000 1.26
>> --- ld/testsuite/ld-powerpc/powerpc.exp 10 Aug 2009 11:26:49 -0000
>> *************** set ppc64elftests {
>> *** 158,163 ****
>> --- 158,169 ----
>> "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"}
>
> The tests fail when configured for powerpc64. Tested on
> powerpc{,64}-linux and checked in as obvious.
thanks!
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
More information about the Binutils
mailing list