aboutsummaryrefslogtreecommitdiff
path: root/gas/doc/c-i386.texi
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-06-10 06:46:34 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-06-10 06:46:34 +0000
commit12b55ccc43340fd281f4eb8f4e6287f069799eab (patch)
tree07448b880bb99a1529d20db334a82434b9918eb3 /gas/doc/c-i386.texi
parent81cacc150bd3f44d24302def2fdb6cd86e36ace2 (diff)
downloadgdb-12b55ccc43340fd281f4eb8f4e6287f069799eab.zip
gdb-12b55ccc43340fd281f4eb8f4e6287f069799eab.tar.gz
gdb-12b55ccc43340fd281f4eb8f4e6287f069799eab.tar.bz2
2003-06-09 H.J. Lu <hongjiu.lu@intel.com>
* NEWS: Updated for the new -n option for the i386 assembler. * config/tc-i386.c (optimize_align_code): New. (md_shortopts): Add 'n'. (md_parse_option): Handle 'n'. (md_show_usage): Add '-n'. * config/tc-i386.h (optimize_align_code): Declared. (md_do_align): Optimize code alignment only if optimize_align_code is not 0. * doc/as.texinfo: Add the new -n option. * doc/c-i386.texi: Document the new -n option.
Diffstat (limited to 'gas/doc/c-i386.texi')
-rw-r--r--gas/doc/c-i386.texi5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi
index 1527c8d..f0047f9 100644
--- a/gas/doc/c-i386.texi
+++ b/gas/doc/c-i386.texi
@@ -61,6 +61,11 @@ These options are only available with the ELF object file format, and
require that the necessary BFD support has been included (on a 32-bit
platform you have to add --enable-64-bit-bfd to configure enable 64-bit
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.
@end table
@node i386-Syntax