<div>Hi All,</div>
<div>&nbsp;</div>
<div>I have &quot;unsupported relocation against&quot; problem, while compiling entry.S in 2.4 Kernel against&nbsp;e500 core.&nbsp; Does anyone know what is the problem? Is there any option I missed?</div>
<div><br>Thanks in advance,</div>
<div>&nbsp;</div>
<div>MikeZ</div>
<div>&nbsp;</div>
<div>
<p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font face="Courier New" size="2">/kernel-&gt;<span style="mso-spacerun: yes">&nbsp;&nbsp; </span>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<span style="mso-spacerun: yes">&nbsp; </span>-Iarch/ppc -D__ASSEMBLY__ -Iarch/ppc -Wa,-me500<span style="mso-spacerun: yes">
&nbsp;&nbsp;&nbsp; </span>-c -o arch/ppc/kernel/entry.o arch/ppc/kernel/entry.S<br>arch/ppc/kernel/entry.S: Assembler messages:</font></p><font face="Courier New" size="2">
<p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><font face="Courier New" size="2">entry.S:819: Error: unsupported relocation against CSRR0<br>entry.S:820: Error: unsupported relocation against CSRR1<br>entry.S:888: Error: unsupported relocation against MCSRR0
<br>entry.S:889: Error: unsupported relocation against MCSRR1<br>entry.S:909: Error: unsupported relocation against CSRR0<br>entry.S:911: Error: unsupported relocation against CSRR1</font><br></p>
<p class="MsoPlainText" style="MARGIN: 0in 0in 0pt"><br><br></p></font><font size="2"><font face="Courier New"><span lang="PT-BR" style="mso-ansi-language: PT-BR">entry.S<br><br>819<span style="mso-tab-count: 1">&nbsp;&nbsp; </span>
mtspr CSRR0, r11<br></span>820<span style="mso-tab-count: 1">&nbsp;&nbsp; </span>mtspr CSRR1, r12</font></font><br></div>