From: "mike zheng" <mail4mz@gmail.com>
To: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org
Subject: Error: unsupported relocation against CSRR0
Date: Sun, 12 Aug 2007 17:04:35 -0400 [thread overview]
Message-ID: <5c9cd53b0708121404p5e2b8311l5a20ec481a6bed59@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 998 bytes --]
Hi All,
I have "unsupported relocation against" problem, while compiling entry.S in
2.4 Kernel against e500 core. Does anyone know what is the problem? Is
there any option I missed?
Thanks in advance,
MikeZ
/kernel-> powerpc-linux-gnuspe-gcc -m32 -Wp,-MD,arch/ppc/kernel/.entry.o.d
-nostdinc -isystem
/opt/mtwk/usr/local/gcc-3_4-e500-glibc-2.3.4-dp/powerpc-linux-gnuspe/lib/gcc/powerpc-linux-gnuspe/3.4.3/include
-D__KERNEL__ -Iinclude -Iarch/ppc -D__ASSEMBLY__ -Iarch/ppc -Wa,-me500 -c
-o arch/ppc/kernel/entry.o arch/ppc/kernel/entry.S
arch/ppc/kernel/entry.S: Assembler messages:
entry.S:819: Error: unsupported relocation against CSRR0
entry.S:820: Error: unsupported relocation against CSRR1
entry.S:888: Error: unsupported relocation against MCSRR0
entry.S:889: Error: unsupported relocation against MCSRR1
entry.S:909: Error: unsupported relocation against CSRR0
entry.S:911: Error: unsupported relocation against CSRR1
entry.S
819 mtspr CSRR0, r11
820 mtspr CSRR1, r12
[-- Attachment #2: Type: text/html, Size: 1820 bytes --]
next reply other threads:[~2007-08-12 21:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-12 21:04 mike zheng [this message]
2007-08-13 0:49 ` Error: unsupported relocation against CSRR0 David Gibson
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=5c9cd53b0708121404p5e2b8311l5a20ec481a6bed59@mail.gmail.com \
--to=mail4mz@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@ozlabs.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).