aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorSandra Loosemore <sandra@codesourcery.com>2007-09-09 18:29:24 -0400
committerSandra Loosemore <sandra@gcc.gnu.org>2007-09-09 18:29:24 -0400
commit55b8093e206dd101e70e329d9c42d2a71f8dc835 (patch)
treed4b42810f37191b23315072f9423e69546e4e438 /gcc/gcc.c
parent3110357b8f1b4814a4a2c0868e468ae8cc8003da (diff)
downloadgcc-55b8093e206dd101e70e329d9c42d2a71f8dc835.zip
gcc-55b8093e206dd101e70e329d9c42d2a71f8dc835.tar.gz
gcc-55b8093e206dd101e70e329d9c42d2a71f8dc835.tar.bz2
invoke.texi (Overall Options): Add .sx file extension as a synonym for .S.
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
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 99bcd78..e40156a 100644
--- 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