This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
allocating starting at top of memory with ld?
- From: Galen Seitz <galens at seitzassoc dot com>
- To: binutils at sourceware dot org
- Date: Wed, 15 Apr 2009 13:18:07 -0700
- Subject: allocating starting at top of memory with ld?
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.
It seems unlikely that I'm the first person to want to do this, but my
searches have come up empty.
thanks,
galen
--
Galen Seitz
galens@seitzassoc.com