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


_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

Reply via email to