armelf ldscript :

Nick Clifton nickc@cambridge.redhat.com
Tue Dec 18 06:13:00 GMT 2001


Hi ,

> On Thu, Dec 13, 2001 at 09:47:37AM +0900, I.S.Kuten wrote:
> > 
> > Can anyone tell me why we are using 0x8000 as a start address of our code ? 
> > Why this value ?
> 
> Non-zero so NULL pointer dereferences can be caught, and greater or equal
> to the start of the next page in memory.  Page size can vary on some
> architectures, so usually chosen at the largest possible page size.

Another reason is that the ARM places its interrupt vectors at 0x0 and
these should not be overwritten by application code.

Cheers
        Nick



More information about the Binutils mailing list