mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-29 15:00:34 +00:00
* config/tc-dvp.c (md_convert_frag): Fix thinko.
This commit is contained in:
parent
55ca0ccbb6
commit
bfb27620b9
@ -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.
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user