summaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-06-15 07:58:18 +0200
committerJan Beulich <jbeulich@suse.com>2021-06-15 07:58:18 +0200
commit4fe51f7d3ce96953a62c493b8c2615f8577c0f11 (patch)
treea08b7fc2f4a429a2e28c2f3b8769d5a3cb6af16a /gas/ChangeLog
parentcc0f96357e0b5bce4a1f02910cec2dd66e8990c5 (diff)
downloadbinutils-gdb-4fe51f7d3ce96953a62c493b8c2615f8577c0f11.tar.gz
x86: off-by-1 in offset_in_range()
Just like e.g. 0x10000 triggers a warning for size 2, -0x10000 ought to as well. Note that some of the encodings produced aren't ones one would expect, and hence the generated code is not being checked for in the new testcases.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index d766fd1a28c..8a3684a756f 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,14 @@
2021-06-15 Jan Beulich <jbeulich@suse.com>
+ * config/tc-i386.c (offset_in_range): Adjust conditional.
+ * testsuite/gas/i386/disp-imm-16.s,
+ testsuite/gas/i386/disp-imm-16.l,
+ testsuite/gas/i386/disp-imm-64.s,
+ testsuite/gas/i386/disp-imm-64.l: New.
+ * testsuite/gas/i386/i386.exp: Run new tests.
+
+2021-06-15 Jan Beulich <jbeulich@suse.com>
+
* config/tc-i386.c (i386_att_operand): Re-introduce (now
properly named) parens_not_balanced.
* testsuite/gas/i386/sib.s: Add more cases.