[gold commit] PR 18847: Fix problem where script specified both address and region for a section
Cary Coutant
ccoutant@gmail.com
Wed Aug 26 07:18:00 GMT 2015
More information about the Binutils mailing list
Wed Aug 26 07:18:00 GMT 2015
- Previous message (by thread): [gold commit] PR 18847: Fix problem where script specified both address and region for a section
- Next message (by thread): [PATCH] PR gold/18695
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[with the patch] On Wed, Aug 26, 2015 at 12:04 AM, Cary Coutant <ccoutant@gmail.com> wrote: > 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. > > -cary > > > 2015-08-25 Cary Coutant <ccoutant@gmail.com> > > 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: pr18847.patch Type: application/octet-stream Size: 5746 bytes Desc: not available URL: <https://sourceware.org/pipermail/binutils/attachments/20150826/2881f1ae/attachment.obj>
- Previous message (by thread): [gold commit] PR 18847: Fix problem where script specified both address and region for a section
- Next message (by thread): [PATCH] PR gold/18695
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list