Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 10 Jan 2003 04:31:05 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 10 Jan 2003 04:31:04 -0500 Received: from TYO202.gate.nec.co.jp ([202.32.8.202]:52626 "EHLO TYO202.gate.nec.co.jp") by vger.kernel.org with ESMTP id ; Fri, 10 Jan 2003 04:31:03 -0500 To: Rusty Russell Cc: linux-kernel@vger.kernel.org Subject: Re: [PATCH] Prevent .gnu.linkonce.this_module section from being merged with other sections References: <20030110091012.0E15E2C2AF@lists.samba.org> Reply-To: Miles Bader System-Type: i686-pc-linux-gnu Blat: Foop From: Miles Bader Date: 10 Jan 2003 18:39:39 +0900 In-Reply-To: <20030110091012.0E15E2C2AF@lists.samba.org> Message-ID: 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: 881 Lines: 18 Rusty Russell writes: > > +++ linux-2.5.55-moo/Makefile 2003-01-09 14:07:36.000000000 +0900 > > -LDFLAGS_MODULE = -r > > +LDFLAGS_MODULE = -r --unique=.gnu.linkonce.this_module > > No! Does this not work? > > +++ working-2.5.55-strlen/arch/v850/Makefile 2003-01-10 19:32:09.000000000 +1100 > +LDFLAGS_MODULE += --unique=.gnu.linkonce.this_module That'll probably work too. [Though since the module loader depends on .gnu.linkonce.this_module being a unique section, I think the global option should be OK as well] -Miles -- Is it true that nothing can be known? If so how do we know this? -Woody Allen - 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/