Re: removing bcopy... because it's half broken

From: Linus Torvalds
Date: Sun Jan 09 2005 - 15:46:02 EST




On Sun, 9 Jan 2005, Christoph Hellwig wrote:
>
> We're building with -ffreestanding now, so gcc isn't allowed to emit
> any calls to standard library functions.

Bzzt. It still emits calls to libgcc.

It cannot _not_ do so. There are simply operations that gcc doesn't
generate native code for, ie divides on certain architectures etc.

And that very much includes bcopy/memcpy on most architectures.

Linus
-
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/