This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: newlib on x86-64
- From: "Neal H. Walfield" <neal at walfield dot org>
- To: Jonathan Shapiro <shap at eros-os dot org>
- Cc: newlib at sourceware dot org
- Date: Wed, 04 Feb 2009 22:35:18 +0100
- Subject: Re: newlib on x86-64
- References: <87fxiu3kvo.wl%neal@walfield.org> <87eiye3kiz.wl%neal@walfield.org> <c46d4d430902040644p4b7f1179if80ca075f86e035e@mail.gmail.com>
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/