From: Dan Brennan <dmb8@optonline.net>
To: David Edelsohn <dje@watson.ibm.com>
Cc: LinuxPPC-Dev <linuxppc-dev@lists.linuxppc.org>
Subject: Re: as question
Date: Thu, 18 Apr 2002 16:40:03 -0400 [thread overview]
Message-ID: <3CBF2F23.9F2E5456@optonline.net> (raw)
In-Reply-To: 200204182025.QAA29880@makai.watson.ibm.com
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@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/
next prev parent reply other threads:[~2002-04-18 20:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-18 20:17 as question Dan Brennan
2002-04-18 20:25 ` David Edelsohn
2002-04-18 20:40 ` Dan Brennan [this message]
2002-04-18 22:47 ` Dan Malek
2002-04-19 7:37 ` asm info Giuliano Pochini
2002-04-18 21:42 ` Benjamin Herrenschmidt
2002-04-19 13:37 ` Giuliano Pochini
2002-04-19 8:14 ` Kaoru Fukui
2002-04-19 13:12 ` Giuliano Pochini
2002-04-19 10:07 ` as question Gabriel Paubert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3CBF2F23.9F2E5456@optonline.net \
--to=dmb8@optonline.net \
--cc=dje@watson.ibm.com \
--cc=linuxppc-dev@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.