[U-Boot-Users] [PATCH v2][for 1.3.4] mpc85xx: workaround oldbinutils bug

Zang Roy tie-fei.zang at freescale.com
Thu Aug 7 16:40:47 CEST 2008


 

> -----Original Message-----
> From: u-boot-users-bounces at lists.sourceforge.net 
> [mailto:u-boot-users-bounces at lists.sourceforge.net] On Behalf 
> Of Kumar Gala
> Sent: Thursday, August 07, 2008 10:28 PM
> To: Wolfgang Denk
> Cc: u-boot-users at lists.sourceforge.net
> Subject: [U-Boot-Users] [PATCH v2][for 1.3.4] mpc85xx: 
> workaround oldbinutils bug
> 
> The recent change to move the .bss outside of the image gives older
> binutils (ld from eldk4.1/binutils-2.16) some headache:
> 
> ppc_85xx-ld: u-boot: Not enough room for program headers 
> (allocated 3, need 4)
> ppc_85xx-ld: final link failed: Bad value
> 
> We workaround it by being explicit about the program headers and not
> assigning the .bss to a program header.
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---
Tested on CDS board.
The workaround is OK.
Roy




More information about the U-Boot mailing list