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 SPARC64 GNU/Linux linker specs for sysroots


From: "Joseph S. Myers" <joseph@codesourcery.com>
Date: Wed, 13 Aug 2008 10:22:59 +0000 (UTC)

> config/sparc/linux64.h has some linker specs passing -Y P options.
> These put a directory in the linker search path, and as such they need
> to use %R so the right directory is used in the sysroot case.  This
> patch adds %R to these specs.  (Other targets probably need this as
> well, but this is the one I've tested and where I came across the
> issue in conjunction with linker warnings for inappropriate uses of
> host directories as discussed at
> <http://sourceware.org/ml/binutils/2008-08/msg00070.html>.)
> 
> Tested with no regressions with cross to sparc64-linux-gnu.  OK to
> commit?

This looks fine to me.


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