summaryrefslogtreecommitdiff
path: root/gcc/xcoffout.h
diff options
context:
space:
mode:
authorJim Wilson <wilson@gcc.gnu.org>1994-03-31 18:58:11 -0800
committerJim Wilson <wilson@gcc.gnu.org>1994-03-31 18:58:11 -0800
commit117323d4415a8807fb4a9fb2860f4f15191f75e9 (patch)
treef9ec492776bfb16d3bde37d9d2af4fce55d7338b /gcc/xcoffout.h
parent2fdd0d6b621f7added350687b00e2fc7e53bb468 (diff)
downloadgcc-117323d4415a8807fb4a9fb2860f4f15191f75e9.tar.gz
(DBX_OUTPUT_MAIN_SOURCE_FILENAME): Disable.
From-SVN: r6938
Diffstat (limited to 'gcc/xcoffout.h')
-rw-r--r--gcc/xcoffout.h7
1 files changed, 7 insertions, 0 deletions
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 \