This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: XFAIL srec test for powerpc-eabi
On Fri, Aug 03, 2007 at 12:43:35PM +0100, Nick Clifton wrote:
> >Actually, OK to commit with powerpc*-*-* instead? I see the same
> >failure on GNU/Linux.
>
> Sure, please do.
I don't see failures on powerpc-linux, except now due to an XPASS..
Daniel, this ought to fix the original failure. Would you mind
checking with your toolchain?
* ld-srec/srec.exp: Revert 2007-08-03. Instead pass -G 0.
Index: ld/testsuite/ld-srec/srec.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-srec/srec.exp,v
retrieving revision 1.26
diff -u -p -r1.26 srec.exp
--- ld/testsuite/ld-srec/srec.exp 3 Aug 2007 12:53:47 -0000 1.26
+++ ld/testsuite/ld-srec/srec.exp 16 Aug 2007 01:52:12 -0000
@@ -263,6 +263,11 @@ proc run_srec_test { test objs } {
setup_xfail "thumb-*-*"
}
+ # Prevent PowerPC ELF linker putting anything in small data.
+ if [istarget powerpc*-*-*] {
+ set flags "$flags -G 0"
+ }
+
# PowerPC EABI code calls __eabi.
if [istarget powerpc*-*-eabi*] {
set flags "$flags --defsym __eabi=0"
@@ -374,10 +379,6 @@ setup_xfail "thumb-*-pe*"
setup_xfail "thumb-*-elf*"
setup_xfail "arm*-*-linux*"
-# The S-record linker doesn't put common symbols in small data
-# the way the ELF linker does.
-setup_xfail "powerpc*-*-*"
-
# The S-record linker doesn't include the .{zda} sections.
setup_xfail "v850*-*-elf"
--
Alan Modra
Australia Development Lab, IBM