Commit 55b8093e by Sandra Loosemore Committed by Sandra Loosemore

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
parent 3110357b
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> 2007-09-07 Andrew Haley <aph@redhat.com>
* configure.ac (noconfigdirs): Remove target-libffi and * configure.ac (noconfigdirs): Remove target-libffi and
......
...@@ -45,6 +45,7 @@ static const char *const known_suffixes[] = ...@@ -45,6 +45,7 @@ static const char *const known_suffixes[] =
{ {
".c", ".C", ".S", ".m", ".c", ".C", ".S", ".m",
".cc", ".cxx", ".cpp", ".cp", ".c++", ".cc", ".cxx", ".cpp", ".cp", ".c++",
".sx",
NULL NULL
}; };
......
...@@ -978,6 +978,7 @@ package body). Such files are also called @dfn{bodies}. ...@@ -978,6 +978,7 @@ package body). Such files are also called @dfn{bodies}.
Assembler code. Assembler code.
@item @var{file}.S @item @var{file}.S
@itemx @var{file}.sx
Assembler code which must be preprocessed. Assembler code which must be preprocessed.
@item @var{other} @item @var{other}
......
...@@ -1023,6 +1023,7 @@ static const struct compiler default_compilers[] = ...@@ -1023,6 +1023,7 @@ static const struct compiler default_compilers[] =
{".s", "@assembler", 0, 1, 0}, {".s", "@assembler", 0, 1, 0},
{"@assembler", {"@assembler",
"%{!M:%{!MM:%{!E:%{!S:as %(asm_debug) %(asm_options) %i %A }}}}", 0, 1, 0}, "%{!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}, {".S", "@assembler-with-cpp", 0, 1, 0},
{"@assembler-with-cpp", {"@assembler-with-cpp",
#ifdef AS_NEEDS_DASH_FOR_PIPED_INPUT #ifdef AS_NEEDS_DASH_FOR_PIPED_INPUT
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment