linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Pu Yiqiao <heyanandsu@gmail.com>
To: linuxppc-dev@ozlabs.org
Subject: R_PPC_PLTREL24 reloc against local symbol
Date: Fri, 30 Oct 2009 10:35:31 +0100	[thread overview]
Message-ID: <231e15c10910300235y6b2332a6na587060f98814a3e@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1011 bytes --]

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)

[-- Attachment #2: Type: text/html, Size: 1127 bytes --]

                 reply	other threads:[~2009-10-30  9:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=231e15c10910300235y6b2332a6na587060f98814a3e@mail.gmail.com \
    --to=heyanandsu@gmail.com \
    --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).