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: [PATCH][gold] Use attributes of existing sections when placing orphan sections.


On Fri, Oct 21, 2016 at 4:24 AM, Igor Kudrin <ikudrin@accesssoftek.com> wrote:
>
> The current version of gold uses names of described output sections
> to find places where to put orphan sections. If the sections in the
> linker script have different names, gold fails to find the right place
> for orphans. This patch addresses the issue by analyzing attributes
> of existing section if they have unfamiliar names.

One of the goals of gold's orphan section placement is to be
approximately the same as GNU ld's orphan section placement.  How does
GNU ld behave in the scenarios you are looking at?

Ian


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