From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.186]) by ozlabs.org (Postfix) with ESMTP id 81969DDEEE for ; Mon, 13 Aug 2007 07:04:36 +1000 (EST) Received: by rv-out-0910.google.com with SMTP id c27so862858rvf for ; Sun, 12 Aug 2007 14:04:36 -0700 (PDT) Message-ID: <5c9cd53b0708121404p5e2b8311l5a20ec481a6bed59@mail.gmail.com> Date: Sun, 12 Aug 2007 17:04:35 -0400 From: "mike zheng" To: linuxppc-dev@ozlabs.org, linux-kernel@vger.kernel.org Subject: Error: unsupported relocation against CSRR0 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_2474_5858464.1186952675603" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_2474_5858464.1186952675603 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 ------=_Part_2474_5858464.1186952675603 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline
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

------=_Part_2474_5858464.1186952675603--