From patchwork Fri Jan 14 00:09:53 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 78838 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 8E9B7B70CC for ; Fri, 14 Jan 2011 11:10:06 +1100 (EST) Received: (qmail 15684 invoked by alias); 14 Jan 2011 00:10:02 -0000 Received: (qmail 15671 invoked by uid 22791); 14 Jan 2011 00:10:01 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 14 Jan 2011 00:09:56 +0000 Received: (qmail 12629 invoked from network); 14 Jan 2011 00:09:55 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 14 Jan 2011 00:09:55 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1PdXEn-0002Q9-Tz; Fri, 14 Jan 2011 00:09:53 +0000 Date: Fri, 14 Jan 2011 00:09:53 +0000 (UTC) From: "Joseph S. Myers" To: gcc-patches@gcc.gnu.org cc: nickc@redhat.com Subject: [11/25] Specs cleanup: config/m32r/little.h In-Reply-To: Message-ID: References: MIME-Version: 1.0 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 config/m32r/little.h has various specs referencing (and in one case generating) options -mbe -mbig-endian -mle that do not exist in the .opt file. (This port does not support options changing endianness, only configuration when GCC is configured.) As it happens, these specs are not in fact used anywhere (so they don't in fact make things break), so they can simply be removed as unused, which this patch does. OK to commit? 2011-01-13 Joseph Myers * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC, ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove. diff -rupN --exclude=.svn gcc-mainline-10/gcc/config/m32r/little.h gcc-mainline/gcc/config/m32r/little.h --- gcc-mainline-10/gcc/config/m32r/little.h 2009-03-28 00:38:07.000000000 -0700 +++ gcc-mainline/gcc/config/m32r/little.h 2011-01-12 14:25:01.000000000 -0800 @@ -19,15 +19,3 @@ . */ #define TARGET_LITTLE_ENDIAN 1 - -#define CPP_ENDIAN_SPEC \ - " %{mbe:-D__BIG_ENDIAN__} %{mbig-endian:-D__BIG_ENDIAN__}" \ - " %{!mbe: %{!mbig-endian:-D__LITTLE_ENDIAN__}}" - -#define CC1_ENDIAN_SPEC " %{!mbe: %{!mbig-endian:-mle}}" - -#define ASM_ENDIAN_SPEC \ - " %{!mbe: %{!mbig-endian:-EL}} %{mbe:-EB} %{mbig-endian:-EB}" - -#define LINK_ENDIAN_SPEC " %{!mbe: %{!mbig-endian:-EL}}" -