From: DJ Delorie Date: Fri, 22 Dec 2000 22:06:32 +0000 (+0000) Subject: * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3cd4dda73eba461d60dd77b1b7ce71369a61a459;p=binutils-gdb.git * config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg when we assemble the first half of a pair. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index b14a5a06931..424bba336dd 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-12-22 DJ Delorie + + * 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 * config/tc-i386.c (reloc): Update the macro for non-bfd diff --git a/gas/config/tc-d10v.c b/gas/config/tc-d10v.c index fa553050fa4..ff05b677960 100644 --- a/gas/config/tc-d10v.c +++ b/gas/config/tc-d10v.c @@ -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;