From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Fri, 12 Apr 2013 18:34:40 +0200 Subject: [U-Boot] [PATCH V2] ARM: Fix __bss_start and __bss_end in linker scripts In-Reply-To: <1365695002-1086-1-git-send-email-albert.u.boot@aribaud.net> References: <1365113633-31281-1-git-send-email-albert.u.boot@aribaud.net> <1365695002-1086-1-git-send-email-albert.u.boot@aribaud.net> Message-ID: <20130412183440.1db1a16c@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Albert, On Thu, 11 Apr 2013 17:43:21 +0200, Albert ARIBAUD 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 > Reported-by: Beno?t Th?baudeau > --- > 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.