diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-10-06 17:31:31 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-10-06 17:31:31 +0000 |
commit | 80aab57939a0e22d4614fa759433c1713f047033 (patch) | |
tree | 3a3afbb30c1b9aca4b1ce9c5c957a511b303e96a /gas/config/tc-h8500.c | |
parent | 9978cd4dc9134185ff8be094db9d74ca2b545713 (diff) | |
download | gdb-80aab57939a0e22d4614fa759433c1713f047033.zip gdb-80aab57939a0e22d4614fa759433c1713f047033.tar.gz gdb-80aab57939a0e22d4614fa759433c1713f047033.tar.bz2 |
Changes to let cons handle bignums like general expressions.
* expr.h (expressionS): New field X_unsigned.
* expr.c (operand): Initialize X_unsigned to 1. Set it to 0 for
unary minus case.
(expr) Fix typo resultP to right if missing operand. Set
X_unsigned to 1 when building new expression.
* read.c (potable): Make "octa" and "quad" call cons, not
big_cons.
(cons): Handle bignums. If given an O_constant (small integer) to
fill a big space, turn it into a bignum.
(parse_bitfield_cons): Set X_unsigned field.
(bignum_low, bignum_limit, bignum_high, grow_bignum, big_cons):
Removed.
* read.h (big_cons): Remove prototype.
* symbols.c (resolve_symbol_value): Don't give a warning if a
symbol in expr_section can not be resolved.
(S_SET_VALUE): Clear X_unsigned.
* write.c (write_object_file): If resolve_symbol_value failed on a
symbol we are writing out, give a warning.
* config/tc-h8500.c (parse_reglist): Set X_unsigned.
* config/tc-hppa.c (md_pseudo_table): Change "octa" and "quad" to
call pa_cons, not pa_big_cons.
(pa_big_cons): Remove.
* config/tc-hppa.h (pa_big_cons): Remove declaration.
* config/tc-i960.c (md_pseudo_table): Change "quad" to call cons,
not big_cons.
Diffstat (limited to 'gas/config/tc-h8500.c')
-rw-r--r-- | gas/config/tc-h8500.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/config/tc-h8500.c b/gas/config/tc-h8500.c index f58163f..0210436 100644 --- a/gas/config/tc-h8500.c +++ b/gas/config/tc-h8500.c @@ -421,6 +421,7 @@ parse_reglist (src, op) op->exp.X_op_symbol = 0; op->exp.X_add_number = mask; op->exp.X_op = O_constant; + op->exp.X_unsigned = 1; op->type = IMM8; return idx; |