From patchwork Mon Jan 30 14:45:24 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Richard Earnshaw \(lists\)" X-Patchwork-Id: 92873 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1469220qgi; Mon, 30 Jan 2017 06:45:55 -0800 (PST) X-Received: by 10.84.197.1 with SMTP id m1mr32328728pld.123.1485787555284; Mon, 30 Jan 2017 06:45:55 -0800 (PST) Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id t12si12824173pfj.24.2017.01.30.06.45.55 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jan 2017 06:45:55 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-return-447456-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@gcc.gnu.org; spf=pass (google.com: domain of gcc-patches-return-447456-patch=linaro.org@gcc.gnu.org designates 209.132.180.131 as permitted sender) smtp.mailfrom=gcc-patches-return-447456-patch=linaro.org@gcc.gnu.org DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=rYxPV9pHWfn8UMIxRLzRCosBu0ltygvsOf4kl4/75YPspYMpK7 IJHAthQUVg2Fglg27ufnz+EkA0Q/UgWZZLgUmGUU25oAwduzsPFGYzOrJYRMN7Ts HHGgwY9SrbqkLMzyB9nC0ClTlg1gTE3/5iAfOKaLR00c04lV/ACx1giW4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=/129t9R6+jCQlvTs04m1NT13gVE=; b=uvAIpo7e+g/NDhUbr+0r 0Shyl2w1fukWBh+eJOHrxPHMa81LPf7forA3oC/IAQuarq+CV7cIGNySrHLK7YTU dlPZ1z6babKxK0dLKxiMAaoCbNgXNQl1/xfQlsLFT+nJ+9b5BgwIR9ug5uZOkQ8+ I2s56VVU7TroYdjfFzmtWII= Received: (qmail 85909 invoked by alias); 30 Jan 2017 14:45:40 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 85746 invoked by uid 89); 30 Jan 2017 14:45:29 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=mips***, Hx-languages-length:1224, sparc*-*-*, mips*-*-* X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 30 Jan 2017 14:45:28 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A7C1FC14; Mon, 30 Jan 2017 06:45:26 -0800 (PST) Received: from e105689-lin.cambridge.arm.com (e105689-lin.cambridge.arm.com [10.2.207.32]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 382703F477; Mon, 30 Jan 2017 06:45:26 -0800 (PST) To: gcc-patches From: "Richard Earnshaw (lists)" Subject: [arm] PR target/79260: Fix header installation for plugins Message-ID: <6f5ed29b-ea3f-6f63-9ac6-e0910414285a@arm.com> Date: Mon, 30 Jan 2017 14:45:24 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 MIME-Version: 1.0 The recent changes to the header infrastructure for ARM targets broke building of plugins due to missing headers. Patch below, tested on a cross build plus visual examination of the install infrastructure. PR target/79260 * config.gcc (arm*-*-*): Add arm/arm-flags.h and arm/arm-isa.h to tm_p_file. * arm/arm-protos.h: Don't directly include arm-flags.h and arm-isa.h. diff --git a/gcc/config.gcc b/gcc/config.gcc index 03b1894..bc389eb 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -571,7 +571,7 @@ x86_64-*-*) tm_file="vxworks-dummy.h ${tm_file}" ;; arm*-*-*) - tm_p_file="${tm_p_file} arm/aarch-common-protos.h" + tm_p_file="arm/arm-flags.h arm/arm-isa.h ${tm_p_file} arm/aarch-common-protos.h" tm_file="vxworks-dummy.h ${tm_file}" ;; mips*-*-* | sh*-*-* | sparc*-*-*) diff --git a/gcc/config/arm/arm-protos.h b/gcc/config/arm/arm-protos.h index 1b16239..680a1e6 100644 --- a/gcc/config/arm/arm-protos.h +++ b/gcc/config/arm/arm-protos.h @@ -22,8 +22,6 @@ #ifndef GCC_ARM_PROTOS_H #define GCC_ARM_PROTOS_H -#include "arm-flags.h" -#include "arm-isa.h" #include "sbitmap.h" extern enum unwind_info_type arm_except_unwind_info (struct gcc_options *);