From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] PowerPC -mrelocatable
Date: Tue, 8 Sep 2009 13:29:35 -0400 [thread overview]
Message-ID: <200909081329.37678.vapier@gentoo.org> (raw)
In-Reply-To: <1252426573.6005.253.camel@localhost.localdomain>
On Tuesday 08 September 2009 12:16:13 Peter Tyser wrote:
> I did some debug on gcc 3.4.3/binutils2.3.4/glibc2.15 which was a known
> non-working setup on an MPC8548-based board. I'm 98% sure the the
> reason it fails because it doesn't properly generate .fixup sections.
> No .fixup sections are present in any of the compiled objects or u-boot.
> This results in the link script variable '__fixup_entries' equalling 0,
> so no relocation fixups are performed on bootup (eg see line 943 in
> cpu/mpc85xx/start.S).
>
> It looks like this was a gcc bug that has been fixed:
> http://gcc.gnu.org/ml/gcc-cvs/2004-12/msg00057.html
>
> ...
>
> My vote would be to find out which version of gcc contains the
> relocation bug and spit out an error if gcc < than that version is used.
> We could also try and get fancy and dynamically turn on/off relocation
> support at compile time based on gcc's version if other's wanted to
> maintain support for older compilers. These changes would only be for
> ppc at this point btw.
or run readelf on the objects that are known to not generate fixup stuff and
error out if they're missing in the objects ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20090908/a6ff89a6/attachment.pgp
next prev parent reply other threads:[~2009-09-08 17:29 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-25 7:02 [U-Boot] Phy lib again Michal Simek
2009-08-25 7:08 ` Stefan Roese
2009-08-25 7:14 ` Michal Simek
2009-08-25 16:48 ` Ben Warren
2009-08-26 7:27 ` Michal Simek
2009-08-25 9:23 ` Jean-Christophe PLAGNIOL-VILLARD
2009-08-26 20:13 ` [U-Boot] [RFC PATCH 1/3] net: rework the mii support Jean-Christophe PLAGNIOL-VILLARD
2009-08-26 20:13 ` [U-Boot] [RFC PATCH 2/3] net: add phylib implementation Jean-Christophe PLAGNIOL-VILLARD
2009-08-26 20:13 ` [U-Boot] [RFC PATCH 3/3] phylib: add generic phy driver Jean-Christophe PLAGNIOL-VILLARD
2009-08-27 1:58 ` Mike Frysinger
2009-08-27 1:55 ` [U-Boot] [RFC PATCH 2/3] net: add phylib implementation Mike Frysinger
2009-08-27 5:11 ` Stefan Roese
2009-08-27 5:54 ` Mike Frysinger
2009-08-27 15:38 ` Scott Wood
2009-08-27 15:56 ` Peter Tyser
2009-08-27 17:49 ` [U-Boot] PowerPC -mrelocatable Scott Wood
2009-08-27 19:36 ` Joakim Tjernlund
2009-09-08 16:16 ` Peter Tyser
2009-09-08 17:29 ` Mike Frysinger [this message]
2009-09-08 18:20 ` Wolfgang Denk
2009-09-09 8:04 ` Joakim Tjernlund
2009-09-11 22:52 ` Peter Tyser
2009-08-27 19:13 ` [U-Boot] [RFC PATCH 2/3] net: add phylib implementation Mike Frysinger
2009-08-27 19:16 ` Scott Wood
2009-08-27 1:16 ` [U-Boot] [RFC PATCH 1/3] net: rework the mii support Mike Frysinger
2009-08-27 15:44 ` Ben Warren
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=200909081329.37678.vapier@gentoo.org \
--to=vapier@gentoo.org \
--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