diff options
author | Jim Wilson <wilson@cygnus.com> | 1998-07-23 11:01:33 +0000 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1998-07-23 04:01:33 -0700 |
commit | 71208e03a989e5b54a6dbb9ec88bad86897bf49e (patch) | |
tree | ab5f7e55971b24469a16e57dbc058dd3b74fa8c1 /gcc/dwarf2out.c | |
parent | 67f7c3918150e70c096d69d563c4bc01f22b3793 (diff) | |
download | gcc-71208e03a989e5b54a6dbb9ec88bad86897bf49e.zip gcc-71208e03a989e5b54a6dbb9ec88bad86897bf49e.tar.gz gcc-71208e03a989e5b54a6dbb9ec88bad86897bf49e.tar.bz2 |
Patch from Torbjorn Granlund.
* dwarf2out.c (dwarf2out_finish): Call stripattributes on TEXT_SECTION.
From-SVN: r21346
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r-- | gcc/dwarf2out.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 1388152..51d69a8 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -5589,7 +5589,8 @@ output_aranges () fprintf (asm_out_file, "\t%s Address", ASM_COMMENT_START); fputc ('\n', asm_out_file); - ASM_OUTPUT_DWARF_ADDR_DELTA (asm_out_file, text_end_label, stripattributes (TEXT_SECTION)); + ASM_OUTPUT_DWARF_ADDR_DELTA (asm_out_file, text_end_label, + stripattributes (TEXT_SECTION)); if (flag_debug_asm) fprintf (asm_out_file, "%s Length", ASM_COMMENT_START); @@ -9850,7 +9851,8 @@ dwarf2out_finish () was in .text. */ if (separate_line_info_table_in_use == 0) { - add_AT_lbl_id (comp_unit_die, DW_AT_low_pc, TEXT_SECTION); + add_AT_lbl_id (comp_unit_die, DW_AT_low_pc, + stripattributes (TEXT_SECTION)); add_AT_lbl_id (comp_unit_die, DW_AT_high_pc, text_end_label); } |