From: Wolfgang Denk Date: Tue, 29 Mar 2011 21:51:42 +0200 Subject: [U-Boot] [PATCH RFC v2] Fix build problems caused by "_end" -> "__bss_end__" rename In-Reply-To: <1301402371-8697-1-git-send-email-wd@denx.de> References: <4D90BA8B.3080200@free.fr> <1301402371-8697-1-git-send-email-wd@denx.de> Message-ID: <20110329195142.EF425EDFFCF@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 Po-Yu Chuang, In message <1301402371-8697-1-git-send-email-wd@denx.de> I 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__' > > The rename should not be done for the files in the > examples/standalone/ directory, as these are not using the code from > start.S, but do their own BSS clearing, and either use their own > linker scripts or the ones provided by the compilers. > > Signed-off-by: Wolfgang Denk > --- > V2: Instead of messing with linker defines, revert the patch in > question for the files in examples/standalone/ as suggested by > Albert Aribaud. (Thanks!) Only now I realize that you submitted the very same patch before. Stupid me. Does that mean that we have an agreement that this hould be the fix then? If yes, I would like to pull this in (Po-Yu Chuang's patch, that is). Do you agree? 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 A weak mind is like a microscope, which magnifies trifling things, but cannot receive great ones. -- Philip Earl of Chesterfield