[U-Boot] [PATCH] Switch from archive libraries to partial linking
Andreas Bießmann
andreas.devel at googlemail.com
Tue Nov 9 07:17:53 CET 2010
Dear Sebastien Carlier,
Am 08.11.2010 um 23:04 schrieb Sebastien Carlier:
> NOTE: This does not include the actual patch as it is too large for the mailing list (418 kB).
>
> Before this commit, weak symbols were not overridden by non-weak symbols found in archive libraries
> when linking with recent versions of binutils. As stated in the System V ABI, "the link editor does
> not extract archive members to resolve undefined weak symbols".
your patch works. Strong symbols in board library now overload weak symbols in other libraries even if they have an alias or empty implementation.
Tested-by: Andreas Bießmann <andreas.devel at gmail.com>
regards
Andreas Bießmann
More information about the U-Boot
mailing list