* config/tc-h8300.c (fix_operand_size): Use the default size

specified by the .lbranch/.sbranch pseudos.
This commit is contained in:
DJ Delorie 2008-07-21 17:50:54 +00:00
parent 781b42b0ba
commit cc189afcf8
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2008-07-21 DJ Delorie <dj@redhat.com>
* config/tc-h8300.c (fix_operand_size): Use the default size
specified by the .lbranch/.sbranch pseudos.
2008-07-18 DJ Delorie <dj@redhat.com>
* config/tc-m32c.h (H_TICK_HEX): Define.

View File

@ -1815,7 +1815,12 @@ fix_operand_size (struct h8_op *operand, int size)
/* This condition is long standing, though somewhat suspect. */
if (operand->exp.X_add_number > -128
&& operand->exp.X_add_number < 127)
operand->mode |= L_8;
{
if (operand->exp.X_add_symbol != NULL)
operand->mode |= bsize;
else
operand->mode |= L_8;
}
else
operand->mode |= L_16;
break;