This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] x86: add code comment on deprecated status of pseudo-suffixes
- From: Jan Beulich <jbeulich at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 13 Sep 2018 09:09:03 -0000
- Subject: [binutils-gdb] x86: add code comment on deprecated status of pseudo-suffixes
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=07d5e9534b11ea9df17eb9d01799000a10c7567f
commit 07d5e9534b11ea9df17eb9d01799000a10c7567f
Author: Jan Beulich <jbeulich@novell.com>
Date: Thu Sep 13 11:04:38 2018 +0200
x86: add code comment on deprecated status of pseudo-suffixes
Diff:
---
gas/ChangeLog | 5 +++++
gas/config/tc-i386.c | 3 ++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 8675e2f..acb9af3 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2018-09-13 Jan Beulich <jbeulich@suse.com>
+ * config/tc-i386.c (parse_insn): Extend comment ahead of pseudo-
+ suffix handling.
+
+2018-09-13 Jan Beulich <jbeulich@suse.com>
+
* testsuite/gas/i386/x86-64-mpx.s: And BNDMK case with RIP-
relative memory operand.
* testsuite/gas/i386/x86-64-mpx.d: Adjust expectations.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index bb1d172..ccae048 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -4516,7 +4516,8 @@ parse_insn (char *line, char *mnemonic)
if (!current_templates)
{
- /* Check if we should swap operand or force 32bit displacement in
+ /* Deprecated functionality (new code should use pseudo-prefixes instead):
+ Check if we should swap operand or force 32bit displacement in
encoding. */
if (mnem_p - 2 == dot_p && dot_p[1] == 's')
i.dir_encoding = dir_encoding_store;