aboutsummaryrefslogtreecommitdiff
path: root/gcc/dwarf2out.c
diff options
context:
space:
mode:
authorCatherine Moore <clm@cygnus.com>1998-07-22 17:16:20 +0000
committerCatherine Moore <clm@gcc.gnu.org>1998-07-22 13:16:20 -0400
commit49bcd085f2cb4060a59ea6552282a6b3bb07f138 (patch)
treee0084210be126cf64e2645722f79bfad6ef62f4d /gcc/dwarf2out.c
parent60f25009e32cf0269d1344ee2683bce092d31c5f (diff)
downloadgcc-49bcd085f2cb4060a59ea6552282a6b3bb07f138.zip
gcc-49bcd085f2cb4060a59ea6552282a6b3bb07f138.tar.gz
gcc-49bcd085f2cb4060a59ea6552282a6b3bb07f138.tar.bz2
dwarf2out.c (output_aranges): Call stripattributes for TEXT_SECTION references.
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
Diffstat (limited to 'gcc/dwarf2out.c')
-rw-r--r--gcc/dwarf2out.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c
index 61b16ca..1388152 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;