* config/tc-dvp.c (md_convert_frag): Fix thinko.

This commit is contained in:
Doug Evans 1998-04-07 19:26:40 +00:00
parent 55ca0ccbb6
commit bfb27620b9
2 changed files with 7 additions and 1 deletions

View File

@ -1,4 +1,8 @@
start-sanitize-sky
Tue Apr 7 12:21:39 1998 Doug Evans <devans@canuck.cygnus.com>
* config/tc-dvp.c (md_convert_frag): Fix thinko.
Mon Apr 6 17:08:47 1998 Doug Evans <devans@canuck.cygnus.com>
* config/tc-dvp.c (assemble_vif): Watch for macro insns.

View File

@ -1503,8 +1503,10 @@ md_convert_frag (abfd, sec, fragP)
(so it abuts the following data). */
DVP_INSN insn = bfd_getl32 (fragP->fr_opcode);
md_number_to_chars (fragP->fr_opcode, VIFNOP, 4);
if (growth > 4)
md_number_to_chars (fragP->fr_opcode + 4, VIFNOP, 4);
if (growth > 8)
md_number_to_chars (fragP->fr_opcode, VIFNOP, 8);
md_number_to_chars (fragP->fr_opcode + 8, VIFNOP, 4);
md_number_to_chars (fragP->fr_literal + fragP->fr_fix - 4, insn, 4);
/* Adjust fr_opcode so md_apply_fix3 works with the right bytes. */