summaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-05-15 14:29:49 +0000
committerrms <rms@138bc75d-0d04-0410-961f-82ee72b054a4>1993-05-15 14:29:49 +0000
commit6b07656c84aaf9e48bf281a7462cad6fcfa532b5 (patch)
treee504b66c397a8a8658e1daecced35f345f6fac60 /gcc/toplev.c
parent44b584a204f201319a47e49aff2bcaee9a749b97 (diff)
downloadgcc-6b07656c84aaf9e48bf281a7462cad6fcfa532b5.tar.gz
(compile_file): If support dbx output,
always output 0 at start of text section. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4469 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index 2ca51c6d0e0..8acbfb7732e 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