Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751689Ab3HBECU (ORCPT ); Fri, 2 Aug 2013 00:02:20 -0400 Received: from intranet.asianux.com ([58.214.24.6]:20250 "EHLO intranet.asianux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750777Ab3HBECS (ORCPT ); Fri, 2 Aug 2013 00:02:18 -0400 X-Spam-Score: -100.8 Message-ID: <51FB2F08.5010600@asianux.com> Date: Fri, 02 Aug 2013 12:01:12 +0800 From: Chen Gang User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 MIME-Version: 1.0 To: Rusty Russell CC: James Hogan , mmarek@suse.cz, Sam Ravnborg , Paul Gortmaker , Andrew Morton , "linux-kernel@vger.kernel.org" , Linux-sh list Subject: Re: [PATCH] scripts/mod/modpost.c: permit '.cranges' secton for sh64 architecture. References: <51F9F5AB.6030002@asianux.com> <871u6c4yjq.fsf@rustcorp.com.au> In-Reply-To: <871u6c4yjq.fsf@rustcorp.com.au> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1385 Lines: 51 On 08/02/2013 10:27 AM, Rusty Russell wrote: > 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. > Thank you too. > 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 > > -- Chen Gang -- 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/