aboutsummaryrefslogtreecommitdiff
path: root/gas/ChangeLog
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2020-01-30 11:35:20 +0100
committerJan Beulich <jbeulich@suse.com>2020-01-30 11:35:20 +0100
commit873494c89fb44747c7514687da25fc163c791b84 (patch)
treed20e4524665299372a44efa3e99a4a91926ed792 /gas/ChangeLog
parent62b3f54810e4065cdfe420141df34c97b5abb165 (diff)
downloadgdb-873494c89fb44747c7514687da25fc163c791b84.zip
gdb-873494c89fb44747c7514687da25fc163c791b84.tar.gz
gdb-873494c89fb44747c7514687da25fc163c791b84.tar.bz2
x86-64: also diagnose far returns / IRET with ambiguous operand size
Other than near returns these default to 32-bit operand size, and hence it isn't really unlikely that 64-bit forms are meant. Hence these should have disambiguating suffixes. In Intel mode, however, don't error in these cases unconditionally - MASM accepts these without suffix _and_ without warning.
Diffstat (limited to 'gas/ChangeLog')
-rw-r--r--gas/ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 28a964d..91d8728 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,24 @@
2020-01-30 Jan Beulich <jbeulich@suse.com>
+ * config/tc-i386.c (process_suffix): .
+ testsuite/gas/i386/noreg64.s: Add IRET and LRET cases.
+ testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET.
+ Add LRETQ case.
+ testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without
+ suffix.
+ testsuite/gas/i386/x86_64.s: Add RETF cases.
+ * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
+ testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l,
+ testsuite/gas/i386/x86-64-opcode.d,
+ testsuite/gas/i386/x86-64-suffix-intel.d,
+ testsuite/gas/i386/x86-64-suffix.d,
+ testsuite/gas/i386/x86_64-intel.d
+ testsuite/gas/i386/x86_64.d: Adjust expectations.
+ * testsuite/gas/i386/x86-64-suffix.e,
+ testsuite/gas/i386/x86_64.e: New.
+
+2020-01-30 Jan Beulich <jbeulich@suse.com>
+
* config/tc-i386.c (process_suffix): Redo and move FLDENV et al
special case.