ARM: Fix __bss_start and __bss_end in linker scripts
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 11 Apr 2013 05:43:21 +0000 (05:43 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 13 Apr 2013 20:37:20 +0000 (22:37 +0200)
commitf84a7b8f54db51172a50926be8b2224413977f75
treeefa2e78aa939e07934c048a6cd21a568c003c8e5
parent4411b2aea7aa06d7b4aa5f4a7b36957af9b95e08
ARM: Fix __bss_start and __bss_end in linker scripts

Commit 3ebd1cbc introduced compiler-generated __bss_start
and __bss_end__ and commit c23561e7 rewrote all __bss_end__
as __bss_end. Their merge caused silent and harmless but
potentially bug-inducing clashes between compiler- and linker-
generated __bss_end symbols.

Make __bss_end and __bss_start compiler-only, and create
__bss_base and __bss_limit for linker-only use.

Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Reported-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
arch/arm/cpu/ixp/u-boot.lds
arch/arm/cpu/u-boot.lds
board/actux1/u-boot.lds
board/actux2/u-boot.lds
board/actux3/u-boot.lds
board/dvlhost/u-boot.lds
board/freescale/mx31ads/u-boot.lds