OSDN Git Service

(compile_file): Undo previous changes (that were to call
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 May 1993 04:31:59 +0000 (04:31 +0000)
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 24 May 1993 04:31:59 +0000 (04:31 +0000)
assemble_zeros whenever DBX_DEBUGGING_INFO is defined.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4547 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/toplev.c

index 7eab30f..a7db37c 100644 (file)
@@ -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