diff options
author | Mark Mitchell <mark@codesourcery.com> | 1999-07-22 02:16:55 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 1999-07-22 02:16:55 +0000 |
commit | b366352bbd1d4439e25d46f101ba898e5642b8d9 (patch) | |
tree | 7776410b059bf060eae695d3334b90bfa73b4174 /gcc/dwarf2out.c | |
parent | a6c7a886f4c73309caea4f1eaa3c95a01fa18563 (diff) | |
download | gcc-b366352bbd1d4439e25d46f101ba898e5642b8d9.zip gcc-b366352bbd1d4439e25d46f101ba898e5642b8d9.tar.gz gcc-b366352bbd1d4439e25d46f101ba898e5642b8d9.tar.bz2 |
defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
* defaults.h (DWARF2_GENERATE_TEXT_SECTION_LABEL): New macro.
* tm.texi (DWARF2_GENERATE_TEXT_SECTION_LABEL): Define it.
* dwarf2out.c (dwarf2out_init): Don't output a label to mark the
start of the text section if DWARF2_GENERATE_TEXT_SECTION_LABEL is
false.
* config/mips/iris6.h (DWARF2_GENERATE_TEXT_SECTION_LABEL):
Define to zero.
From-SVN: r28213
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 90bedcb..4e1ebee 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -10008,7 +10008,10 @@ dwarf2out_init (asm_out_file, main_input_filename) ASM_GENERATE_INTERNAL_LABEL (text_end_label, TEXT_END_LABEL, 0); ASM_GENERATE_INTERNAL_LABEL (abbrev_section_label, ABBREV_SECTION_LABEL, 0); - ASM_GENERATE_INTERNAL_LABEL (text_section_label, TEXT_SECTION_LABEL, 0); + if (DWARF2_GENERATE_TEXT_SECTION_LABEL) + ASM_GENERATE_INTERNAL_LABEL (text_section_label, TEXT_SECTION_LABEL, 0); + else + strcpy (text_section_label, stripattributes (TEXT_SECTION)); ASM_GENERATE_INTERNAL_LABEL (debug_info_section_label, DEBUG_INFO_SECTION_LABEL, 0); ASM_GENERATE_INTERNAL_LABEL (debug_line_section_label, @@ -10017,7 +10020,8 @@ dwarf2out_init (asm_out_file, main_input_filename) ASM_OUTPUT_SECTION (asm_out_file, ABBREV_SECTION); ASM_OUTPUT_LABEL (asm_out_file, abbrev_section_label); ASM_OUTPUT_SECTION (asm_out_file, TEXT_SECTION); - ASM_OUTPUT_LABEL (asm_out_file, text_section_label); + if (DWARF2_GENERATE_TEXT_SECTION_LABEL) + ASM_OUTPUT_LABEL (asm_out_file, text_section_label); ASM_OUTPUT_SECTION (asm_out_file, DEBUG_INFO_SECTION); ASM_OUTPUT_LABEL (asm_out_file, debug_info_section_label); ASM_OUTPUT_SECTION (asm_out_file, DEBUG_LINE_SECTION); |