as question

Dan Brennan dmb8 at optonline.net
Fri Apr 19 06:40:03 EST 2002


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:
>
> >>>>> Dan Brennan writes:
>
> Dan> In arch/ppc/kernel/head.S the following code segment exists:
>
> Dan> lis     r0,start_here at h
> Dan> ori     r0,r0,start_here at 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/





More information about the Linuxppc-dev mailing list