OSDN Git Service

* read.c (convert_to_bignum): New function, split out from...
authorrsandifo <rsandifo>
Wed, 19 Jan 2005 11:53:48 +0000 (11:53 +0000)
committerrsandifo <rsandifo>
Wed, 19 Jan 2005 11:53:48 +0000 (11:53 +0000)
commit4ffc59fb6e8d2f9613ae8b67c29b65abbda2e94d
tree4fedd88910dd31821fa653a95dc8167cbdad134f
parentab41646a9dd5b281eb4e23c86b7885244f3f3f8d
* read.c (convert_to_bignum): New function, split out from...
(emit_expr): ...here.  Handle the case where X_add_number is
positive and the input value is negative.
(output_big_sleb128): Fix setting of continuation bit.  Check whether
the final byte needs to be sign-extended.  Fix size-shrinking loop.
(emit_leb128_expr): When generating a signed leb128, see whether the
sign of an O_constant's X_add_number matches the sign of the input
value.  Use a bignum if not.
gas/ChangeLog
gas/read.c
gas/testsuite/ChangeLog
gas/testsuite/gas/all/gas.exp
gas/testsuite/gas/all/quad.d [new file with mode: 0644]
gas/testsuite/gas/all/quad.s [new file with mode: 0644]
gas/testsuite/gas/all/sleb128.d [new file with mode: 0644]
gas/testsuite/gas/all/sleb128.s [new file with mode: 0644]