This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: allocating starting at top of memory with ld?
- From: Nick Clifton <nickc at redhat dot com>
- To: Galen Seitz <galens at seitzassoc dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 16 Apr 2009 09:16:27 +0100
- Subject: Re: allocating starting at top of memory with ld?
- References: <49E640FF.9000601@seitzassoc.com>
Hi Galen,
When linking I would like to allocate input sections starting from the
highest memory address of an output section and working downwards. For
example, given a memory area that starts at 0 and is 64KB in size, and
an input section that is 4KB in size, I would like to have the input
section located at 0xf000. Additional input sections would be located
below this.
Sorry - this is not something that is currently supported by the linker.
It always allocates from lower addresses towards higher addresses.
What benefit do you gain from allocating sections downwards ? Perhaps
there is another way to solve the problem that you are handling.
Cheers
Nick