Patchwork [commit] Don't combine multiple input assembly files

login
register
mail settings
Submitter Jie Zhang
Date Jan. 4, 2011, 10:27 a.m.
Message ID <4D22F613.8050800@codesourcery.com>
Download mbox | patch
Permalink /patch/77445/
State New
Headers show

Comments

Jie Zhang - Jan. 4, 2011, 10:27 a.m.
This patch was proposed several days ago:

http://gcc.gnu.org/ml/gcc/2010-12/msg00517.html

It has been approved by Ian:

http://gcc.gnu.org/ml/gcc/2011-01/msg00043.html

I have committed it now.

Thanks!

Patch


	PR driver/47137
	* gcc.c (default_compilers[]): Set combinable field to 0
	for all assembly languages.

Index: gcc.c
===================================================================
--- gcc.c	(revision 168362)
+++ gcc.c	(working copy)
@@ -935,11 +935,11 @@  static const struct compiler default_com
   {".i", "@cpp-output", 0, 0, 0},
   {"@cpp-output",
    "%{!M:%{!MM:%{!E:cc1 -fpreprocessed %i %(cc1_options) %{!fsyntax-only:%(invoke_as)}}}}", 0, 1, 0},
-  {".s", "@assembler", 0, 1, 0},
+  {".s", "@assembler", 0, 0, 0},
   {"@assembler",
-   "%{!M:%{!MM:%{!E:%{!S:as %(asm_debug) %(asm_options) %i %A }}}}", 0, 1, 0},
-  {".sx", "@assembler-with-cpp", 0, 1, 0},
-  {".S", "@assembler-with-cpp", 0, 1, 0},
+   "%{!M:%{!MM:%{!E:%{!S:as %(asm_debug) %(asm_options) %i %A }}}}", 0, 0, 0},
+  {".sx", "@assembler-with-cpp", 0, 0, 0},
+  {".S", "@assembler-with-cpp", 0, 0, 0},
   {"@assembler-with-cpp",
 #ifdef AS_NEEDS_DASH_FOR_PIPED_INPUT
    "%(trad_capable_cpp) -lang-asm %(cpp_options) -fno-directives-only\
@@ -952,7 +952,7 @@  static const struct compiler default_com
       %{!M:%{!MM:%{!E:%{!S:-o %|.s |\n\
        as %(asm_debug) %(asm_options) %m.s %A }}}}"
 #endif
-   , 0, 1, 0},
+   , 0, 0, 0},
 
 #include "specs.h"
   /* Mark end of table.  */