From patchwork Tue Sep 18 02:16:54 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Holsgrove X-Patchwork-Id: 184585 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]) by ozlabs.org (Postfix) with SMTP id B91192C0085 for ; Tue, 18 Sep 2012 12:18:07 +1000 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sourceware.org; s=default; x=1348539488; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Received:Content-Type:MIME-Version:Content-Transfer-Encoding: Subject:Message-Id:User-Agent:Date:From:To:Cc:Mailing-List: Precedence:List-Id:List-Unsubscribe:List-Subscribe:List-Archive: List-Post:List-Help:Sender:Delivered-To; bh=HZ2VPdkrHXAq2EhPf8f2 DqvgG8A=; b=c8Z9UoHENQb4zl32YN14fcKhjDvG+mHhJ9rxVuII9Wn6EPK64uLl zQuxPOdNMKH6zx8Dlnbi9Bhz4HTh0hIBwpNU5FnEVS/00kHmw3m/f0Sq2HDEqM4G lAgDq9LYB10O049g1aqtTKG9EqMsz1x/i9X34aXCYXNnKct7JR8g9cY= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=sourceware.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:X-Google-DKIM-Signature:Received:Received:Content-Type:MIME-Version:Content-Transfer-Encoding:Subject:X-Mercurial-Node:Message-Id:User-Agent:Date:From:To:Cc:X-Gm-Message-State:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=fNr+YdY7NG7cEjqrpkRGqyCUjbgg4/viqx5myjWDKzboFSSxAUgjpLvi9T79wp BNHdzqdnXsLXv/qxu1wTXE8OdZ6wnARCJAvdzJX3SYnpWy2eeYQrUjGcYKppdtE/ NJqws8NRVaSQqCCI47B+dTxIvvXRvGapymn4MfEYQ0Ik8=; Received: (qmail 18711 invoked by alias); 18 Sep 2012 02:18:00 -0000 Received: (qmail 18633 invoked by uid 22791); 18 Sep 2012 02:17:58 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=BAYES_00, KHOP_RCVD_UNTRUST, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-oa0-f41.google.com (HELO mail-oa0-f41.google.com) (209.85.219.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Sep 2012 02:17:45 +0000 Received: by oagj6 with SMTP id j6so6024877oag.0 for ; Mon, 17 Sep 2012 19:17:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:content-type:mime-version:content-transfer-encoding:subject :x-mercurial-node:message-id:user-agent:date:from:to:cc :x-gm-message-state; bh=5Qjfg+2EN7eHMo/St+DdVpbq7lLFQvMLROQi9bL79G0=; b=PiKyo1q743b+qcOMNmpE22VmsjGd9VFVMa7/aKmO7TD/mPFZnduj65vbvj9uakmaRT 6Hq9KbnVfIT+/Bn5iCydjJwYSgBOOxQViH+F0Wmppc+vmp3K/0G5/TSpDhF4Nj2/Y3Kl 6riZyO3zdSLa4Fs9hpJ+gw5hC7ItnolrDXj0eQYbHQpqllIHlpzvyBUO9ZqUZYtERLP1 io687+wDT3J+mhg/2YBW4qZ+bD2EfidZPIlcJ2X3bTP2BqMAgSpgvWxyLRJFy9irN4S9 FCZ0tQKx0sLjw00kWDQZQVXJjoD4LLhChPOi9YgQgf7Uu9GPzgvxRTslAcREGOCDH3ZS 1WKw== Received: by 10.182.76.194 with SMTP id m2mr13546376obw.27.1347934665030; Mon, 17 Sep 2012 19:17:45 -0700 (PDT) Received: from localhost ([124.148.20.9]) by mx.google.com with ESMTPS id qd7sm12823457obc.5.2012.09.17.19.17.42 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Sep 2012 19:17:44 -0700 (PDT) MIME-Version: 1.0 Subject: [PATCH] config/arch+scripts/build/arch: Add Microblaze architecture support X-Mercurial-Node: 79a03dc829edb6188436a2c7cc33ead9e27827c4 Message-Id: <79a03dc829edb6188436.1347934614@localhost.localdomain> User-Agent: Mercurial-patchbomb/1.4.3 Date: Tue, 18 Sep 2012 12:16:54 +1000 From: David Holsgrove To: "Yann E. Morin" Cc: crossgcc@sourceware.org X-Gm-Message-State: ALoCoQkUZtvEs4vcLAmcJJkK8F6v2cCCu2oJtUVDuAN3RhIsmotPUA04dbnNiiQ0Kv2nCrl+rcqc X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org # HG changeset patch # User David Holsgrove # Date 1347933988 -36000 # Node ID 79a03dc829edb6188436a2c7cc33ead9e27827c4 # Parent 2858a24a584642e263a920b4214c815c172ed547 config/arch+scripts/build/arch: Add Microblaze architecture support Add Microblaze architecture support (depends on EXPERIMENTAL) Signed-off-by: "David Holsgrove" --- For unsubscribe information see http://sourceware.org/lists.html#faq diff -r 2858a24a5846 -r 79a03dc829ed config/arch/microblaze.in --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config/arch/microblaze.in Tue Sep 18 12:06:28 2012 +1000 @@ -0,0 +1,12 @@ +# MicroBlaze specific config options + +## depends on EXPERIMENTAL +## +## select ARCH_SUPPORT_ARCH +## select ARCH_FLOAT_SW +## select ARCH_SUPPORTS_BOTH_ENDIAN +## select ARCH_DEFAULT_BE +## select ARCH_DEFAULT_HAS_MMU +## +## help The MicroBlaze architecture, as defined by: +## help http://www.xilinx.com/ diff -r 2858a24a5846 -r 79a03dc829ed scripts/build/arch/microblaze.sh --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/scripts/build/arch/microblaze.sh Tue Sep 18 12:06:28 2012 +1000 @@ -0,0 +1,21 @@ +# Compute microblaze specific values + +CT_DoArchTupleValues () { + # The architecture part of the tuple: + CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}" + + # gcc ./configure flags + CT_ARCH_WITH_ARCH= + CT_ARCH_WITH_ABI= + CT_ARCH_WITH_CPU= + CT_ARCH_WITH_TUNE= + CT_ARCH_WITH_FPU= + CT_ARCH_WITH_FLOAT= + + # CFLAGS + case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in + y,) CT_ARCH_FLOAT_CFLAG="-mhard-float" ;; + ,y) CT_ARCH_FLOAT_CFLAG="-msoft-float" ;; + esac + +}