From: Wolfgang Denk Date: Tue, 29 Mar 2011 14:39:11 +0200 Subject: [U-Boot] [PATCH RFC] Fix build problems caused by "_end" -> "__bss_end__" rename In-Reply-To: <4D90BA8B.3080200@free.fr> References: <1301301631-6115-1-git-send-email-wd@denx.de> <4D90BA8B.3080200@free.fr> Message-ID: <20110329123911.63C84EDFFCE@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Albert ARIBAUD, In message <4D90BA8B.3080200@free.fr> you wrote: > > > Commit 44c6e65 "rename _end to __bss_end__ broke building of a large > > number of systems (at least all PowerPC?): > > > > libstubs.o: In function `app_startup': > > examples/standalone/stubs.c:197: undefined reference to `__bss_end__' ... > Hmm... The change from _end to __bss_end__ should not have been applied > to the standalone apps, I believe. They are not compiled with start.S > but with the standard lib, which will use _end. Good point. Will send an updated patch. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Any sufficiently advanced bug is indistinguishable from a feature. - Rich Kulawiec