Re: [U-Boot] [PATCH RFC] Fix build problems caused by "_end" -> "__bss_end__" rename

2011-03-29 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <4d90ba8b.3080...@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

Re: [U-Boot] [PATCH RFC] Fix build problems caused by "_end" -> "__bss_end__" rename

2011-03-28 Thread Albert ARIBAUD
Le 28/03/2011 10:40, Wolfgang Denk a écrit : > 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__' > > As a workaround (in

Re: [U-Boot] [PATCH RFC] Fix build problems caused by "_end" -> "__bss_end__" rename

2011-03-28 Thread Wolfgang Denk
Dear Po-Yu Chuang, In message you wrote: > > > No, I mean exactly what I wrote. On PPC I do not see any _end (with > > your previous patch), only the symbols defined in the linker script. > > All those symbols come from default linker script in one of > ${toolchain}/arm-none-linux-gnueabi/lib/

Re: [U-Boot] [PATCH RFC] Fix build problems caused by "_end" -> "__bss_end__" rename

2011-03-28 Thread Po-Yu Chuang
Hi Wolfgang, On Mon, Mar 28, 2011 at 4:54 PM, Wolfgang Denk wrote: > Dear Po-Yu Chuang, > > In message you > wrote: >> >> > What I really do not understand is why we don't see the same type of >> > undefined reference errors on ARM? =C2=A0ALso, on ARM we see __bss_end__ >> > and _bss_end__, and

Re: [U-Boot] [PATCH RFC] Fix build problems caused by "_end" -> "__bss_end__" rename

2011-03-28 Thread Wolfgang Denk
Dear Po-Yu Chuang, In message you wrote: > > > What I really do not understand is why we don't see the same type of > > undefined reference errors on ARM? =C2=A0ALso, on ARM we see __bss_end__ > > and _bss_end__, and __bss_start und __bss_start__ - where are the > > other names coming from? [On

Re: [U-Boot] [PATCH RFC] Fix build problems caused by "_end" -> "__bss_end__" rename

2011-03-28 Thread Po-Yu Chuang
Hi Wolfgang, On Mon, Mar 28, 2011 at 4:40 PM, Wolfgang Denk 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__'

[U-Boot] [PATCH RFC] Fix build problems caused by "_end" -> "__bss_end__" rename

2011-03-28 Thread Wolfgang Denk
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__' As a workaround (instead of introducing linker scripts) we can add a --defsy