linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Rolf Liu" <rolfl@sc23.sc.mcel.mot.com>
To: <linuxppc-dev@lists.linuxppc.org>
Subject: question about 'r2' !!!
Date: Wed, 6 Sep 2000 10:24:22 +0800	[thread overview]
Message-ID: <00b401c017a9$91f50640$bf0102c8@sc.mcel.mot.com> (raw)


Hi, all,
As everyone konws, Linux use register 'r2' as a reference of 'current',which
is realized by
GCC. Also, the exeception handling of Linux do some work about 'r2'.

I am currently engaged in compiling Linux-ppc source tree using a CC other
than GCC.
The CC can only produce the executable format of 'EABI', a convention made
by Motorola.
And 'EABI' use 'r2' as a base address register for reference of const data,
which can't
be changed. So I want to use a general global varialbe as 'current', leaving
'r2' to 'EABI'.

Anyone has some experence in such issue?
what consideration I must take?
I am pleased to get any comments from you .
Thanks a lot

Rolf


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

             reply	other threads:[~2000-09-06  2:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-06  2:24 Rolf Liu [this message]
2000-09-06 11:00 ` question about 'r2' !!! Geert Uytterhoeven
2000-09-06 16:46   ` Michael Schmitz
2000-09-06 20:23     ` Frank Rowand
2000-09-06 20:41       ` Michael Schmitz
2000-09-06 21:07         ` Dan Malek
2000-09-07 11:16           ` Michael Schmitz
2000-09-07  0:53 ` Paul Mackerras

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='00b401c017a9$91f50640$bf0102c8@sc.mcel.mot.com' \
    --to=rolfl@sc23.sc.mcel.mot.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).