diff options
author | Doug Evans <dje@google.com> | 1998-04-07 19:26:40 +0000 |
---|---|---|
committer | Doug Evans <dje@google.com> | 1998-04-07 19:26:40 +0000 |
commit | bfb27620b9d97b2acf8ed589997c5b16c4ba0802 (patch) | |
tree | 972d124793970bbdc93b695e72e37e597f3ffd27 /gas/config | |
parent | 55ca0ccbb676ae9705fd2efb4e79542fe7ad8e53 (diff) | |
download | gdb-bfb27620b9d97b2acf8ed589997c5b16c4ba0802.zip gdb-bfb27620b9d97b2acf8ed589997c5b16c4ba0802.tar.gz gdb-bfb27620b9d97b2acf8ed589997c5b16c4ba0802.tar.bz2 |
* config/tc-dvp.c (md_convert_frag): Fix thinko.
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/tc-dvp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config/tc-dvp.c b/gas/config/tc-dvp.c index f605b06..6f7af59 100644 --- a/gas/config/tc-dvp.c +++ b/gas/config/tc-dvp.c @@ -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. */ |