From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Wed, 17 Nov 2010 13:06:49 -0500 Subject: [U-Boot] [PATCH v3] Switch from archive libraries to partial linking In-Reply-To: <20101117133056.GB23875@safe.home.local> References: <1289253872-16891-1-git-send-email-sebastien.carlier@gmail.com> <20101115105407.2A24714EA7E@gemini.denx.de> <20101117133056.GB23875@safe.home.local> Message-ID: <201011171306.52296.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wednesday, November 17, 2010 08:30:56 Sebastien Carlier wrote: > On 2010-11-15 11:54:07, Wolfgang Denk wrote: > > I notice that the patch affects the size of the resulting U-Boot > > images. > > The size increase you noted seems to completely go away when adding > --gc-sections to LDFLAGS, but this option apparently brings its own > issues when the linker discards important unreferenced bits: > > http://www.mail-archive.com/u-boot at lists.denx.de/msg41762.html > http://www.mail-archive.com/u-boot at lists.denx.de/msg42063.html > > These problems can be fixed within linker scripts, but I think it might > be safer to use --gc-sections for diagnostic purposes only... it's really not that hard to fix things to work with --gc-sections (ive been using it on Blackfin for literally years at this point). people really should be driving to have that supported everywhere. -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20101117/e8cc8183/attachment.pgp