* config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
authorDJ Delorie <dj@redhat.com>
Fri, 22 Dec 2000 22:06:32 +0000 (22:06 +0000)
committerDJ Delorie <dj@redhat.com>
Fri, 22 Dec 2000 22:06:32 +0000 (22:06 +0000)
when we assemble the first half of a pair.

gas/ChangeLog
gas/config/tc-d10v.c

index b14a5a06931cd1a57288ffe0084ac171fcc48f3d..424bba336ddc8023eda915280d110764d1b13544 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-22  DJ Delorie  <dj@redhat.com>
+
+       * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
+       when we assemble the first half of a pair.
+
 2000-12-22  H.J. Lu  <hjl@gnu.org>
 
        * config/tc-i386.c (reloc): Update the macro for non-bfd
index fa553050fa4d63550dd1eba9eff28948ce3d4370..ff05b6779607046264e2f3f5ca5e06721ec7b0bf 100644 (file)
@@ -1096,6 +1096,8 @@ md_assemble (str)
 
          /* Assemble first instruction and save it.  */
          prev_insn = do_assemble (str, &prev_opcode);
+         prev_seg = now_seg;
+         prev_subseg = now_subseg;
          if (prev_insn == (unsigned long) -1)
            as_fatal (_("can't find opcode "));
          fixups = fixups->next;