bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/18847] Gold: Address of section moves backward when aligned.


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gold/18847] Gold: Address of section moves backward when aligned.
Date: Wed, 26 Aug 2015 07:04:10 +0000

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

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Cary Coutant <address@hidden>:

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

commit 7c61d651fd0e42b8f68840a3735ed7e46d4fd083
Author: Cary Coutant <address@hidden>
Date:   Wed Aug 26 00:03:04 2015 -0700

    Fix problem where script specified both address and region for a section.

    If a script specifies both address and region for an output section
    declaration, gold ignores the region specification. This can lead to
    bogus "moves backward" errors. This patch fixes gold so that if a
    section specifies both address and region, it will place the section
    at the specified address in the region, and update the location counter
    within the region.

    gold/
        PR gold/18847
        * script-sections.cc (Memory_region::set_address): New method.
        (Script_sections::find_memory_region): Add explicit_only parameter.
        (Output_section_definition::set_section_addresses): Handle case where
        script specifies both address and vma region.
        * script-sections.h (Script_sections::find_memory_region): Add
        explicit_only parameter.

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