This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld linker script and non-contiguous memory region


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]