Commit c2c85462 by Jeffrey A Law Committed by Jeff Law

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
parent b2bb2710
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) Fri Oct 31 07:10:09 1997 Jeffrey A Law (law@cygnus.com)
* version.c: Bump for snapshot. * version.c: Bump for snapshot.
......
...@@ -1567,7 +1567,7 @@ output_call_frame_info (for_eh) ...@@ -1567,7 +1567,7 @@ output_call_frame_info (for_eh)
} }
else else
{ {
ASM_OUTPUT_ASCII (asm_out_file, "eh", 2); ASM_OUTPUT_ASCII (asm_out_file, "eh", 3);
} }
fputc ('\n', asm_out_file); fputc ('\n', asm_out_file);
...@@ -5158,7 +5158,7 @@ output_die (die) ...@@ -5158,7 +5158,7 @@ output_die (die)
else else
ASM_OUTPUT_ASCII (asm_out_file, ASM_OUTPUT_ASCII (asm_out_file,
a->dw_attr_val.v.val_str, 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; break;
default: default:
...@@ -5310,7 +5310,7 @@ output_pubnames () ...@@ -5310,7 +5310,7 @@ output_pubnames ()
} }
else 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); fputc ('\n', asm_out_file);
...@@ -5546,7 +5546,7 @@ output_line_info () ...@@ -5546,7 +5546,7 @@ output_line_info ()
{ {
ASM_OUTPUT_ASCII (asm_out_file, ASM_OUTPUT_ASCII (asm_out_file,
file_table[ft_index], file_table[ft_index],
strlen (file_table[ft_index])); strlen (file_table[ft_index]) + 1);
} }
fputc ('\n', asm_out_file); fputc ('\n', asm_out_file);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment