From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17407 invoked by alias); 5 May 2011 13:21:38 -0000 Received: (qmail 17376 invoked by uid 22791); 5 May 2011 13:21:35 -0000 X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST X-Spam-Check-By: sourceware.org Received: from mail-px0-f171.google.com (HELO mail-px0-f171.google.com) (209.85.212.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 05 May 2011 13:21:19 +0000 Received: by pxi7 with SMTP id 7so1463389pxi.30 for ; Thu, 05 May 2011 06:21:18 -0700 (PDT) Received: by 10.68.46.195 with SMTP id x3mr3214890pbm.442.1304601678615; Thu, 05 May 2011 06:21:18 -0700 (PDT) Received: from bubble.grove.modra.org ([115.187.252.19]) by mx.google.com with ESMTPS id m10sm1438373pbf.8.2011.05.05.06.21.17 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 05 May 2011 06:21:18 -0700 (PDT) Received: by bubble.grove.modra.org (Postfix, from userid 1000) id 3BEB6170C2B8; Thu, 5 May 2011 22:51:13 +0930 (CST) Date: Thu, 05 May 2011 13:21:00 -0000 From: Alan Modra To: Binutils Subject: Re: gas -Werror compilation break [Re: [patch ld bfd gas]: Handle linkonce for cfi generated debug_frame and eh_frame data] Message-ID: <20110505132113.GI7018@bubble.grove.modra.org> Mail-Followup-To: Binutils References: <4DB6E500.5030807@redhat.com> <20110427203457.GA12977@host1.jankratochvil.net> <4DC1EF60.5050308@gmail.com> <20110505084454.GH7018@bubble.grove.modra.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110505084454.GH7018@bubble.grove.modra.org> 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: 2011-05/txt/msg00064.txt.bz2 On Thu, May 05, 2011 at 06:14:54PM +0930, Alan Modra wrote: > I'll be committing the following instead, which I wrote a couple of > days ago but didn't get around to installing, or even writing a > changelog. Now committed with this ChangeLog entry. * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define. Use throughout file to conditionally compile code added 2011-04-26. (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used when SUPPORT_FRAME_LINKONCE. (get_cfi_seg): Likewise. Reintroduce old code for when not SUPPORT_FRAME_LINKONCE. (cfi_finish): Move get_cfi_seg calls out of loop when not SUPPORT_FRAME_LINKONCE. Avoid unused var warning. -- Alan Modra Australia Development Lab, IBM