From patchwork Wed Feb 16 22:24:02 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 83407 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 BF05AB6F0B for ; Thu, 17 Feb 2011 09:24:13 +1100 (EST) Received: (qmail 26849 invoked by alias); 16 Feb 2011 22:24:12 -0000 Received: (qmail 26840 invoked by uid 22791); 16 Feb 2011 22:24:12 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL, BAYES_00, TW_XG, 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; Wed, 16 Feb 2011 22:24:06 +0000 Received: (qmail 8700 invoked from network); 16 Feb 2011 22:24:04 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 16 Feb 2011 22:24:04 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1Pppn0-0004sX-Fr for gcc-patches@gcc.gnu.org; Wed, 16 Feb 2011 22:24:02 +0000 Date: Wed, 16 Feb 2011 22:24:02 +0000 (UTC) From: "Joseph S. Myers" To: gcc-patches@gcc.gnu.org Subject: Fix option spelling in lm32 ASM_SPEC Message-ID: 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 The lm32 ASM_SPEC has %{muser-extend-enabled}, but the actual option in lm32.opt and the assembler is -muser-enabled. This patch fixes the spec accordingly. Tested building cc1 and xgcc for cross to lm32-elf. Committed as obvious. 2011-02-16 Joseph Myers * config/lm32/lm32.h (ASM_SPEC): Use %{muser-enabled} instead of %{muser-extend-enabled}. Index: gcc/config/lm32/lm32.h =================================================================== --- gcc/config/lm32/lm32.h (revision 170223) +++ gcc/config/lm32/lm32.h (working copy) @@ -1,7 +1,7 @@ /* Definitions of target machine for GNU compiler, Lattice Mico32 architecture. Contributed by Jon Beniston - Copyright (C) 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -54,7 +54,7 @@ %{mdivide-enabled} \ %{mbarrel-shift-enabled} \ %{msign-extend-enabled} \ -%{muser-extend-enabled} \ +%{muser-enabled} \ " /* Let link script define all link options.