bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/19162] Huge binary after linking sections with "a" and "wa" flag


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/19162] Huge binary after linking sections with "a" and "wa" flags
Date: Thu, 29 Oct 2015 09:20:14 +0000

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

--- 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=936384714fa8b0f7ca8cc3b5637394461bc998c8

commit 936384714fa8b0f7ca8cc3b5637394461bc998c8
Author: Alan Modra <address@hidden>
Date:   Thu Oct 29 16:16:22 2015 +1030

    Re: Orphan output section with multiple input sections

    The last patch missed handling the case where the ideal place to put
    an orphan was after a non-existent output section statement, as can
    happen when not using the builtin linker scripts.  This patch uses the
    updated flags for that case too, and extends the support to mmo and pe.

        PR ld/19162
        * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Pass
        updated flags to lang_output_section_find_by_flags.
        * emultempl/mmo.em (mmo_place_orphan): Merge flags for any
        other input sections that might match a new output section to
        decide placement.
        * emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
        * emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
        * ldlang.c (lang_output_section_find_by_flags): Add sec_flags param.
        * ldlang.h (lang_output_section_find_by_flags): Update prototype.

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