[PATCH v2 2/2] powerpc new toolchains fix (crt.S)

Anton Vorontsov cbouatmailru at gmail.com
Thu May 13 15:07:43 EDT 2010

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! :-)


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


Anton Vorontsov
email: cbouatmailru at gmail.com

More information about the kexec mailing list