From: Kate Alhola <kate@iti.fi>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Compiling relocatable code and DATA for PPC
Date: Wed, 24 Mar 2004 16:47:11 +0200 [thread overview]
Message-ID: <40619F6F.40605@iti.fi> (raw)
I have been trying to find out right options to configure gcc to produce
data and code
relocatable code for mpc5xx. The -fpic -meabi -msdata=eabi -G10000
does code as relocatable but data is still absolute. -fpic is incompatible
with -msdata=eabi so they can't be used at same time.
based on gcc documentations -msdata=eabi -G10000 should
put data so long that it is smaller than valu give in -G option
to relative to r2 or r3 but i have not suceeded to do it.
I have been using gcc for producing absolute code for PPC many, many years
but now i have need to load dynamically code for non mmu PPC (mpc555).
All examples that i have found uses static addresses. Also using
google i have not found any answers.
I have tried many forums to find answer but i am still trying to find
it. Also i am happy to get pointers to forums/places where i can continue
my search.
Kate
next reply other threads:[~2004-03-24 14:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-24 14:47 Kate Alhola [this message]
2004-03-24 15:22 ` [U-Boot-Users] Compiling relocatable code and DATA for PPC Wolfgang Denk
2004-03-25 9:13 ` Kate Alhola
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=40619F6F.40605@iti.fi \
--to=kate@iti.fi \
--cc=u-boot@lists.denx.de \
/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