linker section of non-contiguous memory region

Ian Lance Taylor iant@google.com
Fri Mar 1 14:17:00 GMT 2013


On Fri, Mar 1, 2013 at 2:59 AM, Robert <devcal@gmx.de> wrote:
>
> I'm trying to write a linker script to write one section content into two
> non-contiguous memory regions.

As far as I know the linker can not put a single output section into
two discontiguous memory regions.  You have to produce two output
sections.  And there is no way to intelligently split the input
sections into two output sections, which leaves you with the approach
you are already taking.  Sorry.

Ian



More information about the Binutils mailing list