From 07d5e9534b11ea9df17eb9d01799000a10c7567f Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Thu, 13 Sep 2018 11:04:38 +0200 Subject: [PATCH] x86: add code comment on deprecated status of pseudo-suffixes --- 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 8675e2fe75a..acb9af32673 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2018-09-13 Jan Beulich + + * config/tc-i386.c (parse_insn): Extend comment ahead of pseudo- + suffix handling. + 2018-09-13 Jan Beulich * testsuite/gas/i386/x86-64-mpx.s: And BNDMK case with RIP- diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index bb1d1725d4c..ccae0481309 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;