ld doesn't relocate sysroot if called as tooldir/bin/ld

Alexandre Oliva aoliva@redhat.com
Wed Feb 26 06:42:00 GMT 2003


On Feb 20, 2003, Daniel Jacobowitz <drow@mvista.com> wrote:

> On Thu, Feb 20, 2003 at 07:10:06AM -0300, Alexandre Oliva wrote:

>> What would people think of arranging for pathnames in linker
>> scripts within the sysroot to have the sysroot pathname prepended
>> to them?  This would solve the main problem of relocating a cross
>> toolchain with a glibc sysroot, because the glibc linker scripts
>> reference full pathnames in the real root.  Comments?

> Oooh.  I love it.  That'd kill one of the last truly gross hacks in my
> cross tool setup.

/me loves killing truly gross hacks :-)

Ok to install?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysroot-ld-scripts.patch
Type: text/x-patch
Size: 7430 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20030226/70782e6c/attachment.bin>
-------------- next part --------------

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


More information about the Binutils mailing list