as question
David Edelsohn
dje at watson.ibm.com
Fri Apr 19 06:25:41 EST 2002
>>>>> 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