aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-05-15 14:29:49 +0000
committerRichard Stallman <rms@gnu.org>1993-05-15 14:29:49 +0000
commit2716cff2bad25cdb334518e8bf6bc2c35eee2f4b (patch)
treee504b66c397a8a8658e1daecced35f345f6fac60
parentd3652c4b7f0e4ef1d1c5f37c3bedf06c5fa70423 (diff)
downloadgcc-2716cff2bad25cdb334518e8bf6bc2c35eee2f4b.zip
gcc-2716cff2bad25cdb334518e8bf6bc2c35eee2f4b.tar.gz
gcc-2716cff2bad25cdb334518e8bf6bc2c35eee2f4b.tar.bz2
(compile_file): If support dbx output,
always output 0 at start of text section. From-SVN: r4469
-rw-r--r--gcc/toplev.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 2ca51c6..8acbfb7 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1819,9 +1819,14 @@ 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. */
+#ifdef DBX_DEBUGGING_INFO
/* 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