Commit 71208e03 by Jim Wilson Committed by Jim Wilson

Patch from Torbjorn Granlund.

	* dwarf2out.c (dwarf2out_finish): Call stripattributes on TEXT_SECTION.

From-SVN: r21346
parent 67f7c391
Thu Jul 23 11:00:29 1998 Jim Wilson <wilson@cygnus.com>
* dwarf2out.c (dwarf2out_finish): Call stripattributes on TEXT_SECTION.
Wed Jul 22 19:10:00 1998 Catherine Moore <clm@cygnus.com> Wed Jul 22 19:10:00 1998 Catherine Moore <clm@cygnus.com>
* dwarf2out.c (output_aranges): Call stripattributes * dwarf2out.c (output_aranges): Call stripattributes
......
...@@ -5589,7 +5589,8 @@ output_aranges () ...@@ -5589,7 +5589,8 @@ output_aranges ()
fprintf (asm_out_file, "\t%s Address", ASM_COMMENT_START); fprintf (asm_out_file, "\t%s Address", ASM_COMMENT_START);
fputc ('\n', asm_out_file); 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) if (flag_debug_asm)
fprintf (asm_out_file, "%s Length", ASM_COMMENT_START); fprintf (asm_out_file, "%s Length", ASM_COMMENT_START);
...@@ -9850,7 +9851,8 @@ dwarf2out_finish () ...@@ -9850,7 +9851,8 @@ dwarf2out_finish ()
was in .text. */ was in .text. */
if (separate_line_info_table_in_use == 0) 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); add_AT_lbl_id (comp_unit_die, DW_AT_high_pc, text_end_label);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment