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

Albert ARIBAUD albert.aribaud at free.fr
Sat Nov 20 09:48:47 CET 2010


Le 20/11/2010 09:38, Wolfgang Denk a écrit :
> Dear Mike Frysinger,
>
> In message<201011191908.00162.vapier at 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.


More information about the U-Boot mailing list