]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
85xx: Ensure BSS segment isn't linked at address 0
authorPeter Tyser <ptyser@xes-inc.com>
Wed, 7 Oct 2009 16:45:00 +0000 (11:45 -0500)
committerWolfgang Denk <wd@denx.de>
Wed, 7 Oct 2009 22:33:47 +0000 (00:33 +0200)
commit3beb40c2473f0dd373231c723d88c51e46ad96f7
tree5f2deb25b25aefdff6e26e5ea132dbc1739c0e23
parent3469424cb6d939c7aedf1e0efdec44a797c0a18c
85xx: Ensure BSS segment isn't linked at address 0

When U-Boot is relocated from flash to RAM pointers are modified
accordingly.  However, pointers initialzed with NULL values should not
be modified so that they maintain their intended NULL value.  If the
BSS segment is linked at address 0 its address will not be
updated as necessary during relocation.

This is a temporary workaround.  The end goal is to add support to
U-Boot to dynamically locate the BSS at an arbitrary address at
runtime.  When the ability to fixup the BSS inteligently is
added, this workaround can be removed and the 85xx link script
can put the BSS at a fixed address at link time.

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
cpu/mpc85xx/u-boot.lds