linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Error: unsupported relocation against CSRR0
@ 2007-08-12 21:04 mike zheng
  2007-08-13  0:49 ` David Gibson
  0 siblings, 1 reply; 2+ messages in thread
From: mike zheng @ 2007-08-12 21:04 UTC (permalink / raw)
  To: linuxppc-dev, linux-kernel

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Error: unsupported relocation against CSRR0
  2007-08-12 21:04 Error: unsupported relocation against CSRR0 mike zheng
@ 2007-08-13  0:49 ` David Gibson
  0 siblings, 0 replies; 2+ messages in thread
From: David Gibson @ 2007-08-13  0:49 UTC (permalink / raw)
  To: mike zheng; +Cc: linuxppc-dev, linux-kernel

On Sun, Aug 12, 2007 at 05:04:35PM -0400, mike zheng wrote:
> 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?

Probably means you haven't included the file with the #defines for
these SPR values.

> /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

> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-13  0:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-12 21:04 Error: unsupported relocation against CSRR0 mike zheng
2007-08-13  0:49 ` David Gibson

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).