aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorJim Wilson <jimw@sifive.com>2017-11-29 10:22:26 -0800
committerJim Wilson <jimw@sifive.com>2017-11-29 10:22:26 -0800
commitf923328821e2e835c725822bce2aac6e10c52dd9 (patch)
tree04469c8fdde414d8c6eb775806bd36b1e1b22d52 /gas/doc
parentf10e937a1cdcffcca748c226ed78d09369fc4cd0 (diff)
downloadgdb-f923328821e2e835c725822bce2aac6e10c52dd9.zip
gdb-f923328821e2e835c725822bce2aac6e10c52dd9.tar.gz
gdb-f923328821e2e835c725822bce2aac6e10c52dd9.tar.bz2
In x86 -n docs, mention that you need an explicit nop fill byte.
gas/ PR gas/22464 * doc/c-i386.texi (-n): Clarify docs.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/c-i386.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi
index a1d33bd..a0e280c 100644
--- a/gas/doc/c-i386.texi
+++ b/gas/doc/c-i386.texi
@@ -74,7 +74,8 @@ usage and use x86-64 as target platform).
@item -n
By default, x86 GAS replaces multiple nop instructions used for
alignment within code sections with multi-byte nop instructions such
-as leal 0(%esi,1),%esi. This switch disables the optimization.
+as leal 0(%esi,1),%esi. This switch disables the optimization if a single
+byte nop (0x90) is explicitly specified as the fill byte for alignment.
@cindex @samp{--divide} option, i386
@item --divide