bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20828] GC-ed DSO symbols make corresponding symbols defined by a


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/20828] GC-ed DSO symbols make corresponding symbols defined by a linker script local
Date: Tue, 24 Jan 2017 14:06:40 +0000

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

--- Comment #27 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Maciej W. Rozycki <address@hidden>:

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

commit 1a792e1c00e07a1e644145a9f71446cf2e75e9ab
Author: Maciej W. Rozycki <address@hidden>
Date:   Mon Jan 23 11:37:19 2017 +0000

    Solaris2/LD: Fix anonymous version script acceptance bug

    Correct a bug in Solaris 2 linker emulation code triggered by a test
    introduced with commit 81ff47b3a546 ("PR ld/20828: Fix linker script
    symbols wrongly forced local with section GC") and only create implicit
    version nodes if versioning is actually introduced with a version script
    (or VERSION command) rather than only global vs local symbol visibility
    selected, fixing an:

    ld: anonymous version tag cannot be combined with other version tags

    linker error produced whenever a version script (or VERSION command) is
    used that does not assign symbol versions, such as:

    { global: foo; bar; local: *; };

    and consequently removing a:

    FAIL: PR ld/20828 dynamic symbols with section GC (version script)

    test suite failure with the `x86_64-solaris2' target.

        ld/
        * emultempl/solaris2.em (elf_solaris2_before_allocation): Do not
        add implicit version nodes if an anonymous version tag is being
        used.

-- 
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]