Skip to contentSkip to conversation

programs mapping in memory

DISCUSSION DINH Viet Hoa 1 participant 1 message Nov 16, 2001

lore
Share & tools
lore
#0 lore raw

Maybe I am on the bad mailing-list but my question is the following : Why are programs mapped into memory segments that start around 0x8048000 ?
How is it chosen and why is this choice made ? For example, why couldn't is be 0x1000000 ?

for example :

% cat /proc/1/maps
08048000-0804f000 r-xp 00000000 08:01 6078 /sbin/init
0804f000-08050000 rw-p 00006000 08:01 6078 /sbin/init
08050000-08054000 rwxp 00000000 00:00 0
...
bfffe000-c0000000 rwxp fffff000 00:00 0

(Version of linux is 2.2.13)

thanks for your answers.

Signature · 3 lines
DINH Viêt Hoà, ingénieur associé, projet PARIS
IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France
Tél: +33 (0) 2 99 84 75 98, Fax: +33 (0) 2 99 84 25 28