How Can The Starting Address Of An Image In ELF File BeChanged

2 messages, 2 authors, 2004-03-05 · open the first message on its own page

How Can The Starting Address Of An Image In ELF File BeChanged

From: Thamarai Selvan <hidden>
Date: 2004-03-05 04:18:41

Hi all,

I created the elf file of the kernel using "make vmlinux", when i checked
the created system.map i found the the kernel image starting from
0xc0000000. Can any tell where this address is defined or configured? and
how can this be changed to 0x0000000 is it possible?

with regards
Thamarai Selvan.G


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

Re: How Can The Starting Address Of An Image In ELF File BeChanged

From: Stephen Williams <hidden>
Date: 2004-03-05 06:16:39

Thamarai Selvan Thamarai.Selvan-at-lntinfotech.com |PPC Linux Embedded|
wrote:
Hi all,

I created the elf file of the kernel using "make vmlinux", when i checked
the created system.map i found the the kernel image starting from
0xc0000000. Can any tell where this address is defined or configured? and
how can this be changed to 0x0000000 is it possible?
The linux cernel is linked to 0xc0000000, and the entry is really
up there. In fact, the kernel is loaded starting at 0x0, and there
is code at the beginning that turns on address translation so that
it appears at the right place.

In other words, there is nothing for you to change.


--
Steve Williams                "The woods are lovely, dark and deep.
steve at XXXXXXXXXX           But I have promises to keep,
http://www.XXXXXXXXXX         and lines to code before I sleep,
http://www.picturel.com       And lines to code before I sleep."


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help