From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27184 invoked by alias); 9 Feb 2012 05:27:10 -0000 Received: (qmail 27171 invoked by uid 22791); 9 Feb 2012 05:27:08 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-pw0-f41.google.com (HELO mail-pw0-f41.google.com) (209.85.160.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Feb 2012 05:26:53 +0000 Received: by pbcwz17 with SMTP id wz17so1300646pbc.0 for ; Wed, 08 Feb 2012 21:26:53 -0800 (PST) Received: by 10.68.216.135 with SMTP id oq7mr2035409pbc.94.1328765213205; Wed, 08 Feb 2012 21:26:53 -0800 (PST) Received: from bubble.grove.modra.org ([115.187.252.19]) by mx.google.com with ESMTPS id e10sm3579884pbv.0.2012.02.08.21.26.49 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Feb 2012 21:26:51 -0800 (PST) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id B0582170C2EA; Thu, 9 Feb 2012 15:56:42 +1030 (CST) Date: Thu, 09 Feb 2012 05:27:00 -0000 From: Alan Modra To: Catherine Moore Cc: binutils@sourceware.org Subject: Re: PING Re: [RFA] Linker script extension SECTION_FLAGS Message-ID: <20120209052642.GQ22267@bubble.grove.modra.org> Mail-Followup-To: Catherine Moore , binutils@sourceware.org References: <4DD41EB0.6040300@codesourcery.com> <4DDC37D2.3030700@codesourcery.com> <4DED4E64.6080507@codesourcery.com> <4DEE2390.2030309@redhat.com> <4E025F3A.6020003@codesourcery.com> <4E09BCFF.2030208@redhat.com> <4E0CE648.2080105@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E0CE648.2080105@codesourcery.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00063.txt.bz2 On Thu, Jun 30, 2011 at 05:10:32PM -0400, Catherine Moore wrote: [snip] > (input_section_spec_no_keep): Add alternatives to recognize > sect_flags. [snip] A compiler warning about 'tmp' set but not used prompted this patch. Applied mainline. * ldgram.y (input_section_spec_no_keep): Don't ignore sect_flags. Index: ld/ldgram.y =================================================================== RCS file: /cvs/src/src/ld/ldgram.y,v retrieving revision 1.66 diff -u -p -r1.66 ldgram.y --- ld/ldgram.y 11 Jul 2011 15:03:09 -0000 1.66 +++ ld/ldgram.y 9 Feb 2012 05:09:14 -0000 @@ -629,7 +629,7 @@ input_section_spec_no_keep: tmp.exclude_name_list = NULL; tmp.sorted = none; tmp.section_flag_list = $1; - lang_add_wild (NULL, $3, ldgram_had_keep); + lang_add_wild (&tmp, $3, ldgram_had_keep); } | wildcard_spec '(' file_NAME_list ')' { -- Alan Modra Australia Development Lab, IBM