From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Wed, 03 Nov 2010 19:27:05 +0100 Subject: [U-Boot] [PATCH V3 1/3] arm926ejs: fix linker file for newer ld support In-Reply-To: <1288808663-15074-1-git-send-email-albert.aribaud@free.fr> References: <1288808663-15074-1-git-send-email-albert.aribaud@free.fr> Message-ID: <4CD1A979.7000500@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 03/11/2010 19:24, Albert Aribaud a ?crit : > 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. > > Signed-off-by: Albert Aribaud > --- > V1 Initial submission > V2 arm926ejs: added ALIGN between bss and .rel.dyn sections > tx25: removed GOT and datarel output sections > tx25: fixed typo in config file commit message > V3 arm926ejs: overlaied .bss and .rel.dyn sections > tx25: overlaied .bss and .rel.dyn sections (sorry for the typos) People with arm926ejs based boards and with tx25 boards please test: I cannot test on tx25, and I cannot test right now. This *should* make the RAM footprint and the FLASH/NAND footprint minimal by overlaying the BSS and relocation table. Amicalement, -- Albert.