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 <ccout...@sourceware.org>:

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

commit 7c61d651fd0e42b8f68840a3735ed7e46d4fd083
Author: Cary Coutant <ccout...@gmail.com>
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.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to