]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/ChangeLog
x86: harmonize disp with imm handling
[thirdparty/binutils-gdb.git] / gas / ChangeLog
index 97bb57bd4777719d0a30e92bbc5051f1a2e7f5d2..0a59cd74d6ab8669cda171b7c2f6a77397e956b1 100644 (file)
@@ -1,3 +1,13 @@
+2021-06-15  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (optimize_disp): Generalize disp32 part of
+       the BFD64-only logic to also apply to non-64-bit code.
+       (i386_finalize_displacement): Use extend_to_32bit_address for
+       non-64-bit code. Drop now redundant O_constant checks.
+       * testsuite/gas/i386/disp-imm-32.s,
+       testsuite/gas/i386/disp-imm-32.d: New.
+       * testsuite/gas/i386/i386.exp: Run new test.
+
 2021-06-15  Jan Beulich  <jbeulich@suse.com>
 
        * config/tc-i386.c (offset_in_range): Replace uses of