[U-Boot] [PATCH V2] ARM: Fix __bss_start and __bss_end in linker scripts
Albert ARIBAUD
albert.u.boot at aribaud.net
Fri Apr 12 18:34:40 CEST 2013
Hi Albert,
On Thu, 11 Apr 2013 17:43:21 +0200, Albert ARIBAUD
<albert.u.boot at aribaud.net> wrote:
> 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-
> enerated __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 at aribaud.net>
> Reported-by: Benoît Thébaudeau <benoit.thebaudeau at advansee.com>
> ---
> Changes in v2:
> - remove HIDDEN(), not supported by binutils < 2.23
Any comments on this one? If not, I'll apply it to u-boot-arm/master
within a few hours.
Amicalement,
--
Albert.
More information about the U-Boot
mailing list