Browse Source

* config/tc-m68k.c (m68k_ip_op): Don't decrement strend when

calculating opP->isiz; this permits the expression size to be
	determined as well, later on.

Fixes PR 2911.
gdb-4_18-branch
Ian Lance Taylor 34 years ago
parent
commit
ce2ad89aca
  1. 4
      gas/ChangeLog
  2. 2
      gas/config/tc-m68k.c

4
gas/ChangeLog

@ -1,5 +1,9 @@
Mon Jul 19 14:30:00 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
* config/tc-m68k.c (m68k_ip_op): Don't decrement strend when
calculating opP->isiz; this permits the expression size to be
determined as well, later on.
* expr.c (clean_up_expression): Don't cancel the subtraction of
undefined symbols.

2
gas/config/tc-m68k.c

@ -1159,12 +1159,10 @@ m68k_ip_op (str, opP)
case 'w':
case 'W':
opP->isiz = 2;
strend -= 2;
break;
case 'l':
case 'L':
opP->isiz = 3;
strend -= 2;
break;
}
}

Loading…
Cancel
Save