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

Albert ARIBAUD
2010-11-20T08:48:47Z

Le 20/11/2010 09:38, Wolfgang Denk a ?crit :
> Dear Mike Frysinger,
>
> In message<201011191908.00162.vapier@gentoo.org> you wrote:

>> sizes can be a bit large. if everyone was using -ffunction-sections/-fdata-
>> sections
>
> ? Could you please complete that sentence?

I believe the idea is that with these options, the build produces not
one single input section for all code and one single input section for
all data of a given object file, but one input section per function and
one input section per variable, thus allowing the linker file to
fin-grain-tune the content of the isolated sector(s), specifying exactly
which function or (initialized) data would go in there.

Amicalement,
--
Albert.