In x86 -n docs, mention that you need an explicit nop fill byte.
authorJim Wilson <jimw@sifive.com>
Wed, 29 Nov 2017 18:22:26 +0000 (10:22 -0800)
committerJim Wilson <jimw@sifive.com>
Wed, 29 Nov 2017 18:22:26 +0000 (10:22 -0800)
gas/
PR gas/22464
* doc/c-i386.texi (-n): Clarify docs.

gas/ChangeLog
gas/doc/c-i386.texi

index 0512f23d6ef0b1555ff310804bbe05e228ed59f9..8124043fac3f44a9d48e7600a6e460094020b827 100644 (file)
@@ -1,3 +1,8 @@
+2017-11-29  Jim Wilson  <jimw@sifive.com>
+
+       PR gas/22464
+       * doc/c-i386.texi (-n): Clarify docs.
+
 2017-11-29  Renlin Li  <renlin.li@arm.com>
 
        * config/tc-aarch64.c (reg_names): Fix IP1 register alias typo.
index a1d33bde3d1e240e13aa7a7e49d359537a87efc2..a0e280c63c6d380f9a79c1754f5a6d9e199ae2da 100644 (file)
@@ -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
This page took 0.041343 seconds and 4 git commands to generate.