Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752828AbZDZWTg (ORCPT ); Sun, 26 Apr 2009 18:19:36 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751235AbZDZWT1 (ORCPT ); Sun, 26 Apr 2009 18:19:27 -0400 Received: from BISCAYNE-ONE-STATION.MIT.EDU ([18.7.7.80]:47686 "EHLO biscayne-one-station.mit.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750920AbZDZWT0 (ORCPT ); Sun, 26 Apr 2009 18:19:26 -0400 Date: Sun, 26 Apr 2009 18:18:48 -0400 (EDT) From: Anders Kaseorg To: Sam Ravnborg cc: Tim Abbott , Linus Torvalds , Linux kernel mailing list , Waseem Daher , Denys Vlasenko , Rusty Russell , Andi Kleen , "H. Peter Anvin" , Stephen Rothwell , Jeff Arnold , Andrew Morton , Jon Masters , Masami Hiramatsu , "Theodore Ts'o" , Nikanth Karthikesan , Arjan van de Ven , Paul Mundt , =?UTF-8?Q?Am=C3=A9rico_Wang?= , Ralf Baechle , Kyle McMartin , David Howells Subject: Re: [PATCH 15/15] modpost: convert modpost to use HEAD_TEXT_SECTION macro. In-Reply-To: <20090426113042.GN28642@uranus.ravnborg.org> Message-ID: References: <1240711870-30505-6-git-send-email-tabbott@mit.edu> <1240711870-30505-7-git-send-email-tabbott@mit.edu> <1240711870-30505-8-git-send-email-tabbott@mit.edu> <1240711870-30505-9-git-send-email-tabbott@mit.edu> <1240711870-30505-10-git-send-email-tabbott@mit.edu> <1240711870-30505-11-git-send-email-tabbott@mit.edu> <1240711870-30505-12-git-send-email-tabbott@mit.edu> <1240711870-30505-13-git-send-email-tabbott@mit.edu> <1240711870-30505-14-git-send-email-tabbott@mit.edu> <1240711870-30505-15-git-send-email-tabbott@mit.edu> <20090426113042.GN28642@uranus.ravnborg.org> User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Flag: NO X-Spam-Score: 0.00 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1056 Lines: 26 On Sun, 26 Apr 2009, Sam Ravnborg wrote: > I have seen linkers that added a number after the section names > in certain situations. Often this is due to mix of sections > with different flags ("ax" versus no "ax"). > This is the background for the wildcard. > > With your patchset we should not see any such users - but we > should then warn if they showed up anyway if we do not silently > support them. Right, that is exactly the purpose of my [PATCH] modpost: Check the section flags, not name, to catch missing "ax"/"aw" which is also the second patch in this thread (as [PATCH v3 2/3]). This patch also catches some possible bugs that the existing check misses, even without -ffunction-sections, so it would be nice to get it merged independently. Anders -- 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/