On Fri, 2008-07-25 at 11:10 +0200, Haavard Skinnemoen wrote:
> On Fri, 25 Jul 2008 06:28:16 +0200
> Wolfgang Denk <[EMAIL PROTECTED]> wrote:
> 
> > In message <[EMAIL PROTECTED]> you wrote:
> > > We could build u-boot as a shared library I guess, but that feels a bit
> > > weird...
> > 
> > Shared? Shared by what?
> 
> An ELF shared library has the dynamic relocations we need. So if we
> build u-boot as an .so file, it should work in theory on most
> architectures.
> 
> Haavard
> 

well the elf binary of u-boot obviously has everything we need
regardless of what options it was compiled with. If we had a full linker
at runtime we could just do a relink to whatever address we wanted. 

It sounds a bit easier to just loop over a list of pointers and change
the values than to implement a complete linker but maybe that is just
me.





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to