On Fri, 25 Jul 2008 06:28:16 +0200 Wolfgang Denk <[EMAIL PROTECTED]> wrote:
> In message <[EMAIL PROTECTED]> you wrote: > > > > Plus it's only defined for PowerPC. What do we do on the 11 other > > architectures? > > Fix them in the first place to do reloction at all? Er. How? The only thing this thread has come up with is a powerpc-only -mrelocatable option which apparently gives the magic word to the linker to have it emit dynamic relocations. We need similar options for 11 other architectures before we can even think about starting to utilize this in a generic manner. > > 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 ------------------------------------------------------------------------- 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