This patch ensure same output for sleb128 with large number.
authorTristan Gingold <gingold@adacore.com>
Mon, 9 Jan 2017 14:50:32 +0000 (15:50 +0100)
committerTristan Gingold <gingold@adacore.com>
Tue, 10 Jan 2017 09:23:23 +0000 (10:23 +0100)
commit74def31dcd248441a49755721da81ca73d99c4fb
tree8cacf56ca2cd374af1b699f9969f0325cc50ff0d
parentf7fd19e2b83c06cf1590d2ac8d0e9fc1ea4739c2
This patch ensure same output for sleb128 with large number.

gas/
* read.c (emit_leb128_expr): Extended unsigned big number for
sleb128.
* testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
* testsuite/gas/all/sleb128.d: New test.
* testsuite/gas/all/sleb128.s: New test source.
gas/ChangeLog
gas/read.c
gas/testsuite/gas/all/gas.exp
gas/testsuite/gas/all/sleb128-8.d [new file with mode: 0644]
gas/testsuite/gas/all/sleb128-8.s [new file with mode: 0644]