invoke.texi (Overall Options): Add .sx file extension as a synonym for .S.
authorSandra Loosemore <sandra@codesourcery.com>
Sun, 9 Sep 2007 22:29:24 +0000 (18:29 -0400)
committerSandra Loosemore <sandra@gcc.gnu.org>
Sun, 9 Sep 2007 22:29:24 +0000 (18:29 -0400)
2007-09-09  Sandra Loosemore  <sandra@codesourcery.com>
            Nigel Stephens <nigel@mips.com>

gcc/
* doc/invoke.texi (Overall Options):  Add .sx file extension
as a synonym for .S.
* cppspec.c (known_suffixes): Likewise.
* gcc.c (default_compilers): Likewise.

Co-Authored-By: Nigel Stephens <nigel@mips.com>
From-SVN: r128308

ChangeLog
gcc/cppspec.c
gcc/doc/invoke.texi
gcc/gcc.c

index c06d29ace95d0a4da2a1f830d72f75e723177ae7..6441466baadf593ad7b13266c847e0302a12954f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-09-09  Sandra Loosemore  <sandra@codesourcery.com>
+            Nigel Stephens <nigel@mips.com>
+
+       * doc/invoke.texi (Overall Options):  Add .sx file extension
+       as a synonym for .S.
+       * cppspec.c (known_suffixes): Likewise.
+       * gcc.c (default_compilers): Likewise.
+
 2007-09-07  Andrew Haley  <aph@redhat.com>
 
        * configure.ac (noconfigdirs): Remove target-libffi and
index 8c57ca3db2e93329e48c73e6a8a5ec9478eda61b..344da17a37ed25085c7111a37882b6e5fd002a99 100644 (file)
@@ -45,6 +45,7 @@ static const char *const known_suffixes[] =
 {
   ".c",  ".C",   ".S",   ".m",
   ".cc", ".cxx", ".cpp", ".cp",  ".c++",
+  ".sx",
   NULL
 };
 
index 0761733170e6b216a429afbea754f34b9df879dd..7413abd3ef331bc7819700ca1276d0b362ba0fbe 100644 (file)
@@ -978,6 +978,7 @@ package body).  Such files are also called @dfn{bodies}.
 Assembler code.
 
 @item @var{file}.S
+@itemx @var{file}.sx
 Assembler code which must be preprocessed.
 
 @item @var{other}
index 99bcd787f06df36a2c21a0282fe6d9773e2f9288..e40156a64171314f987520c494e1852f2d902a36 100644 (file)
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -1023,6 +1023,7 @@ static const struct compiler default_compilers[] =
   {".s", "@assembler", 0, 1, 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},
   {"@assembler-with-cpp",
 #ifdef AS_NEEDS_DASH_FOR_PIPED_INPUT