dwarf2out.c (output_aranges): Call stripattributes for TEXT_SECTION references.
authorCatherine Moore <clm@cygnus.com>
Wed, 22 Jul 1998 17:16:20 +0000 (17:16 +0000)
committerCatherine Moore <clm@gcc.gnu.org>
Wed, 22 Jul 1998 17:16:20 +0000 (13:16 -0400)
Wed Jul 22 19:10:00 1998  Catherine Moore  <clm@cygnus.com>
        * dwarf2out.c (output_aranges):  Call stripattributes
        for TEXT_SECTION references.
        (output_line_info): Likewise.

From-SVN: r21341

gcc/ChangeLog
gcc/dwarf2out.c

index ecf168a4882b836723f8e4e795f9d142d311baf4..f0fd5edb84b9577388465e247779c7709dd24b9b 100644 (file)
@@ -1,3 +1,9 @@
+Wed Jul 22 19:10:00 1998  Catherine Moore  <clm@cygnus.com>
+
+        * dwarf2out.c (output_aranges):  Call stripattributes
+        for TEXT_SECTION references.
+        (output_line_info): Likewise.
+
 Wed Jul 22 14:08:54 1998  David S. Miller  <davem@pierdol.cobaltmicro.com>
 
        * profile.c (branch_prob): Call allocate_reg_info after outputting
index 61b16ca3fee8e7269709c6fe14001e4dd72b19e1..1388152afd2df2fe3a5dd3161ebc7de6327aaf5a 100644 (file)
@@ -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;