This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Move ARM.exidx to PT_LOAD segment.
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Johan Karlsson <Johan dot Karlsson at enea dot com>, "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Thu, 28 Aug 2014 17:15:36 +0100
- Subject: Re: Move ARM.exidx to PT_LOAD segment.
- Authentication-results: sourceware.org; auth=none
- References: <5006DF1F5103294E8DA02CC4C71B1BF8085AF155 at SESTOEX04 dot enea dot se>
On 28/08/14 15:39, Johan Karlsson wrote:
> Hi,
> I'm having problem moving ARM.exidx to a PT_LOAD segment.
> In my linker script I added it to a PT_LOAD segment but instead ld adds an additional EXIDX segment.
> Is it impossible to move the ARM.exidx section due to the SHF_LINK_ORDER flag or what can it be?
>
> Linker script: http://pastebin.com/8wZFtnCA
>
> Thanks,
> Johan
>
Segments don't have to be exclusive. You can make one segment part of
another.
R.