This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Fix sleb128-8 regressions.
- From: Tristan Gingold <gingold at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 10 Jan 2017 13:44:13 -0000
- Subject: [binutils-gdb] Fix sleb128-8 regressions.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1a94eb29d0dd72e6c34bb2d32927c510d16e4c00
commit 1a94eb29d0dd72e6c34bb2d32927c510d16e4c00
Author: Tristan Gingold <gingold@adacore.com>
Date: Tue Jan 10 14:43:01 2017 +0100
Fix sleb128-8 regressions.
gas/
* testsuite/gas/all/sleb128-8.d: Adjust test.
* testsuite/gas/all/gas.exp (test_cond): Likewise.
Diff:
---
gas/ChangeLog | 5 +++++
gas/testsuite/gas/all/gas.exp | 2 +-
gas/testsuite/gas/all/sleb128-8.d | 2 +-
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.*