[U-Boot] [PATCH] Switch from archive libraries to partial linking

Andreas Bießmann
2010-11-09T06:17:53Z

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@gmail.com>

regards

Andreas Bie?mann