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

Segher Boessenkool segher at kernel.crashing.org
Thu May 13 13:27:59 EDT 2010


> 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?

> p.s.
> Without the CRT we won't see any build errors (since the purgatory is
> linked with --no-undefined), but the purgatory code won't work,

It would be nice if the build would check if anything unexpectedly
undefined is left.


Segher




More information about the kexec mailing list