Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755491AbZDZL2n (ORCPT ); Sun, 26 Apr 2009 07:28:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753232AbZDZL2e (ORCPT ); Sun, 26 Apr 2009 07:28:34 -0400 Received: from pfepa.post.tele.dk ([195.41.46.235]:38657 "EHLO pfepa.post.tele.dk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751090AbZDZL2e (ORCPT ); Sun, 26 Apr 2009 07:28:34 -0400 Date: Sun, 26 Apr 2009 13:30:42 +0200 From: Sam Ravnborg To: Tim Abbott Cc: Linus Torvalds , Linux kernel mailing list , Anders Kaseorg , 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 , =?iso-8859-1?Q?Am=E9rico?= Wang , Ralf Baechle , Kyle McMartin , David Howells Subject: Re: [PATCH 15/15] modpost: convert modpost to use HEAD_TEXT_SECTION macro. Message-ID: <20090426113042.GN28642@uranus.ravnborg.org> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1240711870-30505-15-git-send-email-tabbott@mit.edu> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1033 Lines: 24 On Sat, Apr 25, 2009 at 10:11:10PM -0400, Tim Abbott wrote: > Using the HEAD_TEXT_SECTION macro in modpost requires including a few > more files from the linux headers. > > The entry in head_sections[] ".head.text*" should be ".head.text", > since only that section name is actually used by any architectures. I > corrected this since preserving this over-broad pattern would have > involved some string concatination nastiness. 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. Sam -- 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/