Thread (68 messages) 68 messages, 13 authors, 2007-07-11

Re: [x86 setup 16/33] String-handling functions for the new x86 setup code.

From: Segher Boessenkool <hidden>
Date: 2007-07-10 21:14:59
Also in: lkml

quoted
quoted
Nope.  The builtins not only vary between gcc versions, but they  
also
have a nasty tendency to generate calls to library functions,  
sometimes
libgcc functions.  Hence -ffreestanding.
-ffreestanding will still generate calls to libgcc functions.
-ffreestanding doesn't disable _all_ of the C library, either.
No, it doesn't, but it does inhibit builtin functions, and so  
provides a
bit more ABI stability.
Yes, Linux should definitely be compiled with -ffreestanding,
it isn't a hosted application after all ;-)


Segher
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help