This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[21/25] Specs cleanup: SPU
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: trevor_smigiel at playstation dot sony dot com, dje dot gcc at gmail dot com, uweigand at de dot ibm dot com
- Date: Fri, 14 Jan 2011 00:17:39 +0000 (UTC)
- Subject: [21/25] Specs cleanup: SPU
- References: <Pine.LNX.4.64.1101132358490.6059@digraph.polyomino.org.uk>
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}.
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 ""
--
Joseph S. Myers
joseph@codesourcery.com