linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Question about linker -Ttext option
@ 2004-03-09  0:10 Bob Beck
  0 siblings, 0 replies; only message in thread
From: Bob Beck @ 2004-03-09  0:10 UTC (permalink / raw)
  To: linuxppc-embedded


In the arch/ppc/boot directory, one of the linker
options is "-Ttext 0x00800000".


What does this mean ?

The base virtual address of the kernel is c0000000.

I've been using my own hand-rolled bootloader to
load the zImage.bin file into an address allocated
by the VxWorks malloc and jumping to that address.

Second question.

arch/ppc/boot/simple/head.S says it expects the load address
in r3. It seems strange that it would need its own (start)
starting address. What is this routine expecting ?


Regards,
Bob Beck


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-09  0:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-09  0:10 Question about linker -Ttext option Bob Beck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).