dwarf2out.c (output_call_frame_info): Fix length argument to ASM_OUTPUT_ASCII.

* dwarf2out.c (output_call_frame_info): Fix length argument
        to ASM_OUTPUT_ASCII.
        (output_die, output_pubnames, output_line_info): Likewise.

From-SVN: r16262
This commit is contained in:
Jeffrey A Law 1997-11-01 20:43:02 +00:00 committed by Jeff Law
parent b2bb2710f3
commit c2c85462f3
2 changed files with 10 additions and 4 deletions

View File

@ -1,3 +1,9 @@
Sat Nov 1 13:42:19 1997 Jeffrey A Law (law@cygnus.com)
* dwarf2out.c (output_call_frame_info): Fix length argument
to ASM_OUTPUT_ASCII.
(output_die, output_pubnames, output_line_info): Likewise.
Fri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com)
* version.c: Bump for snapshot.

View File

@ -1567,7 +1567,7 @@ output_call_frame_info (for_eh)
}
else
{
ASM_OUTPUT_ASCII (asm_out_file, "eh", 2);
ASM_OUTPUT_ASCII (asm_out_file, "eh", 3);
}
fputc ('\n', asm_out_file);
@ -5158,7 +5158,7 @@ output_die (die)
else
ASM_OUTPUT_ASCII (asm_out_file,
a->dw_attr_val.v.val_str,
strlen (a->dw_attr_val.v.val_str));
strlen (a->dw_attr_val.v.val_str) + 1);
break;
default:
@ -5310,7 +5310,7 @@ output_pubnames ()
}
else
{
ASM_OUTPUT_ASCII (asm_out_file, pub->name, strlen (pub->name));
ASM_OUTPUT_ASCII (asm_out_file, pub->name, strlen (pub->name) + 1);
}
fputc ('\n', asm_out_file);
@ -5546,7 +5546,7 @@ output_line_info ()
{
ASM_OUTPUT_ASCII (asm_out_file,
file_table[ft_index],
strlen (file_table[ft_index]));
strlen (file_table[ft_index]) + 1);
}
fputc ('\n', asm_out_file);