From patchwork Sat Dec 7 03:13:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Ralf Corsepius X-Patchwork-Id: 298614 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)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 157DF2C009A for ; Sat, 7 Dec 2013 14:16:49 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=L8eUTG420+kGE8+ud1RSVoObsYrglpbXF3BkOALp1lHbox r/zMjXqtCb1VLEgGRDFh9zHPchRKlVW3+0VZa7CzCZ7RDzDn9ULOqGLjTg8abEJ8 wmkZaHqATJmjWtWUcpPhg16P0wzWTtDn2e7hMpV/tAltJEJ9/7g5j+2Lam3KA= 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 :message-id:date:from:mime-version:to:subject:content-type; s= default; bh=By1TN/PKM/Cl2uHXQnu37xyTWmk=; b=d1EGG6DzNi2uYpOLEYW0 n1B5B6rFF4mmy4hkqP/u7/7pfI6Ism57AYEWaMWpcPooyBjiejj5tl0EJiR++dIC GjQMvXg590dVGlNvLhKz+LOYtCPQXLuFmyuRRHdaNxk53ikjH4oRn5pEeBVhjFEE r0oBZD1aaYj16Yw0pzyo2BI= Received: (qmail 31268 invoked by alias); 7 Dec 2013 03:16:42 -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 31259 invoked by uid 89); 7 Dec 2013 03:16:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: mout3.freenet.de Received: from Unknown (HELO mout3.freenet.de) (195.4.92.93) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sat, 07 Dec 2013 03:16:41 +0000 Received: from [195.4.92.141] (helo=mjail1.freenet.de) by mout3.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (port 25) (Exim 4.80.1 #4) id 1Vp8Nb-0002Gh-8J; Sat, 07 Dec 2013 04:16:31 +0100 Received: from localhost ([::1]:35121 helo=mjail1.freenet.de) by mjail1.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (Exim 4.80.1 #4) id 1Vp8Nb-0003Ky-4N; Sat, 07 Dec 2013 04:16:31 +0100 Received: from mx13.freenet.de ([195.4.92.23]:57748) by mjail1.freenet.de with esmtpa (ID ralf.corsepius@freenet.de) (Exim 4.80.1 #4) id 1Vp8KI-0005QQ-Fy; Sat, 07 Dec 2013 04:13:06 +0100 Received: from hsi-kbw-37-49-64-138.hsi14.kabel-badenwuerttemberg.de ([37.49.64.138]:56599 helo=[192.168.1.102]) by mx13.freenet.de with esmtpsa (ID ralf.corsepius@freenet.de) (TLSv1:DHE-RSA-CAMELLIA256-SHA:256) (port 587) (Exim 4.80.1 #4) id 1Vp8KI-0002Cl-B7; Sat, 07 Dec 2013 04:13:06 +0100 Message-ID: <52A2923F.5000209@rtems.org> Date: Sat, 07 Dec 2013 04:13:03 +0100 From: Ralf Corsepius User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" , Michael Eager Subject: [patch] microblaze-rtems Add TARGET_BIG_ENDIAN_DEFAULT X-Originated-At: 37.49.64.138!56599 Hi, I intend to the patch below to gcc-trunk and 4.8-branch: It's a partial sync of the microblaze-rtems* section in gcc/config.gcc with microblaze*-*-elf's: Add TARGET_BIG_ENDIAN_DEFAULT-switch for microblaze*-*-rtems*. Ralf 2013-12-07 Ralf Corsépius * config.gcc (microblaze*-*-rtems*): Add TARGET_BIG_ENDIAN_DEFAULT. Index: config.gcc =================================================================== --- config.gcc (revision 205770) +++ config.gcc (working copy) @@ -1887,6 +1887,14 @@ tmake_file="${tmake_file} microblaze/t-microblaze-linux" ;; microblaze*-*-rtems*) + case $target in + microblazeel-*) + tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=0" + ;; + microblaze-*) + tm_defines="${tm_defines} TARGET_BIG_ENDIAN_DEFAULT=4321" + ;; + esac tm_file="${tm_file} dbxelf.h" tm_file="${tm_file} microblaze/rtems.h rtems.h newlib-stdint.h" c_target_objs="${c_target_objs} microblaze-c.o"