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: Mon, 23 Jan 2017 11:29:43 +0000

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

--- Comment #22 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=fda46c417ff8324960ca305141df5fc6c2f580af

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

    PR ld/20828: Remove leading `_' from symbols used in tests

    Complement commit 81ff47b3a546 ("PR ld/20828: Fix linker script symbols
    wrongly forced local with section GC") and remove the leading underscore
    from `_fdata' and `_edata' symbols used in tests, fixing a:

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

    failure with targets such as: `bfin-elf', `bfin-uclinux', `metag-elf',
    `metag-linux' `mn10300-elf', `sh-elf', `sh64-elf', and possibly other
    ones, that have `_' set (with `elf_symbol_leading_char') as the leading
    character for symbols.  As from commit 93252b1cf41a ("bfd/ld: handle ABI
    prefixes in version scripts") these targets strip the leading underscore
    before applying version script rules, because the (default) syntax for
    symbol names is that of the C language rather than their low-level
    symbol table encoding.

        ld/
        PR ld/20828
        * testsuite/ld-elf/pr20828.ld: Rename `_fdata' and `_edata' to
        `fdata' and `edata' respectively.
        * testsuite/ld-elf/pr20828.ver: Adjust accordingly.
        * testsuite/ld-elf/pr20828-a.sd: Likewise.
        * testsuite/ld-elf/pr20828-b.sd: Likewise.
        * testsuite/ld-elf/pr20828-c.sd: 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]