allocating starting at top of memory with ld?
Nick Clifton
nickc@redhat.com
Thu Apr 16 08:16:00 GMT 2009
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
More information about the Binutils
mailing list