* config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg

when we assemble the first half of a pair.
This commit is contained in:
DJ Delorie 2000-12-22 22:06:32 +00:00
parent 0a940afa28
commit 3cd4dda73e
2 changed files with 7 additions and 0 deletions

View 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

View 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;