From: Jeffrey A Law <law@cygnus.com>
To: egcs@cygnus.com
Subject: dwarf2out patch
Date: Sat, 01 Nov 1997 12:42:00 -0000 [thread overview]
Message-ID: <9126.878417058@chunks.cygnus.com> (raw)
This should fix most of the problems with dwarf2 exceptions
using the latest snapshot:
* dwarf2out.c (output_call_frame_info): Fix length argument
to ASM_OUTPUT_ASCII.
(output_die, output_pubnames, output_line_info): Likewise.
Index: dwarf2out.c
===================================================================
RCS file: /cvs/cvsfiles/egcs/gcc/dwarf2out.c,v
retrieving revision 1.17
diff -c -3 -p -r1.17 dwarf2out.c
*** dwarf2out.c 1997/10/31 16:30:48 1.17
--- dwarf2out.c 1997/11/01 20:38:24
*************** output_call_frame_info (for_eh)
*** 1567,1573 ****
}
else
{
! ASM_OUTPUT_ASCII (asm_out_file, "eh", 2);
}
fputc ('\n', asm_out_file);
--- 1567,1573 ----
}
else
{
! ASM_OUTPUT_ASCII (asm_out_file, "eh", 3);
}
fputc ('\n', asm_out_file);
*************** output_die (die)
*** 5158,5164 ****
else
ASM_OUTPUT_ASCII (asm_out_file,
a->dw_attr_val.v.val_str,
! strlen (a->dw_attr_val.v.val_str));
break;
default:
--- 5158,5164 ----
else
ASM_OUTPUT_ASCII (asm_out_file,
a->dw_attr_val.v.val_str,
! strlen (a->dw_attr_val.v.val_str) + 1);
break;
default:
*************** output_pubnames ()
*** 5310,5316 ****
}
else
{
! ASM_OUTPUT_ASCII (asm_out_file, pub->name, strlen (pub->name));
}
fputc ('\n', asm_out_file);
--- 5310,5316 ----
}
else
{
! ASM_OUTPUT_ASCII (asm_out_file, pub->name, strlen (pub->name) + 1);
}
fputc ('\n', asm_out_file);
*************** output_line_info ()
*** 5546,5552 ****
{
ASM_OUTPUT_ASCII (asm_out_file,
file_table[ft_index],
! strlen (file_table[ft_index]));
}
fputc ('\n', asm_out_file);
--- 5546,5552 ----
{
ASM_OUTPUT_ASCII (asm_out_file,
file_table[ft_index],
! strlen (file_table[ft_index]) + 1);
}
fputc ('\n', asm_out_file);
Jeff Law (law@cygnus.com)
Cygnus Solutions EGCS GNU Compiler System
http://www.cygnus.com http://www.cygnus.com/egcs
reply other threads:[~1997-11-01 12:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9126.878417058@chunks.cygnus.com \
--to=law@cygnus.com \
--cc=egcs@cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).