summaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorsandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-09 22:29:24 +0000
committersandra <sandra@138bc75d-0d04-0410-961f-82ee72b054a4>2007-09-09 22:29:24 +0000
commiteaf4325650317ba2dcbc3f1b397050858eb30b32 (patch)
treed4b42810f37191b23315072f9423e69546e4e438 /gcc/gcc.c
parent6531eb18689065fa38fd1a30f79731bd617d95cf (diff)
downloadgcc-eaf4325650317ba2dcbc3f1b397050858eb30b32.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128308 138bc75d-0d04-0410-961f-82ee72b054a4
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 99bcd787f06..e40156a6417 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