[U-Boot] U-Boot Relocation (all sections, not just .text)

Andrew Dyer amdyer at gmail.com
Fri Oct 10 17:06:59 CEST 2008


On Fri, Oct 10, 2008 at 6:55 AM, Haavard Skinnemoen
<haavard.skinnemoen at atmel.com> wrote:
> "Graeme Russ" <graeme.russ at gmail.com> wrote:
>>  - Am I looking at the problem the wrong way?
>
> No, I think you're on the right track.
>
>>  - Has anyone here looked into making U-Boot 100% relocatable before?
>
> I've looked at it briefly and come to the conclusion that -pie is
> probably the way to go. But I haven't written any code to confirm this.

There was a long thread about this a while ago (and others longer ago)

http://news.gmane.org/find-root.php?message_id=%3cf608b67d0807231039i434e96dbvda86590776db2cb0%40mail.gmail.com%3e

I think the upshot was that the behavior of different versions of gcc
was varied enough that it was hit or miss whether things would work
depending on architecture, and versions of gcc, linker, etc, but I
confess I didn't wade through all the details

-- 
Hardware, n.:
        The parts of a computer system that can be kicked.


More information about the U-Boot mailing list