[U-Boot] [PATCH v2] 85xx: Move to a common linker script

Wolfgang Denk wd at denx.de
Tue Sep 8 21:35:57 CEST 2009


Dear Kumar Gala,

In message <1249997451-21265-1-git-send-email-galak at kernel.crashing.org> you wrote:
> There are really no differences between all the 85xx linker scripts so
> we can just move to a single common one.  Board code is still able to
> override the common one if need be.
> 
> Signed-off-by: Kumar Gala <galak at kernel.crashing.org>
> ---

This commit breaks building TQM85xx boards.


Before this commit:

	-> git-describe
	v2009.08-rc3-56-g87c7661
	-> ./MAKEALL TQM8555
	... TQM8555 (MPC8555)
	Configuring for TQM85xx board...
	   text    data     bss     dec     hex filename
	 220096   16140   34552  270788   421c4 ./u-boot


After this commit:

	-> git-describe
	v2009.08-rc3-57-gec79d33
	-> ./MAKEALL TQM8555
	... TQM8555 (MPC8555)
	Configuring for TQM85xx board...
	ppc_6xx-ld: u-boot: section .text lma 0xfffc0000 overlaps previous sections
	ppc_6xx-ld: u-boot: section .rodata lma 0xfffebe3c overlaps previous sections
	ppc_6xx-ld: u-boot: section .reloc lma 0xffff5a00 overlaps previous sections
	ppc_6xx-ld: u-boot: section .data lma 0xffff6fe8 overlaps previous sections
	ppc_6xx-ld: u-boot: section .data.rel.ro.local lma 0xffff7cbc overlaps previous sections
	ppc_6xx-ld: u-boot: section .data.rel lma 0xffff7d1c overlaps previous sections
	ppc_6xx-ld: u-boot: section .data.rel.local lma 0xffff86b8 overlaps previous sections
	ppc_6xx-ld: u-boot: section .u_boot_cmd lma 0xffff93e8 overlaps previous sections
	   text    data     bss     dec     hex filename
	 220096   16140   34552  270788   421c4 ./u-boot


Please help.

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
In the beginning, I was made. I didn't ask to be made. No one consul-
ted with me or considered my feelings  in  this  matter.  But  if  it
brought  some  passing fancy to some lowly humans as they haphazardly
pranced their way through life's mournful jungle, then so be it.
- Marvin the Paranoid Android


More information about the U-Boot mailing list