From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-gx0-f223.google.com (mail-gx0-f223.google.com [209.85.217.223]) by ozlabs.org (Postfix) with ESMTP id 8034EB7C34 for ; Fri, 30 Oct 2009 20:35:33 +1100 (EST) Received: by gxk23 with SMTP id 23so3222660gxk.2 for ; Fri, 30 Oct 2009 02:35:31 -0700 (PDT) MIME-Version: 1.0 Date: Fri, 30 Oct 2009 10:35:31 +0100 Message-ID: <231e15c10910300235y6b2332a6na587060f98814a3e@mail.gmail.com> Subject: R_PPC_PLTREL24 reloc against local symbol From: Pu Yiqiao To: linuxppc-dev@ozlabs.org Content-Type: multipart/alternative; boundary=0016362839e6c0cd3e047723bf9b List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , --0016362839e6c0cd3e047723bf9b Content-Type: text/plain; charset=ISO-8859-1 Hi, Now I am trying to work on ppc440. And when I compile my program I received this error message while ld: ppc_4xx-ld: fifo_tmp.o(.text+0x6158): R_PPC_PLTREL24 reloc against local symbol fifo_tmp.o: could not read symbols: Bad value I am using ELDK 4.2. and the compile flags is as following: /eldk4.2/ppc_4xx/usr/bin/../ cc1 -quiet -nostdinc -v -I/home/joy/work/ppc/partikle//user/ulibc/include -imultilib m403/pic -iprefix /eldk4.2/ppc_4xx/usr/bin/../lib/gcc/powerpc-linux/4.2.2/ -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=linux -Asystem=unix -Asystem=posix -Dxm_ppc440 fifo.c -quiet -dumpbase fifo.c -mcpu=403 -auxbase-strip fifo.o -O2 -Wall -Wno-pointer-sign -version -fexceptions -fno-builtin -fno-strict-aliasing -fPIC -fno-stack-protector -fomit-frame-pointer -o /tmp/ccOIjGSh.s as -m403 -V -Qy -K PIC -o fifo.o /tmp/ccOIjGSh.s Is there someone know why this is happend and how to resolve it? Thank you. -- Best wishes Pu Yiqiao(Joy) --0016362839e6c0cd3e047723bf9b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,
Now I am trying to work on ppc440. And when I compile my program I = received this error message while ld:
ppc_4xx-ld: fifo_tmp.o(.text+0x615= 8): R_PPC_PLTREL24 reloc against local symbol
fifo_tmp.o: could not read= symbols: Bad value
I am using ELDK 4.2.
and the compile flags is as following:
=A0/eldk= 4.2/ppc_4xx/usr/bin/../
cc1 -quiet -nostdinc= -v -I/home/joy/work/ppc/partikle//user/ulibc/include -imultilib m403/pic -= iprefix /eldk4.2/ppc_4xx/usr/bin/../lib/gcc/powerpc-linux/4.2.2/ -D__unix__ -D__gnu_linux__ -D__linux__ -Dunix -D__unix -Dlinux -D__linux -Asystem=3Dlinux -Asystem=3Dunix -Asystem=3Dposix -Dxm_ppc440 fifo.c -quiet -dumpbase fifo.c -mcpu=3D403 -auxbase-strip fifo.o -O2 -Wall -Wno-pointer-sign -version -fexceptions -fno-builtin -fno-strict-aliasing -fPIC -fno-stack-protector -fomit-frame-pointer -o /tmp/ccOIjGSh.s
=A0as -m403 -V -Qy -K PIC -o fifo.o /tmp/ccOIjGSh.s
<= br>
Is there someone know why this is happend and how to resolve it?Thank you.

--
Best wishes

=A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Pu Yiqiao(Joy)


--0016362839e6c0cd3e047723bf9b--