diff options
author | Alan Modra <amodra@gmail.com> | 2005-11-07 06:01:18 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-11-07 06:01:18 +0000 |
commit | b3b91714e232061888a000aa811cebbcf1cb61b7 (patch) | |
tree | a056ccfa72f0959aa37997f7d153fb14f58041b8 /gas/doc | |
parent | fb7ccfc159511562e051e679bf046cdee0d995a7 (diff) | |
download | gdb-b3b91714e232061888a000aa811cebbcf1cb61b7.zip gdb-b3b91714e232061888a000aa811cebbcf1cb61b7.tar.gz gdb-b3b91714e232061888a000aa811cebbcf1cb61b7.tar.bz2 |
* config/tc-i386.h (tc_comment_chars): Define.
* config/tc-i386.c (line_comment_chars): Use '/' unconditionally.
(i386_comment_chars): Add.
(md_parse_options): Process OPTION_DIVIDE.
(md_show_usage): Describe --divide option.
* doc/c-i386.texi: Document --divide option.
Diffstat (limited to 'gas/doc')
-rw-r--r-- | gas/doc/c-i386.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi index 678dfe3..81039c4 100644 --- a/gas/doc/c-i386.texi +++ b/gas/doc/c-i386.texi @@ -67,6 +67,15 @@ usage and use x86-64 as target platform). 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. + +@cindex @samp{--divide} option, i386 +@item --divide +On SVR4-derived platforms, the character @samp{/} is treated as a comment +character, which means that it cannot be used in expressions. The +@samp{--divide} option turns @samp{/} into a normal character. This does +not disable @samp{/} at the beginning of a line starting a comment, or +affect using @samp{#} for starting a comment. + @end table @node i386-Syntax |