This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Fix for gcc.dg/ppc-sdata-1.c testsuite failures
- From: Geoffrey Keating <geoffk at geoffk dot org>
- To: "Ben Elliston" <bje at au1 dot ibm dot com>
- Cc: amodra at bigpond dot net dot au, gcc-patches at gcc dot gnu dot org
- Date: 15 Oct 2004 11:59:50 -0700
- Subject: Re: Fix for gcc.dg/ppc-sdata-1.c testsuite failures
- References: <87oej47ckz.fsf@au.ibm.com>
"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.