bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/24786] assign wrong lma if first section in overlay is empty inp


From: cvs-commit at gcc dot gnu.org
Subject: [Bug ld/24786] assign wrong lma if first section in overlay is empty input section
Date: Sat, 13 Jul 2019 00:37:43 +0000

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

--- Comment #1 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=7b2438015ca87297b2796c662182f796bb5358c2

commit 7b2438015ca87297b2796c662182f796bb5358c2
Author: Alan Modra <address@hidden>
Date:   Wed Jul 10 23:35:18 2019 +0930

    PR24786, wrong LMA if first section in overlay is empty

    This stops the first overlay section being ignored when empty,
    losing its LMA assignment

        PR 24786
        * ldlang.h (enum section_type): Add first_overlay_section.
        * ldlang.c (lang_add_section): Adjust switch statement.
        (map_input_to_output_sections): Likewise.
        (lang_size_sections_1): Always set last_os for first overlay section.
        (lang_leave_overlay): Set sectype to first_overlay_section.

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