From b5f5d41d1a95994af84eececdb450685d0f1c436 Mon Sep 17 00:00:00 2001 From: Anatoly Sokolov Date: Mon, 26 Jul 2010 22:00:17 +0400 Subject: 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 --- gcc/doc/tm.texi | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gcc/doc/tm.texi') 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} -- cgit v1.1