aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2017-01-10 14:43:01 +0100
committerTristan Gingold <gingold@adacore.com>2017-01-10 14:43:28 +0100
commit1a94eb29d0dd72e6c34bb2d32927c510d16e4c00 (patch)
tree80de2bb8ce39df01b27489229627341e4b79902d
parentb972a0d61a8b6e1dc3f9baf93ef3e57c7bfb9715 (diff)
downloadgdb-1a94eb29d0dd72e6c34bb2d32927c510d16e4c00.zip
gdb-1a94eb29d0dd72e6c34bb2d32927c510d16e4c00.tar.gz
gdb-1a94eb29d0dd72e6c34bb2d32927c510d16e4c00.tar.bz2
Fix sleb128-8 regressions.
gas/ * testsuite/gas/all/sleb128-8.d: Adjust test. * testsuite/gas/all/gas.exp (test_cond): Likewise.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/testsuite/gas/all/gas.exp2
-rw-r--r--gas/testsuite/gas/all/sleb128-8.d2
3 files changed, 7 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8d4885e..696d493 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -4,6 +4,11 @@
2017-01-10 Tristan Gingold <gingold@adacore.com>
+ * testsuite/gas/all/sleb128-8.d: Adjust test.
+ * testsuite/gas/all/gas.exp (test_cond): Likewise.
+
+2017-01-10 Tristan Gingold <gingold@adacore.com>
+
* read.c (emit_leb128_expr): Extended unsigned big number for
sleb128.
* testsuite/gas/all/gas.exp (test_cond): Add sleb128-8 test.
diff --git a/gas/testsuite/gas/all/gas.exp b/gas/testsuite/gas/all/gas.exp
index 6b5aec0..009e68c 100644
--- a/gas/testsuite/gas/all/gas.exp
+++ b/gas/testsuite/gas/all/gas.exp
@@ -392,8 +392,8 @@ run_dump_test sleb128-5
# .byte is not 8 bits on either tic4x or tic54x
if { ![istarget "tic4x*-*-*"] && ![istarget "tic54x*-*-*"] } {
run_dump_test sleb128-7
+ run_dump_test sleb128-8
}
-run_dump_test sleb128-8
# .byte is 32 bits on tic4x, and .p2align isn't supported on tic54x
# .space is different on hppa*-hpux.
diff --git a/gas/testsuite/gas/all/sleb128-8.d b/gas/testsuite/gas/all/sleb128-8.d
index 793337c..6190f26 100644
--- a/gas/testsuite/gas/all/sleb128-8.d
+++ b/gas/testsuite/gas/all/sleb128-8.d
@@ -4,4 +4,4 @@
.*: .*
Contents of section (\.data|\$DATA\$):
- 0000 ffffffff ffff3f .*
+ 0000 ffffffff ffff3f.*