Patchwork Fix option spelling in lm32 ASM_SPEC

login
register
mail settings
Submitter Joseph S. Myers
Date Feb. 16, 2011, 10:24 p.m.
Message ID <Pine.LNX.4.64.1102162223331.15478@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/83407/
State New
Headers show

Comments

Joseph S. Myers - Feb. 16, 2011, 10:24 p.m.
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  <joseph@codesourcery.com>

	* config/lm32/lm32.h (ASM_SPEC): Use %{muser-enabled} instead of
	%{muser-extend-enabled}.

Patch

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 <jon@beniston.com>
 
-   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.