summaryrefslogtreecommitdiff
path: root/gcc/xcoffout.h
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1994-04-01 02:58:11 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1994-04-01 02:58:11 +0000
commitf016032dfa76bfca37878629d4066aa292a4954d (patch)
treef9ec492776bfb16d3bde37d9d2af4fce55d7338b /gcc/xcoffout.h
parent9ba24342f215dc731d7f2bfb5ca4c55752219644 (diff)
downloadgcc-f016032dfa76bfca37878629d4066aa292a4954d.tar.gz
(DBX_OUTPUT_MAIN_SOURCE_FILENAME): Disable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6938 138bc75d-0d04-0410-961f-82ee72b054a4
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 \