[PATCH][RESEND] ld: -rpath must search under sysroot

Alan Modra amodra@gmail.com
Fri Mar 10 11:23:00 GMT 2017


On Fri, Mar 10, 2017 at 08:22:49AM +0100, Jörg Krause wrote:
> From: Andy Ross <andy.ross@windriver.com>
> 
> This is a resend of a revised patch from the binutils mailing list [1].

I wasn't very enthusiastic about this patch first time it was posted,
but I'm willing to consider it again.

If there is a relative rpath, should it have the sysroot prepended?
See https://sourceware.org/bugzilla/show_bug.cgi?id=18992

If not, then perhaps the place to make that change is in
gld${EMULATION_NAME}_add_sysroot.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list