On Thu, May 13, 2010 at 07:27:59PM +0200, Segher Boessenkool wrote: > >Linker does not provide some vital functions when building > >freestanding > >applications with a new toolchain, > > That's because the compiler provides those functions, not the linker. > > >so we have to provide our own CRT. > > ...in libgcc. Why don't you link against that? For the same reason we don't link kernel against libgcc? I.e. just a matter of taste. There are two camps: those who argue against libgcc, and those who argue for libgcc. Hey! You were in this thread! :-) http://www.mail-archive.com/linuxppc-dev at lists.ozlabs.org/msg17224.html Purgatory is just a small (tiny) piece of code that runs between kernels. Whether use libgcc or not, personally, I have no strong opinion. Kexec didn't use it, so we kept it the same way. Thanks, -- Anton Vorontsov email: cbouatmailru at gmail.com irc://irc.freenode.net/bd2