aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-d10v.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2000-12-22 22:06:32 +0000
committerDJ Delorie <dj@redhat.com>2000-12-22 22:06:32 +0000
commit3cd4dda73eba461d60dd77b1b7ce71369a61a459 (patch)
tree15484cf2645a14e8fd68d4d25b7da9b672e76164 /gas/config/tc-d10v.c
parent0a940afa28ac60ade76af8b46aeb88fa0a2c5cbc (diff)
downloadgdb-3cd4dda73eba461d60dd77b1b7ce71369a61a459.zip
gdb-3cd4dda73eba461d60dd77b1b7ce71369a61a459.tar.gz
gdb-3cd4dda73eba461d60dd77b1b7ce71369a61a459.tar.bz2
* config/tc-d10v.c (md_assemble): set prev_seg and prev_subseg
when we assemble the first half of a pair.
Diffstat (limited to 'gas/config/tc-d10v.c')
-rw-r--r--gas/config/tc-d10v.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gas/config/tc-d10v.c b/gas/config/tc-d10v.c
index fa55305..ff05b67 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;