ld linker script and non-contiguous memory region

Alan Modra amodra@gmail.com
Mon Jan 16 22:04:00 GMT 2012


On Mon, Jan 16, 2012 at 02:53:20PM +0000, Taortan Development wrote:
> I could for example define the memory as two regions (starting at 0x0 length 8K and 0x3000 length 4K) instead,
> but then I would have to manually place code from different object files/sections into the two regions to fill it optimally (?).
> 
> Is there a way to make the linker take care of this for me?

Not apart from writing code to implement this feature.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list