newlib on x86-64

Neal H. Walfield neal@walfield.org
Wed Feb 4 21:35:00 GMT 2009


At Wed, 4 Feb 2009 09:44:15 -0500,
Jonathan Shapiro wrote:
> There are good reasons for kernels *not* to use the standard libc code,
> which is why most kernel trees include a subset libc. While I think that
> newlib should consider the no-red-zone patches that you provide, doing so to
> support kernel use isn't an important motivation for adopting them.

As I understand it, it is not uncommon to use newlib in the kernel
proper.  For instance, RTEMS and Xen's Mini-OS [1] do this.  I think
at least the latter runs on x86-64 and compiles code with
-mno-red-zone.

Neal

[1] http://blog.xen.org/index.php/2008/08/28/xen-33-feature-stub-domains/



More information about the Newlib mailing list