Thread (3 messages) 3 messages, 3 authors, 2002-04-18

Re: as question

From: Dan Brennan <hidden>
Date: 2002-04-18 20:40:03

Possibly related (same subject, not in this thread)

You're right, I objdump'd on the wrong object. They are okay. Still
trying to figure out why execution stops immediately following the RFI.
Thanks.

David Edelsohn wrote:
quoted
quoted
quoted
quoted
quoted
Dan Brennan writes:
Dan> In arch/ppc/kernel/head.S the following code segment exists:

Dan> lis     r0,start_here@h
Dan> ori     r0,r0,start_here@l

Dan> However, when I do objdump on head.o this is what appears:

Dan> 94:       3c 00 00 00     lis     r0,0
Dan> 98:       60 00 00 00     nop

Dan> It appears that the code which loads the address of the label start_here
Dan> does not get assembled correctly. Is this observation correct?

        What do those instructions look like in the final executable after
the link-editor has statically substituted the address of the start_here
symbol?

David
** Sent via the linuxppc-dev 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