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

From: Arjan van de Ven
Date: Sun Jan 09 2005 - 15:35:02 EST


On Sun, 2005-01-09 at 12:19 -0800, Linus Torvalds wrote:
>
> On Sun, 9 Jan 2005, Arjan van de Ven wrote:
> >
> > Instead of fixing this inconsistency, I decided to remove it entirely,
> > explicit memcpy() and memmove() are prefered anyway (welcome to the 1990's)
> > and nothing in the kernel is using these functions, so this saves code size
> > as well for everyone.
>

> Gcc _used_ to have a target-specific "do I use bcopy or memcpy" setting,
> and I just don't know if that is still true. I also don't know if it
> affected any other platforms than alpha (I would assume that it matched
> "target has BSD heritage", and that would likely mean HP-UX too)

actually I think that is called -ffreestanding, and
ChangeSet 1.2088, 2005/01/04 21:29:33-08:00, bunk@xxxxxxxxx
added that to the compiler flags in your tree ....



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