From 49bcd085f2cb4060a59ea6552282a6b3bb07f138 Mon Sep 17 00:00:00 2001 From: Catherine Moore Date: Wed, 22 Jul 1998 17:16:20 +0000 Subject: [PATCH] dwarf2out.c (output_aranges): Call stripattributes for TEXT_SECTION references. Wed Jul 22 19:10:00 1998 Catherine Moore * dwarf2out.c (output_aranges): Call stripattributes for TEXT_SECTION references. (output_line_info): Likewise. From-SVN: r21341 --- gcc/ChangeLog | 6 ++++++ gcc/dwarf2out.c | 8 ++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ecf168a4882..f0fd5edb84b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Wed Jul 22 19:10:00 1998 Catherine Moore + + * dwarf2out.c (output_aranges): Call stripattributes + for TEXT_SECTION references. + (output_line_info): Likewise. + Wed Jul 22 14:08:54 1998 David S. Miller * profile.c (branch_prob): Call allocate_reg_info after outputting diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 61b16ca3fee..1388152afd2 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -5584,12 +5584,12 @@ output_aranges () ASM_COMMENT_START, 2 * PTR_SIZE); fputc ('\n', asm_out_file); - ASM_OUTPUT_DWARF_ADDR (asm_out_file, TEXT_SECTION); + ASM_OUTPUT_DWARF_ADDR (asm_out_file, stripattributes (TEXT_SECTION)); if (flag_debug_asm) 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, 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); @@ -5774,14 +5774,14 @@ output_line_info () fputc ('\n', asm_out_file); ASM_OUTPUT_DWARF_DATA1 (asm_out_file, DW_LNE_set_address); fputc ('\n', asm_out_file); - ASM_OUTPUT_DWARF_ADDR (asm_out_file, TEXT_SECTION); + ASM_OUTPUT_DWARF_ADDR (asm_out_file, stripattributes (TEXT_SECTION)); fputc ('\n', asm_out_file); /* Generate the line number to PC correspondence table, encoded as a series of state machine operations. */ current_file = 1; current_line = 1; - strcpy (prev_line_label, TEXT_SECTION); + strcpy (prev_line_label, stripattributes (TEXT_SECTION)); for (lt_index = 1; lt_index < line_info_table_in_use; ++lt_index) { register dw_line_info_ref line_info; -- 2.30.2