
20 Nov
2010
20 Nov
'10
9:48 a.m.
Le 20/11/2010 09:38, Wolfgang Denk a écrit :
Dear Mike Frysinger,
In message201011191908.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.