[patch] gas/config/tc-d10v.c
DJ Delorie
dj@redhat.com
Fri Dec 22 13:08:00 GMT 2000
This fixes this testcase. OK to apply?
.section P1 ,"ax"
add r1,r11
.section P2 ,"ax"
add r2,r11 || add r3,r11
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.
Index: config/tc-d10v.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-d10v.c,v
retrieving revision 1.14
diff -p -2 -r1.14 tc-d10v.c
*** tc-d10v.c 2000/12/05 00:56:04 1.14
--- tc-d10v.c 2000/12/22 21:03:02
*************** md_assemble (str)
*** 1097,1100 ****
--- 1097,1102 ----
/* 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 "));
More information about the Binutils
mailing list