From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Sun, 10 Aug 2008 22:41:28 +0200 Subject: [U-Boot-Users] [PATCH v2][for 1.3.4] mpc85xx: workaround old binutils bug In-Reply-To: References: Message-ID: <20080810204129.063C5248AC@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 Kumar Gala, In message you wrote: > 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 > --- > > Fixes warning with older binutils > > board/freescale/mpc8540ads/u-boot.lds | 16 +++++++++++----- > board/freescale/mpc8541cds/u-boot.lds | 16 +++++++++++----- > board/freescale/mpc8544ds/u-boot.lds | 16 +++++++++++----- > board/freescale/mpc8548cds/u-boot.lds | 16 +++++++++++----- > board/freescale/mpc8555cds/u-boot.lds | 16 +++++++++++----- > board/freescale/mpc8560ads/u-boot.lds | 16 +++++++++++----- > board/freescale/mpc8568mds/u-boot.lds | 16 +++++++++++----- > 7 files changed, 77 insertions(+), 35 deletions(-) Applied, thanks. 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 I can't understand it. I can't even understand the people who can understand it. - Queen Juliana of the Netherlands.