From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sat, 20 Nov 2010 09:48:47 +0100 Subject: [U-Boot] [PATCH v3] Switch from archive libraries to partial linking In-Reply-To: <20101120083844.79CA014E648@gemini.denx.de> References: <1289253872-16891-1-git-send-email-sebastien.carlier@gmail.com> <4CE61AD5.50900@free.fr> <20101119080354.DF0DB14EA7E@gemini.denx.de> <201011191908.00162.vapier@gentoo.org> <20101120083844.79CA014E648@gemini.denx.de> Message-ID: <4CE78B6F.3090509@free.fr> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.