aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>1998-04-07 19:26:40 +0000
committerDoug Evans <dje@google.com>1998-04-07 19:26:40 +0000
commitbfb27620b9d97b2acf8ed589997c5b16c4ba0802 (patch)
tree972d124793970bbdc93b695e72e37e597f3ffd27 /gas
parent55ca0ccbb676ae9705fd2efb4e79542fe7ad8e53 (diff)
downloadgdb-bfb27620b9d97b2acf8ed589997c5b16c4ba0802.zip
gdb-bfb27620b9d97b2acf8ed589997c5b16c4ba0802.tar.gz
gdb-bfb27620b9d97b2acf8ed589997c5b16c4ba0802.tar.bz2
* config/tc-dvp.c (md_convert_frag): Fix thinko.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-dvp.c4
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index d7664d9..df04cdb 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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.
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. */