Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757794Ab3HBD4N (ORCPT ); Thu, 1 Aug 2013 23:56:13 -0400 Received: from ozlabs.org ([203.10.76.45]:33907 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753019Ab3HBD4L (ORCPT ); Thu, 1 Aug 2013 23:56:11 -0400 From: Rusty Russell To: Chen Gang , James Hogan , mmarek@suse.cz, Sam Ravnborg , Paul Gortmaker Cc: Andrew Morton , "linux-kernel\@vger.kernel.org" , Linux-sh list Subject: Re: [PATCH] scripts/mod/modpost.c: permit '.cranges' secton for sh64 architecture. In-Reply-To: <51F9F5AB.6030002@asianux.com> References: <51F9F5AB.6030002@asianux.com> User-Agent: Notmuch/0.15.2+81~gd2c8818 (http://notmuchmail.org) Emacs/23.4.1 (i686-pc-linux-gnu) Date: Fri, 02 Aug 2013 11:57:37 +0930 Message-ID: <871u6c4yjq.fsf@rustcorp.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1258 Lines: 41 Chen Gang writes: > Need permit '.cranges' section for sh64 architecture, or modpost will > report warning: > > LD init/built-in.o > WARNING: init/built-in.o (.cranges): unexpected non-allocatable section. > Did you forget to use "ax"/"aw" in a .S file? > Note that for example contains > section definitions for use in .S files. > > > Signed-off-by: Chen Gang Applied. Thanks, Rusty. > --- > scripts/mod/modpost.c | 1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c > index 6216434..8247979 100644 > --- a/scripts/mod/modpost.c > +++ b/scripts/mod/modpost.c > @@ -821,6 +821,7 @@ static const char *section_white_list[] = > { > ".comment*", > ".debug*", > + ".cranges", /* sh64 */ > ".zdebug*", /* Compressed debug sections. */ > ".GCC-command-line", /* mn10300 */ > ".GCC.command.line", /* record-gcc-switches, non mn10300 */ > -- > 1.7.7.6 -- 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/