[U-Boot] Weak symbols: request for comments
Joakim Tjernlund
joakim.tjernlund at transmode.se
Fri Nov 5 13:04:55 CET 2010
>
> Dear Sebastien Carlier,
>
> Am 05.11.2010 11:39, schrieb Sebastien Carlier:
> > Hello all,
>
> > So, U-boot needs to be fixed. I can see the following ways forward:
> >
> > 1.1) Stop using weak symbols; use pre-initialized function pointers
> > instead (possibly grouped in a struct, for cleanliness).
> > This has the benefit of offering a clear interface and being
> > independent of toolchain details.
>
> sounds good to me despite of grouping. Isn't grouping tough due to
> different weak functions for each architecture?
This will build more size and relocations and you get fixups too
which are/will be bad for code that runs before relocation.
Jocke
More information about the U-Boot
mailing list