From patchwork Tue Oct 25 10:51:29 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Stubbs X-Patchwork-Id: 4805 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 7D61823E0C for ; Tue, 25 Oct 2011 10:51:39 +0000 (UTC) Received: from mail-fx0-f52.google.com (mail-fx0-f52.google.com [209.85.161.52]) by fiordland.canonical.com (Postfix) with ESMTP id 64E61A18106 for ; Tue, 25 Oct 2011 10:51:39 +0000 (UTC) Received: by faan26 with SMTP id n26so393886faa.11 for ; Tue, 25 Oct 2011 03:51:39 -0700 (PDT) Received: by 10.223.77.69 with SMTP id f5mr50540630fak.3.1319539899222; Tue, 25 Oct 2011 03:51:39 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.152.1.71 with SMTP id 7cs107174lak; Tue, 25 Oct 2011 03:51:38 -0700 (PDT) Received: by 10.68.17.225 with SMTP id r1mr56337303pbd.64.1319539897333; Tue, 25 Oct 2011 03:51:37 -0700 (PDT) Received: from relay1.mentorg.com (relay1.mentorg.com. [192.94.38.131]) by mx.google.com with ESMTPS id d6si24364256pbw.138.2011.10.25.03.51.36 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 25 Oct 2011 03:51:37 -0700 (PDT) Received-SPF: neutral (google.com: 192.94.38.131 is neither permitted nor denied by best guess record for domain of Andrew_Stubbs@mentor.com) client-ip=192.94.38.131; Authentication-Results: mx.google.com; spf=neutral (google.com: 192.94.38.131 is neither permitted nor denied by best guess record for domain of Andrew_Stubbs@mentor.com) smtp.mail=Andrew_Stubbs@mentor.com Received: from nat-ies.mentorg.com ([192.94.31.2] helo=EU1-MAIL.mgc.mentorg.com) by relay1.mentorg.com with esmtp id 1RIebX-0005pL-KB from Andrew_Stubbs@mentor.com ; Tue, 25 Oct 2011 03:51:35 -0700 Received: from [127.0.0.1] ([172.16.63.104]) by EU1-MAIL.mgc.mentorg.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 25 Oct 2011 11:51:33 +0100 Message-ID: <4EA694B1.7060302@codesourcery.com> Date: Tue, 25 Oct 2011 11:51:29 +0100 From: Andrew Stubbs User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110929 Thunderbird/7.0.1 MIME-Version: 1.0 To: "gcc-patches@gcc.gnu.org" CC: "patches@linaro.org" Subject: [PATCH][ARM] Big Endian and Generic tuning X-OriginalArrivalTime: 25 Oct 2011 10:51:34.0021 (UTC) FILETIME=[0FBEB350:01CC9304] My recent patch to add -mcpu=generic-armv7-a omitted support for big endian. This patch should solve that. As far as I know the only this missing is the linker spec. (I have no big-endian targets to test with.) OK? Andrew 2011-10-25 Andrew Stubbs gcc/ * config/arm/bpabi.h (BE8_LINK_SPEC): Recognize generic-armv7 tuning. --- a/gcc/config/arm/bpabi.h +++ b/gcc/config/arm/bpabi.h @@ -58,6 +58,7 @@ #define BE8_LINK_SPEC \ " %{mbig-endian:%{march=armv7-a|mcpu=cortex-a5 \ |mcpu=cortex-a8|mcpu=cortex-a9|mcpu=cortex-a15 \ + |mcpu=generic-armv7* \ |march=armv7-m|mcpu=cortex-m3 \ |march=armv7e-m|mcpu=cortex-m4 \ |march=armv6-m|mcpu=cortex-m0 \