This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: armelf ldscript :
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