Patchwork [21/25] Specs cleanup: SPU

login
register
mail settings
Submitter Joseph S. Myers
Date Jan. 14, 2011, 12:17 a.m.
Message ID <Pine.LNX.4.64.1101140017060.6059@digraph.polyomino.org.uk>
Download mbox | patch
Permalink /patch/78849/
State New
Headers show

Comments

Joseph S. Myers - Jan. 14, 2011, 12:17 a.m.
config/spu/spu-elf.h defines ASM_SPEC to include %{w:-W}.  This is
redundant, since gcc.c:asm_options hardcodes that spec for the GNU
assembler, and this patch removes it.  OK to commit?

2011-01-13  Joseph Myers  <joseph@codesourcery.com>

	* config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}.

Patch

diff -rupN --exclude=.svn gcc-mainline-20/gcc/config/spu/spu-elf.h gcc-mainline/gcc/config/spu/spu-elf.h
--- gcc-mainline-20/gcc/config/spu/spu-elf.h	2009-12-30 09:05:24.000000000 -0800
+++ gcc-mainline/gcc/config/spu/spu-elf.h	2011-01-12 15:03:00.000000000 -0800
@@ -78,7 +78,6 @@ 
       mcache-size=8  :-lgcc_cache8k; \
                      :-lgcc_cache64k}"
 
-/* Turn off warnings in the assembler too. */
 #undef ASM_SPEC
-#define ASM_SPEC  "%{w:-W}"
+#define ASM_SPEC  ""