lkml.org 
[lkml]   [2006]   [Feb]   [10]   [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, Andi Kleen 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.
>
> It works fine on x86-64. If something is missing it can be also supplied.

I think I now see what the real problem was, x86-64 does:

#define strcpy __builtin_strcpy

which also renames the version in lib/string.c, so x86-64 never had a
fallback copy for __builtin_sprintf.
Can we please get rid of -freestanding and fix x86-64 instead?

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 14:08    [W:0.083 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site