aboutsummaryrefslogtreecommitdiff
path: root/gas/doc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-11-23 15:27:36 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-11-23 15:27:36 +0000
commit731caf761016399cc3dc9517781e328c54a8e9d6 (patch)
treee36371542313f523243557df4d32272877351c74 /gas/doc
parent39037522c862528df367aaa40015fdf9641b8d19 (diff)
downloadgdb-731caf761016399cc3dc9517781e328c54a8e9d6.zip
gdb-731caf761016399cc3dc9517781e328c54a8e9d6.tar.gz
gdb-731caf761016399cc3dc9517781e328c54a8e9d6.tar.bz2
Refer to and include c-i386.texi for i386 options.
2010-11-23 H.J. Lu <hongjiu.lu@intel.com> * doc/as.texinfo: Refer to and include c-i386.texi for i386 options. * doc/c-i386.texi: Add markup for use in manpage generation.
Diffstat (limited to 'gas/doc')
-rw-r--r--gas/doc/as.texinfo21
-rw-r--r--gas/doc/c-i386.texi6
2 files changed, 26 insertions, 1 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index 45dcb30..bddd93c 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -812,7 +812,28 @@ Warn when nops are generated.
Warn when a nop after a 32-bit multiply instruction is generated.
@end table
@end ifset
+@c man end
+
+@ifset I80386
+
+@ifclear man
+@xref{i386-Options}, for the options available when @value{AS} is
+configured for an i386 processor.
+@end ifclear
+
+@ifset man
+@c man begin OPTIONS
+The following options are available when @value{AS} is configured for
+an i386 processor.
+@c man end
+@c man begin INCLUDE
+@include c-i386.texi
+@c ended inside the included file
+@end ifset
+
+@end ifset
+@c man begin OPTIONS
@ifset I960
The following options are available when @value{AS} is configured for the
Intel 80960 processor.
diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi
index d0a47de..1c6175b 100644
--- a/gas/doc/c-i386.texi
+++ b/gas/doc/c-i386.texi
@@ -3,6 +3,8 @@
@c Free Software Foundation, Inc.
@c This is part of the GAS manual.
@c For copying conditions, see the file as.texinfo.
+@c man end
+
@ifset GENERIC
@page
@node i386-Dependent
@@ -50,7 +52,8 @@ extending the Intel architecture to 64-bits.
The i386 version of @code{@value{AS}} has a few machine
dependent options:
-@table @code
+@c man begin OPTIONS
+@table @gcctabopt
@cindex @samp{--32} option, i386
@cindex @samp{--32} option, x86-64
@cindex @samp{--64} option, i386
@@ -226,6 +229,7 @@ This opetion specifies that registers don't require a @samp{%} prefix.
The @code{.att_syntax} and @code{.intel_syntax} directives will take precedent.
@end table
+@c man end
@node i386-Directives
@section x86 specific Directives