This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix for gcc.dg/ppc-sdata-1.c testsuite failures


"Ben Elliston" <bje@au1.ibm.com> writes:

> The following patch fixes the testsuite failures for the ppc-sdata-1.c
> test case on powerpc-linux.  According to Alan Modra, the linker now
> decides which register to use to access sdata and patches the object
> code accordingly.  In case other PowerPC ports don't do this, I've
> modified the test to accept the original register numbers, too.
> 
> Okay for mainline?

This is OK.

> 2004-10-15  Ben Elliston  <bje@au.ibm.com>
> 
> 	* gcc.dg/ppc-sdata-1.c: Update to consider the possibility of the
> 	compiler referring to register 0 when accessing sdata.  The linker
> 	now patches things up.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]