From 117323d4415a8807fb4a9fb2860f4f15191f75e9 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Thu, 31 Mar 1994 18:58:11 -0800 Subject: [PATCH] (DBX_OUTPUT_MAIN_SOURCE_FILENAME): Disable. From-SVN: r6938 --- gcc/xcoffout.h | 7 +++++++ 1 file changed, 7 insertions(+) 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 \ -- 2.30.2