From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27007 invoked by alias); 26 Feb 2011 00:48:29 -0000 Received: (qmail 26999 invoked by uid 22791); 26 Feb 2011 00:48:29 -0000 X-SWARE-Spam-Status: No, hits=-2.2 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-wy0-f169.google.com (HELO mail-wy0-f169.google.com) (74.125.82.169) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sat, 26 Feb 2011 00:48:25 +0000 Received: by wyi11 with SMTP id 11so2570441wyi.0 for ; Fri, 25 Feb 2011 16:48:22 -0800 (PST) Received: by 10.227.154.65 with SMTP id n1mr2714278wbw.2.1298681302775; Fri, 25 Feb 2011 16:48:22 -0800 (PST) Received: from [192.168.2.99] (cpc2-cmbg8-0-0-cust61.5-4.cable.virginmedia.com [82.6.108.62]) by mx.google.com with ESMTPS id w25sm1027237wbd.17.2011.02.25.16.48.21 (version=SSLv3 cipher=OTHER); Fri, 25 Feb 2011 16:48:21 -0800 (PST) Message-ID: <4D684DC3.5090607@gmail.com> Date: Sat, 26 Feb 2011 00:48:00 -0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "binutils@sourceware.org" Subject: Re: [4/6][PATCH] Fix issue from GCC PR47527: no ELF flags, EABI attribs, etc. in dummy IR BFD. References: <4D684CB8.6020106@gmail.com> <4D684D00.70803@gmail.com> <4D684D55.1090106@gmail.com> In-Reply-To: <4D684D55.1090106@gmail.com> Content-Type: multipart/mixed; boundary="------------040106070109060907010609" 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-02/txt/msg00336.txt.bz2 This is a multi-part message in MIME format. --------------040106070109060907010609 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-length: 52 On 26/02/2011 00:46, Dave Korn wrote: ENOPATCH! --------------040106070109060907010609 Content-Type: text/x-c; name="004ld-pr47527.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="004ld-pr47527.diff" Content-length: 970 >From 6b631342632bfdfde0577465ba4e0fd543b7e463 Mon Sep 17 00:00:00 2001 From: Dave Korn Date: Sat, 19 Feb 2011 23:48:10 +0000 Subject: [PATCH] Fix issue from GCC PR47527: no ELF flags, EABI attribs, etc. in dummy IR BFD. ld/ChangeLog: 2011-02-20 Dave Korn <... * ldlang.c (lang_check): Don't run checks on dummy IR BFDs. --- ld/ldlang.c | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/ld/ldlang.c b/ld/ldlang.c index b36dc6e..7a1753d 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -5753,6 +5753,11 @@ lang_check (void) for (file = file_chain.head; file != NULL; file = file->input_statement.next) { +#ifdef ENABLE_PLUGINS + /* Don't check format of files claimed by plugin. */ + if (file->input_statement.claimed) + continue; +#endif /* ENABLE_PLUGINS */ input_bfd = file->input_statement.the_bfd; compatible = bfd_arch_get_compatible (input_bfd, link_info.output_bfd, --------------040106070109060907010609--