> why linux ELF base address is 0x8048000? we can use ld to change > the base address or linker script.BUT why default is 0x8048000? > There must be some reasons or history i don't know. As far as I can tell, the reason is that this was the address used by SVR4, which was the first release of Unix to use ELF executables. The reason that SVR4 chose that particular address is that the stack top was located at 0x08000000 (growing downward, of course), and then the area between 0x08000000 and 0x08048000 was reserved for libc and possibly other system service code. b -- To unsubscribe from this list: send the line "unsubscribe linux-assembly" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
- Follow-Ups:
- Re: why linux ELF base address is 0x8048000?
- From: pei lin
- Re: why linux ELF base address is 0x8048000?
- References:
- why linux ELF base address is 0x8048000?
- From: pei lin
- Re: why linux ELF base address is 0x8048000?
- From: pei lin
- why linux ELF base address is 0x8048000?
- Prev by Date: Re: why linux ELF base address is 0x8048000?
- Next by Date: Re: why linux ELF base address is 0x8048000?
- Previous by thread: Re: why linux ELF base address is 0x8048000?
- Next by thread: Re: why linux ELF base address is 0x8048000?
- Index(es):