Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264368AbTFIORG (ORCPT ); Mon, 9 Jun 2003 10:17:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264358AbTFIORG (ORCPT ); Mon, 9 Jun 2003 10:17:06 -0400 Received: from [156.26.20.182] ([156.26.20.182]:33478 "EHLO surf.cadcamlab.org") by vger.kernel.org with ESMTP id S264368AbTFIORF (ORCPT ); Mon, 9 Jun 2003 10:17:05 -0400 Date: Mon, 9 Jun 2003 09:29:56 -0500 To: Christoph Hellwig , Jaroslav Kysela , LKML , "kbuild-devel@lists.sourceforge.net" Subject: Re: 2.5 kbuild: use of '-z muldefs' for LD? Message-ID: <20030609142956.GH573@cadcamlab.org> References: <20030609130438.A6417@infradead.org> <20030609151945.A10352@infradead.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030609151945.A10352@infradead.org> User-Agent: Mutt/1.5.4i From: Peter Samuelson Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 635 Lines: 19 [Christoph Hellwig] > Well, if you want separate copies of it you have to make sure the > symbols won't clash, e.g. calling all functions in it > > MYPREFIX_foo > > and then do #define MYPREFIX KBUILD_MODNAME ...or just move everything into a header file as static functions. Inline, even, if the code is really trivial enough that you don't want to make a separate module of it. Peter - 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/