Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261773AbVAIUnD (ORCPT ); Sun, 9 Jan 2005 15:43:03 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261759AbVAIUnC (ORCPT ); Sun, 9 Jan 2005 15:43:02 -0500 Received: from fw.osdl.org ([65.172.181.6]:1174 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S261773AbVAIUmu (ORCPT ); Sun, 9 Jan 2005 15:42:50 -0500 Date: Sun, 9 Jan 2005 12:42:42 -0800 (PST) From: Linus Torvalds To: Christoph Hellwig cc: Arjan van de Ven , Kernel Mailing List , Andrew Morton , Richard Henderson Subject: Re: removing bcopy... because it's half broken In-Reply-To: <20050109203459.GA28788@infradead.org> Message-ID: References: <20050109192305.GA7476@infradead.org> <20050109203459.GA28788@infradead.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 659 Lines: 20 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/