aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2018-09-13 11:04:38 +0200
committerJan Beulich <jbeulich@suse.com>2018-09-13 11:04:38 +0200
commit07d5e9534b11ea9df17eb9d01799000a10c7567f (patch)
tree380edbe0c0785feed375697b2698a9745e1c2761 /gas
parentd276ec695e8954330e922807d6886b8212d6323b (diff)
downloadgdb-07d5e9534b11ea9df17eb9d01799000a10c7567f.zip
gdb-07d5e9534b11ea9df17eb9d01799000a10c7567f.tar.gz
gdb-07d5e9534b11ea9df17eb9d01799000a10c7567f.tar.bz2
x86: add code comment on deprecated status of pseudo-suffixes
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386.c3
2 files changed, 7 insertions, 1 deletions
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;