bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/22751] LTO broken for libgcc libcalls


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/22751] LTO broken for libgcc libcalls
Date: Sat, 27 Jan 2018 22:34:40 +0000

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

--- 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 <address@hidden>:

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

commit d580dcc7aac21dc8396e8e90ea6d05ec32d6cbb9
Author: Alan Modra <address@hidden>
Date:   Sun Jan 28 08:03:26 2018 +1030

    PR22751, LTO broken for libgcc libcalls

    So what was happening was that the file added from libgcc.a during the
    rescan was not put on file_chain.  map_input_to_output_sections then
    doesn't see the file and its sections are treated as discarded.

    The file_chain list pointer bug was caused by that fact that an
    archive element claimed by the plugin does not have my_archive set.
    Or more correctly, the actual archive element does have my_archive
    set, but this bfd is replaced with a dummy bfd that doesn't have
    my_archive set.

        PR 22751
        * ldlang.c (find_rescan_insertion): Look past bfds with claim_archive
        set.

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