[PATCH] Re: [PATCH, testsuite] Enable automatic overlays for compat tests on SPU

Ulrich Weigand uweigand@de.ibm.com
Mon Jul 21 17:41:00 GMT 2008


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?

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com



More information about the Gcc-patches mailing list