aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-05-24 04:31:59 +0000
committerRichard Stallman <rms@gnu.org>1993-05-24 04:31:59 +0000
commitbd405e3eedc4689c2508e4343d46da0abffeca7d (patch)
treebfe8ec76b77e36e351fd35afe3b6f03533a7fc0a
parent37a3884bf3809e72a9d0480d65c3370a6682b36d (diff)
downloadgcc-bd405e3eedc4689c2508e4343d46da0abffeca7d.zip
gcc-bd405e3eedc4689c2508e4343d46da0abffeca7d.tar.gz
gcc-bd405e3eedc4689c2508e4343d46da0abffeca7d.tar.bz2
(compile_file): Undo previous changes (that were to call
assemble_zeros whenever DBX_DEBUGGING_INFO is defined. From-SVN: r4547
-rw-r--r--gcc/toplev.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 7eab30f..a7db37c 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1819,14 +1819,19 @@ compile_file (name)
ASM_IDENTIFY_LANGUAGE (asm_out_file);
#endif
- /* dbx on Suns needs to separate gcc_compiled. from first function.
- We do not test write_symbols because -g should not alter
- the actual code generated. */
-#ifndef DBX_DEBUGGING_INFO
+/* ??? Note: There used to be a conditional here
+ to call assemble_zeros without fail if DBX_DEBUGGING_INFO is defined.
+ This was to guarantee separation between gcc_compiled. and
+ the first function, for the sake of dbx on Suns.
+ However, having the extra zero here confused the Emacs
+ code for unexec, and might confuse other programs too.
+ Therefore, I took out that change.
+ In future versions we should find another way to solve
+ that dbx problem. -- rms, 23 May 93. */
+
/* Don't let the first function fall at the same address
as gcc_compiled., if profiling. */
if (profile_flag || profile_block_flag)
-#endif
assemble_zeros (UNITS_PER_WORD);
/* If dbx symbol table desired, initialize writing it