Is there any story about the magic number 0x08048000 in "ld" internal linker script ?

From: Jason Yan (jasonyanjk@yahoo.com)
Date: Wed Feb 20 2002 - 19:55:48 EST


Hi,

When I use gdb to trace/debug my program, I notice that the programe linear address always start from 0x8048xxx, then I use "ld --verbose" to display the internal linker script, I find an interesting address 0x08048000 :

SECTIONS
{
  /* Read-only sections, merged into text segment: */
  . = 0x08048000 + SIZEOF_HEADERS
  ......snip....

that's where 0x8048xxx comes from. I'm just curious, why 0x08048000 not other number? Any story?

Thanks,

Jason

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Feb 23 2002 - 21:00:28 EST