lkml.org 
[lkml]   [2006]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Cleanup possibility in asm-i386/string.h
Hi,

On Fri, 10 Feb 2006, Adrian Bunk wrote:

> I remember playing with using more gcc builtins in the kernel some time
> ago, and some gcc builtin used a different library function, which was a
> function the kernel did not supply.
>
> I don't remember the exact details, but this was the reason why I
> preferred using builtins only when explicitely enabled.

gcc can turn a sprintf() into strcpy(), which is a valid thing to do even
in a kernel environment. It can be turned off selectively, if it should
be a problem, so using -free-standing is IMO complete overkill.

bye, Roman
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-10 01:59    [W:0.081 / U:1.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site