From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Thu, 11 Apr 2013 19:59:20 +0200 Subject: [U-Boot] [PATCH] ARM: Fix __bss_start and __bss_end in linker scripts In-Reply-To: <5FBF8E85CA34454794F0F7ECBA79798F37ABC29C2F@HQMAIL04.nvidia.com> References: <1365113633-31281-1-git-send-email-albert.u.boot@aribaud.net> <436405570.1175811.1365116753714.JavaMail.root@advansee.com> <1194440159.1175839.1365117231970.JavaMail.root@advansee.com> <20130405015438.1382cb09@lilith> <1130429503.1176502.1365133495160.JavaMail.root@advansee.com> <20130405080043.531e1b3d@lilith> <20130405135302.GF32357@bill-the-cat> <515EF4D3.2030401@wwwdotorg.org> <5FBF8E85CA34454794F0F7ECBA79798F37ABC29C2F@HQMAIL04.nvidia.com> Message-ID: <20130411195920.6cc396ac@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 Tom, On Thu, 11 Apr 2013 10:52:08 -0700, Tom Warren wrote: > Albert, > > > -----Original Message----- > > From: Stephen Warren [mailto:swarren at wwwdotorg.org] > > Sent: Friday, April 05, 2013 8:59 AM > > To: Tom Rini > > Cc: Albert ARIBAUD; Scott Wood; u-boot at lists.denx.de; > > Stephen at theia.denx.de; Tom Warren; Simon Glass; Allen Martin > > Subject: Re: [U-Boot] [PATCH] ARM: Fix __bss_start and __bss_end in linker > > scripts > > I just fetched & merged TOT u-boot-arm (getting ready for a PR from u-boot-tegra -> u-boot-arm), and did a test build of all Tegra boards. > > I get the following linker (ld) error on all builds due to this commit (abbecf4c8, ARM: Fix __bss_start and __bss_end in linker scripts): > > arm-linux-gnueabi-ld.bfd:u-boot.lds:44: syntax error > > This is pointing to the 'HIDDEN(__bss_base = .);' lines added in this change (in the generated u-boot.lds in the root dir). > > I'm seeing this with both gcc 4.4.1/ld 2.19.51 and gcc 4.6.2/ld 2.22 tools. > > What compiler/binutils did you use to build/test this? This has been detected already, and one of the reasons why Tom and I decided to roll back ARM. Normally, you should have u-boot-arm/master = u-boot-arm/master = dd2445ec1b839a5ca61ff8438a5b7aebb21b7986. > Tom Amicalement, -- Albert.