Re: Cleanup possibility in asm-i386/string.h

From: Roman Zippel
Date: Fri Feb 10 2006 - 09:45:00 EST


Hi,

On Fri, 10 Feb 2006, Andi Kleen wrote:

> > #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?
>
> Ok I can fix that. Just removing the defines should be ok i guess
> (afaik gcc detects them automatically as the builtin)

Not with -freestanding.

> I don't know if the freestanding in the main Makefile isn't needed
> for other architectures so I won't touch it right now.

Well, it was added for x86-64...
It shouldn't break anything, that isn't already broken.

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