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

From: Andi Kleen
Date: Fri Feb 10 2006 - 10:20:04 EST


On Friday 10 February 2006 15:46, Roman Zippel wrote:
> 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.

True.

>
> > 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.

Ok i will remove it then.


Thanks,
-Andi
-
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/