This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Re: [PATCH, testsuite] Enable automatic overlays for compat tests on SPU
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Ulrich Weigand <uweigand at de dot ibm dot com>
- Cc: Andrew Pinski <pinskia at gmail dot com>, "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 21 Jul 2008 11:22:37 -0700
- Subject: Re: [PATCH] Re: [PATCH, testsuite] Enable automatic overlays for compat tests on SPU
- References: <200807211711.m6LHBhi0016153@d12av02.megacenter.de.ibm.com>
- Reply-to: janis187 at us dot ibm dot com
On Mon, 2008-07-21 at 19:11 +0200, Ulrich Weigand wrote:
> Janis Johnson wrote:
> > On Fri, 2008-07-18 at 00:52 +0200, Ulrich Weigand wrote:
> > > Sorry about the breakage. I guess the best way would be to check whether
> > > the installed SPU toolchain supports --auto-overlay or not. The patch
> > > below implements this as a check_effective_target function.
> > >
> > > Andrew, would this resolve your issues?
> > >
> > > Janis, would this be OK for mainline/4.3?
> >
> > It looks fine to me, although if there's a chance that other targets
> > will support -Wl,--auto-overlay then you could make it general, not
> > specific to spu.
>
> Hmm, I'm not aware of any other platform supporting automatic overlays;
> the current binutils support is clearly SPU-specific. I'm not sure if
> other platforms would use the same mechanism ...
>
> Maybe we should leave it platform-specific for now; if there is another
> platform in the future that needs something similar, we can always move
> to a more general solution then. OK?
OK.
Janis