aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2020-04-08 19:31:45 -0700
committerH.J. Lu <hjl.tools@gmail.com>2020-04-08 19:31:45 -0700
commit3071b197da66dce3877b785c8176352762b45ccc (patch)
treef5739fe68d2cb2c6f1fbfba4b27ea92738ed44ac
parent6b0f946d417d9f17039cf6d53e8c4619a5c7b027 (diff)
downloadgdb-3071b197da66dce3877b785c8176352762b45ccc.zip
gdb-3071b197da66dce3877b785c8176352762b45ccc.tar.gz
gdb-3071b197da66dce3877b785c8176352762b45ccc.tar.bz2
x86: Correct -mlfence-before-indirect-branch= documentation
Replace "after indirect near branch" with "before indirect near branch". * doc/c-i386.texi: Correct -mlfence-before-indirect-branch= documentation.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/doc/c-i386.texi6
2 files changed, 8 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index d7293e1..ecc3b98 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2020-04-08 H.J. Lu <hongjiu.lu@intel.com>
+
+ * doc/c-i386.texi: Correct -mlfence-before-indirect-branch=
+ documentation.
+
2020-04-08 Gunther Nikl <gnikl@justmail.de>
* config/tc-moxie.h (MD_PCREL_FROM_SECTION): Delete define.
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi
index 8141a84..628fb1a 100644
--- a/gas/doc/c-i386.texi
+++ b/gas/doc/c-i386.texi
@@ -484,12 +484,12 @@ lfence, which is the default.
@item -mlfence-before-indirect-branch=@var{register}
@itemx -mlfence-before-indirect-branch=@var{memory}
These options control whether the assembler should generate lfence
-after indirect near branch instructions.
+before indirect near branch instructions.
@option{-mlfence-before-indirect-branch=@var{all}} will generate lfence
-after indirect near branch via register and issue a warning before
+before indirect near branch via register and issue a warning before
indirect near branch via memory.
@option{-mlfence-before-indirect-branch=@var{register}} will generate
-lfence after indirect near branch via register.
+lfence before indirect near branch via register.
@option{-mlfence-before-indirect-branch=@var{memory}} will issue a
warning before indirect near branch via memory.
@option{-mlfence-before-indirect-branch=@var{none}} will not generate