From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8514 invoked by alias); 6 Mar 2013 12:44:36 -0000 Received: (qmail 8502 invoked by uid 22791); 6 Mar 2013 12:44:35 -0000 X-SWARE-Spam-Status: No, hits=-6.6 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_SPAMHAUS_DROP,RCVD_IN_DNSWL_HI,RCVD_IN_HOSTKARMA_W,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_IV X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 06 Mar 2013 12:44:31 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r26CiV0L002546 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 6 Mar 2013 07:44:31 -0500 Received: from zalov.cz (vpn1-7-250.ams2.redhat.com [10.36.7.250]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r26CiTZc014563 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Mar 2013 07:44:31 -0500 Received: from zalov.cz (localhost [127.0.0.1]) by zalov.cz (8.14.5/8.14.5) with ESMTP id r26CiSl8006547; Wed, 6 Mar 2013 13:44:29 +0100 Received: (from jakub@localhost) by zalov.cz (8.14.5/8.14.5/Submit) id r26CiSPC006546; Wed, 6 Mar 2013 13:44:28 +0100 Date: Wed, 06 Mar 2013 12:44:00 -0000 From: Jakub Jelinek To: Matthias Klose Cc: gcc-patches@gcc.gnu.org Subject: [PATCH] Fix install-plugin with vxworks-dummy.h (PR plugins/45078) Message-ID: <20130306124428.GS12913@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <20130306090736.GQ12913@tucnak.redhat.com> <513720FF.9010102@ubuntu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <513720FF.9010102@ubuntu.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2013-03/txt/msg00234.txt.bz2 Hi! On Wed, Mar 06, 2013 at 06:57:03PM +0800, Matthias Klose wrote: > There is still vxworks-dummy.h, which is not installed, see PR45078. Would the > same approach work? Like this? Untested though, and no access to most of the targets. 2013-03-06 Jakub Jelinek PR plugins/45078 * config.gcc: On arm, mips, sh and sparc add vxworks-dummy.h to tm_file. --- gcc/config.gcc.jj 2013-02-22 17:04:41.000000000 +0100 +++ gcc/config.gcc 2013-03-06 13:38:19.711201446 +0100 @@ -536,6 +536,9 @@ x86_64-*-*) fi tm_file="vxworks-dummy.h ${tm_file}" ;; +arm*-*-* | mips*-*-* | sh*-*-* | sparc*-*-*) + tm_file="vxworks-dummy.h ${tm_file}" + ;; esac # On a.out targets, we need to use collect2. @@ -861,7 +864,7 @@ arm-wrs-vxworks) tmake_file="${tmake_file} arm/t-arm arm/t-vxworks" ;; arm*-*-netbsdelf*) - tm_file="dbxelf.h elfos.h netbsd.h netbsd-elf.h arm/elf.h arm/aout.h arm/arm.h arm/netbsd-elf.h" + tm_file="dbxelf.h elfos.h netbsd.h netbsd-elf.h arm/elf.h arm/aout.h ${tm_file} arm/netbsd-elf.h" extra_options="${extra_options} netbsd.opt netbsd-elf.opt" tmake_file="${tmake_file} arm/t-arm" ;; @@ -873,7 +876,7 @@ arm*-*-linux-*) # ARM GNU/Linux with E ;; esac tmake_file="${tmake_file} arm/t-arm arm/t-arm-elf arm/t-bpabi arm/t-linux-eabi" - tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h arm/aout.h arm/arm.h" + tm_file="$tm_file arm/bpabi.h arm/linux-eabi.h arm/aout.h vxworks-dummy.h arm/arm.h" # Define multilib configuration for arm-linux-androideabi. case ${target} in *-androideabi) @@ -891,7 +894,7 @@ arm*-*-linux-*) # ARM GNU/Linux with E arm*-*-uclinux*eabi*) # ARM ucLinux tm_file="dbxelf.h elfos.h arm/unknown-elf.h arm/elf.h arm/linux-gas.h arm/uclinux-elf.h glibc-stdint.h" tmake_file="arm/t-arm arm/t-arm-elf arm/t-bpabi" - tm_file="$tm_file arm/bpabi.h arm/uclinux-eabi.h arm/aout.h arm/arm.h" + tm_file="$tm_file arm/bpabi.h arm/uclinux-eabi.h arm/aout.h vxworks-dummy.h arm/arm.h" # The BPABI long long divmod functions return a 128-bit value in # registers r0-r3. Correctly modeling that requires the use of # TImode. @@ -928,7 +931,7 @@ arm*-*-eabi* | arm*-*-symbianelf* | arm* tmake_file="${tmake_file} arm/t-symbian" ;; esac - tm_file="${tm_file} arm/aout.h arm/arm.h" + tm_file="${tm_file} arm/aout.h vxworks-dummy.h arm/arm.h" ;; avr-*-rtems*) tm_file="elfos.h avr/elf.h avr/avr-arch.h avr/avr.h dbxelf.h avr/rtems.h rtems.h newlib-stdint.h" Jakub