bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/19615] [2.26 Regression] We can't no longer export a symbol in P


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/19615] [2.26 Regression] We can't no longer export a symbol in PIE with local binding
Date: Fri, 12 Feb 2016 02:19:08 +0000

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

--- Comment #5 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The binutils-2_26-branch branch has been updated by H.J. Lu
<address@hidden>:

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

commit 1dab972d797c060e17229c2e10da01852ba82629
Author: H.J. Lu <address@hidden>
Date:   Thu Feb 11 15:31:15 2016 -0800

    Enable -Bsymbolic and -Bsymbolic-functions to PIE

    Before binutils 2.26, -Bsymbolic and -Bsymbolic-functions were also
    applied to PIE so that "ld -pie -Bsymbolic -E" can be used to export
    symbols in PIE with local binding.  This patch re-enables -Bsymbolic
    and -Bsymbolic-functions for PIE.

    Backport from master

        PR ld/19615
        * ld.texinfo: Document -Bsymbolic and -Bsymbolic-functions for
        PIE.
        * lexsup.c (parse_args): Enable -Bsymbolic and
        -Bsymbolic-functions for PIE.
        * testsuite/ld-i386/i386.exp: Run pr19615.
        * testsuite/ld-i386/pr19615.d: New file.
        * testsuite/ld-i386/pr19615.s: Likewise.
        * testsuite/ld-x86-64/pr19615.d: Likewise.
        * testsuite/ld-x86-64/pr19615.s: Likewise.

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]