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: How to limit both the size and the address range of sections in ld script?


> Start off SECTIONS with
> . = 0x80040000
>
>> If one of the conditions is false, I wish LD report an error.
>
> After output sections,
> ASSERT (. < 0x20000, "too big")
>
> --
> Alan Modra
> Australia Development Lab, IBM
>

The start address of sections is not sure to be 0x80040000, It may be
adjusted dynamically before linking.

Best Regards
PRC
Mar 20,2009


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