From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Fri, 05 Nov 2010 10:04:20 +0100 Subject: [U-Boot] [PATCH V4 1/2] arm926ejs: fix linker file for newer ld support In-Reply-To: <4CD3C278.1000802@emk-elektronik.de> References: <1288909332-26220-1-git-send-email-albert.aribaud@free.fr> <4CD3C278.1000802@emk-elektronik.de> Message-ID: <4CD3C894.8060902@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 05/11/2010 09:38, Reinhard Meyer a ?crit : > Dear Albert Aribaud, >> older ld emitted all ELF relocations in input sections named >> .rel.dyn, whereas newer ld uses names of the form .rel*. The >> linker script only collected .rel.dyn input sections. Rewrite >> to collect all .rel* input sections and overlay with .bss. >> >> Signed-off-by: Albert Aribaud >> --- > Thank you, > works fine with: > > gcc 4.2.4 (binary size 258700) > gcc 4.3.5 (binary size 251600 - nice!) > > (ARM9 AT91SAM9XE512, top9000, TOT u-boot-atmel at91cleanup-rework branch) Thanks for testing. The size reduction is due to the gcc ARM backend which has obviously undergone many improvements since gcc 4.2.x. Openrd_base goes from 376 to 360k, and edminiv2 (untested yet, though) from 152 to 144k when using the CS arm-2010q1-202 toolchain (4.4.1) instead of the ELDK 4.2 one (gcc 4.2.2). > Signed-off-by: Reinhard Meyer Did you mean 'Tested-by:'? Amicalement, -- Albert.