aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/tm.texi
diff options
context:
space:
mode:
authorAnatoly Sokolov <aesok@post.ru>2010-07-26 22:00:17 +0400
committerAnatoly Sokolov <aesok@gcc.gnu.org>2010-07-26 22:00:17 +0400
commitb5f5d41d1a95994af84eececdb450685d0f1c436 (patch)
treed56be18415909b5f90b4a54679d77846826cda08 /gcc/doc/tm.texi
parent114e33e1e6658de6e5a65e5d4bdc8623acb11527 (diff)
downloadgcc-b5f5d41d1a95994af84eececdb450685d0f1c436.zip
gcc-b5f5d41d1a95994af84eececdb450685d0f1c436.tar.gz
gcc-b5f5d41d1a95994af84eececdb450685d0f1c436.tar.bz2
target.def (output_source_filename): New hook.
* target.def (output_source_filename): New hook. * doc/tm.texi.in (TARGET_ASM_OUTPUT_SOURCE_FILENAME): Document. * doc/tm.texi: Regenerate. * toplev.c (output_file_directive) Remove function. * toplev.h (output_file_directive) Remove. * output.h (default_asm_output_source_filename, output_file_directive): Declare. * varasm.h (default_asm_output_source_filename, output_file_directive): New functions. * config/mips/mips.h (ASM_OUTPUT_SOURCE_FILENAME): Remove macro. * config/mips/mips-protos.h (mips_output_filename): Remove. * config/mips/mips.c (mips_output_filename): Make Static. (TARGET_ASM_OUTPUT_SOURCE_FILENAME): Define. From-SVN: r162542
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r--gcc/doc/tm.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 30210ec..e94fdf6 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -7262,6 +7262,12 @@ This macro need not be defined if the standard form of output
for the file format in use is appropriate.
@end defmac
+@deftypefn {Target Hook} void TARGET_ASM_OUTPUT_SOURCE_FILENAME (FILE *@var{file}, const char *@var{name})
+Output COFF information or DWARF debugging information which indicates that filename @var{name} is the current source file to the stdio stream @var{file}.
+
+ This target hook need not be defined if the standard form of output for the file format in use is appropriate.
+@end deftypefn
+
@defmac OUTPUT_QUOTED_STRING (@var{stream}, @var{string})
A C statement to output the string @var{string} to the stdio stream
@var{stream}. If you do not call the function @code{output_quoted_string}