From: kenneth johansson <kenneth@southpole.se>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Fixup entries
Date: Thu, 10 Apr 2008 01:00:04 +0200 [thread overview]
Message-ID: <1207782004.8774.6.camel@duo> (raw)
In-Reply-To: <005a01c89a5d$8e9c67b0$abd53710$@Tjernlund@transmode.se>
On Wed, 2008-04-09 at 18:19 +0200, Joakim Tjernlund wrote:
>
> > -----Original Message-----
> > From: Kenneth Johansson [mailto:kenneth at southpole.se]
> > Wonder if there is something else in u-boot that use function pointers
> > and work by accident due to the fact that the old address in flash is
> > still valid.
>
> Oh yes, there are a few such pointers. And the conversion to using fixups instead
> is a bit lazy. Several manual relocations has only been nullified by setting
> gd->reloc_off=0 instead of #ifdef:ing out the relevant code. Feel
> free to send patches :)
>
> Jocke
>
If by lazy you mean less error prone and obviously simpler :). clearly
using -mrelocatable is the smarter thing to do.
I had this misconception that the GOT was all that was needed for
relocation.
Could not find any useful information on what rules apply to gcc and
binutils for handling stuff in this fixup section.
Anybody have any information on this?
next prev parent reply other threads:[~2008-04-09 23:00 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-09 9:32 [U-Boot-Users] Fixup entries Kenneth Johansson
2008-04-09 11:23 ` Joakim Tjernlund
2008-04-09 14:46 ` Kenneth Johansson
2008-04-09 16:19 ` Joakim Tjernlund
2008-04-09 23:00 ` kenneth johansson [this message]
2008-04-09 23:03 ` Joakim Tjernlund
2008-04-09 23:52 ` kenneth johansson
2008-04-14 19:08 ` Kenneth Johansson
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=1207782004.8774.6.camel@duo \
--to=kenneth@southpole.se \
--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