In x86 -n docs, mention that you need an explicit nop fill byte.

gas/
	PR gas/22464
	* doc/c-i386.texi (-n): Clarify docs.
This commit is contained in:
Jim Wilson 2017-11-29 10:22:26 -08:00
parent f10e937a1c
commit f923328821
2 changed files with 7 additions and 1 deletions

View 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.

View 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