mpc85xx: workaround old binutils bug
authorKumar Gala <galak@kernel.crashing.org>
Thu, 7 Aug 2008 14:28:20 +0000 (09:28 -0500)
committerWolfgang Denk <wd@denx.de>
Sun, 10 Aug 2008 20:41:12 +0000 (22:41 +0200)
commitc11528083ef6e55e76df742228c26e39d151813d
tree0ba54455a5ef75491129ac3eb09a70ec4a2d30ea
parent0bf202ec586d4466c900e987720fa635c594d689
mpc85xx: workaround old binutils 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@kernel.crashing.org>
board/freescale/mpc8540ads/u-boot.lds
board/freescale/mpc8541cds/u-boot.lds
board/freescale/mpc8544ds/u-boot.lds
board/freescale/mpc8548cds/u-boot.lds
board/freescale/mpc8555cds/u-boot.lds
board/freescale/mpc8560ads/u-boot.lds
board/freescale/mpc8568mds/u-boot.lds