This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Linker scripts and Section Reordering.


On Wed, Jan 9, 2013 at 2:46 PM, Sriraman Tallam <tmsriram@google.com> wrote:
>
> I moved this to Output_section_definition::set_section_addresses. I
> dont think this is necessary in
> Orphan_output_section::set_section_addresses for the following reason.
> Orphan_output_sections are for those not seen in the linker script.
> Such an output section is created for every input section that is not
> caught in the linker script. Such input sections are not grouped by
> prefix as the output_section_name method in script-sections.cc is used
> to group them. So, these input sections cannot be handled by section
> ordering.

This patch is OK.

Thanks.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]