From: Wolfgang Denk Date: Mon, 22 Nov 2010 08:11:01 +0100 Subject: [U-Boot] [PATCH 6/7] POWERPC: enable --gc-sections and -ffunction-sections -fdata-sections In-Reply-To: <1290378684.20072.125.camel@petert> References: <1290373420-3053-1-git-send-email-wd@denx.de> <1290373420-3053-7-git-send-email-wd@denx.de> <1290378684.20072.125.camel@petert> Message-ID: <20101122071101.32EB8B191@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Peter Tyser, In message <1290378684.20072.125.camel@petert> you wrote: > > > The best (but unfortunately not easiest) approach to address this > > problem is to enable -ffunction-sections (and -ffunction-sections) so > > 's/function-sections/data-sections/' in the 2nd location above. Oops. Copy & paste ;-) > The above changes already exist in arch/powerpc/cpu/mpc85xx/config.mk > and arch/powerpc/cpu/mpc86xx/config.mk. It'd be nice to remove those > references in this patch so they aren't duplicated. Right. Thanks for pointing out. v2 on the way. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Syntactic sugar causes cancer of the semicolon. - Epigrams in Programming, ACM SIGPLAN Sept. 1982