diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2005-01-19 11:53:53 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2005-01-19 11:53:53 +0000 |
commit | e5604d797e394c370128dc06e702a14f11f3e8a5 (patch) | |
tree | 3f18f33ccb5004f3dbbec974231bfb224be1e79a /gdb/utils.c | |
parent | e22430578c7bc54a36eb0a8cc0a083f5b4826998 (diff) | |
download | binutils-e5604d797e394c370128dc06e702a14f11f3e8a5.zip binutils-e5604d797e394c370128dc06e702a14f11f3e8a5.tar.gz binutils-e5604d797e394c370128dc06e702a14f11f3e8a5.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/utils.c')
0 files changed, 0 insertions, 0 deletions