From patchwork Fri Jul 24 14:39:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dominik Vogt X-Patchwork-Id: 499771 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4152C1402A1 for ; Sat, 25 Jul 2015 00:40:23 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=CF918Idl; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:reply-to:mime-version :content-type; q=dns; s=default; b=mBFNmtyg3KTzGSeh50IxTDCxpqMlo zbIXTOXbfEWy2Rg1HC25PYWyQ5HjLc04KwpQXNsq5aLK0TJ2XTWUlmjN8+hCXxQ6 BDSJSUFWqJyG8WLrdt9mDLkviHbUhM4v4UJuMCIXr+owSkMefrkx7bSQI03YH+lz U/9OrPENPykIGQ= 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:date :from:to:cc:subject:message-id:reply-to:mime-version :content-type; s=default; bh=XeFAiHpN6/kARN1pE4Uh7D8E0FU=; b=CF9 18Idl90ZAG1oSHGT7p7bkbV+yHIdKa147BMpFEns+/mVaW20pDrLXpBAFAJm7P1K VCmdtGfAZkR8tVo+MTnNq2R0CeTjHZZBjvmEVdYbUQhDN1t8yxXHRzdYx6NWJPOL k7+ffGlkDn7lsSe8jpez9oTpAc/V8a3l6XWLg2og= Received: (qmail 70073 invoked by alias); 24 Jul 2015 14:40:16 -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 70056 invoked by uid 89); 24 Jul 2015 14:40:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL, BAYES_00, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: e06smtp14.uk.ibm.com Received: from e06smtp14.uk.ibm.com (HELO e06smtp14.uk.ibm.com) (195.75.94.110) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Fri, 24 Jul 2015 14:40:14 +0000 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 24 Jul 2015 15:40:10 +0100 Received: from d06dlp02.portsmouth.uk.ibm.com (9.149.20.14) by e06smtp14.uk.ibm.com (192.168.101.144) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 24 Jul 2015 15:40:08 +0100 X-MailFrom: vogt@linux.vnet.ibm.com X-RcptTo: gcc-patches@gcc.gnu.org Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id B78D82190056 for ; Fri, 24 Jul 2015 15:39:44 +0100 (BST) Received: from d06av09.portsmouth.uk.ibm.com (d06av09.portsmouth.uk.ibm.com [9.149.37.250]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id t6OEe8kC28311728 for ; Fri, 24 Jul 2015 14:40:08 GMT Received: from d06av09.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id t6OEe8DJ005407 for ; Fri, 24 Jul 2015 08:40:08 -0600 Received: from bl3ahm9f.de.ibm.com (sig-9-84-155-41.evts.de.ibm.com [9.84.155.41]) by d06av09.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVin) with ESMTP id t6OEe7kG005347; Fri, 24 Jul 2015 08:40:07 -0600 Received: from dvogt by bl3ahm9f.de.ibm.com with local (Exim 4.76) (envelope-from ) id 1ZIe8m-0002b6-76; Fri, 24 Jul 2015 16:40:00 +0200 Date: Fri, 24 Jul 2015 15:39:59 +0100 From: Dominik Vogt To: gcc-patches@gcc.gnu.org Cc: Andreas Krebbel , Ulrich Weigand , jakub@redhat.com Subject: [PATCH] S390: Clean up cross-compile for S390. Message-ID: <20150724143959.GA9151@linux.vnet.ibm.com> Reply-To: vogt@linux.vnet.ibm.com Mail-Followup-To: gcc-patches@gcc.gnu.org, Andreas Krebbel , Ulrich Weigand , jakub@redhat.com MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15072414-0017-0000-0000-000004D877C8 The attached patch cleans up cross compilation as discussed here: https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01929.html on top of the fixes that have already been committed; see here: https://gcc.gnu.org/ml/gcc-patches/2015-07/msg01545.html This is only cleanup work, there is no compile problem at the moment. Ciao Dominik ^_^ ^_^ From fdf3a1f9ccffdbf89e9b262e657ac77765a6be1f Mon Sep 17 00:00:00 2001 From: Dominik Vogt Date: Thu, 23 Jul 2015 14:28:51 +0100 Subject: [PATCH] S390: Clean up cross-compile for S390. --- gcc/config.host | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/config.host b/gcc/config.host index 4e456a1..3f7d594 100644 --- a/gcc/config.host +++ b/gcc/config.host @@ -173,8 +173,12 @@ case ${host} in esac ;; s390-*-* | s390x-*-*) - host_extra_gcc_objs="driver-native.o" - host_xmake_file="${host_xmake_file} s390/x-native" + case ${target} in + s390-*-* | s390x-*-*) + host_extra_gcc_objs="driver-native.o" + host_xmake_file="${host_xmake_file} s390/x-native" + ;; + esac ;; sparc*-*-solaris2*) case ${target} in -- 2.3.0