https://sourceware.org/bugzilla/show_bug.cgi?id=18992

--- Comment #6 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <amo...@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3074964fcfff45aef4584b84550eeef84f902fc4

commit 3074964fcfff45aef4584b84550eeef84f902fc4
Author: Alan Modra <amo...@gmail.com>
Date:   Thu Sep 24 13:13:57 2015 +0930

    Relative DT_RPATH/DT_RUNPATH vs. sysroot capable ld.

    This fixes two problems.  First, the --sysroot option wasn't available
    with a ld configured without --with-sysroot, a historical accident.
    This led to people configuring binutils with --with-sysroot=/ in order
    to enable sysroot support, which exposes a case where ld wrongly
    prepends the sysroot to a relative path.

        PR ld/18992
        * ldmain.c (main): Always enable --sysroot.
        * emultempl/elf32.em (gld${EMULATION_NAME}_after_open): Don't
        prepend sysroot to relative rpath/runpath.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to