bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/14272] gold links, but bfd fails with: hidden symbol `.LTHUNK116


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/14272] gold links, but bfd fails with: hidden symbol `.LTHUNK116.32732' isn't defined
Date: Tue, 03 Feb 2015 17:07:40 +0000

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

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

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

commit 60f79275127603876d94da4bf4e3f6212903b407
Author: H.J. Lu <address@hidden>
Date:   Tue Feb 3 09:03:23 2015 -0800

    Mark the plugin symbol undefined

    LTO may optimize out a plugin symbol, which is also referenced by a
    non-IR file.  When that happens, we should mark the plugin symbol
    undefined.  It isn't the problem since LTO already determined the
    symbols in the non-IR file aren't used.

    bfd/

        PR ld/12365
        PR ld/14272
        * elflink.c (_bfd_elf_fix_symbol_flags): Mark the plugin symbol
        undefined if it is referenced from a non-IR file.

    ld/testsuite/

        PR ld/12365
        * ld-plugin/pr12365a.c: New file.
        * ld-plugin/pr12365b.c: Likewise.
        * ld-plugin/pr12365c.c: Likewise.

        * ld-plugin/lto.exp (lto_link_tests): Prepare for the PR ld/12365
        test.
        Run the PR ld/12365 test.

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