summaryrefslogtreecommitdiff
path: root/gcc/config/i386/bsd.h
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-07 23:36:08 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-12-07 23:36:08 +0000
commit69f591dc9fadfeb04afac02bcde7d11e1b103b99 (patch)
treee7d7c8f0b956a94c823cf588c17a032da4934e75 /gcc/config/i386/bsd.h
parent886cb8029f23c7c778ad17ec6c201e78beb70f0a (diff)
downloadgcc-69f591dc9fadfeb04afac02bcde7d11e1b103b99.tar.gz
* i386/bsd.h (ASM_FILE_START): Don't use dump_base_name, it is
wrong and should only be used for dump related things, not debugging information, instead main_input_filename should be used. Also, reuse output_file_directive if possible. * i386/aix386ng.h (ASM_FILE_START): Likewise. * i386/isc.h (ASM_FILE_START): Likewise. * i386/win-nt.h (ASM_FILE_START): Likewise. * i386/sun386.h (ASM_FILE_START): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24174 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/bsd.h')
-rw-r--r--gcc/config/i386/bsd.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/config/i386/bsd.h b/gcc/config/i386/bsd.h
index d50be3664c1..34db79a79d5 100644
--- a/gcc/config/i386/bsd.h
+++ b/gcc/config/i386/bsd.h
@@ -49,9 +49,7 @@ Boston, MA 02111-1307, USA. */
??? I am skeptical of this -- RMS. */
#define ASM_FILE_START(FILE) \
- do { fprintf (FILE, "\t.file\t"); \
- output_quoted_string (FILE, dump_base_name); \
- fprintf (FILE, "\n"); \
+ do { output_file_directive (FILE, main_input_filename); \
} while (0)
/* This was suggested, but it shouldn't be right for DBX output. -- RMS