From: Jim Wilson Date: Fri, 1 Apr 1994 02:58:11 +0000 (-0800) Subject: (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Disable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=117323d4415a8807fb4a9fb2860f4f15191f75e9;p=gcc.git (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Disable. From-SVN: r6938 --- diff --git a/gcc/xcoffout.h b/gcc/xcoffout.h index ab89cb13e35..59eefa6a58e 100644 --- a/gcc/xcoffout.h +++ b/gcc/xcoffout.h @@ -139,12 +139,19 @@ extern char *xcoff_read_only_section_name; #define DBX_OUTPUT_MAIN_SOURCE_DIRECTORY(FILE,FILENAME) /* Write out main source file name using ".file" rather than ".stabs". */ +/* This is defined as empty, because the assembler gets confused if there + is more than one .file directive. ASM_FILE_START in config/rs6000/rs6000.h + is already emitting a .file direcgtory, so don't output one here also. */ +#if 1 +#define DBX_OUTPUT_MAIN_SOURCE_FILENAME(FILE,FILENAME) +#else #define DBX_OUTPUT_MAIN_SOURCE_FILENAME(FILE,FILENAME) \ do { \ fprintf (FILE, "\t.file\t", FILENAME); \ output_quoted_string (FILE, FILENAME); \ fprintf (FILE, "\n"); \ } while (0) +#endif #define ABS_OR_RELATIVE_LINENO(LINENO) \ ((xcoff_current_include_file \