mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Is there any story about the magic number 0x08048000 in  "ld" internal linker script ?
@ 2002-02-21  0:55 Jason Yan
  2002-02-20 22:34 ` Richard B. Johnson
  2002-02-21 20:45 ` Alex Pennace
  0 siblings, 2 replies; 3+ messages in thread
From: Jason Yan @ 2002-02-21  0:55 UTC (permalink / raw)
  To: linux-kernel

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 





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-02-21 20:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-21  0:55 Is there any story about the magic number 0x08048000 in "ld" internal linker script ? Jason Yan
2002-02-20 22:34 ` Richard B. Johnson
2002-02-21 20:45 ` Alex Pennace

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®