This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [H8 Patch] Documenting assembler target options
- From: Alan Modra <amodra at gmail dot com>
- To: binutils at sourceware dot org
- Date: Wed, 3 Apr 2013 13:18:56 +1030
- Subject: Re: [H8 Patch] Documenting assembler target options
Ref http://sourceware.org/ml/binutils/2011-02/msg00100.html
Multiple errors in the original submission, clearly not tested.
* doc/as.texinfo: Add support to generate man options for h8300.
* doc/c-h8300.texi: Likewise.
Index: gas/doc/as.texinfo
===================================================================
RCS file: /cvs/src/src/gas/doc/as.texinfo,v
retrieving revision 1.264
diff -u -p -r1.264 as.texinfo
--- gas/doc/as.texinfo 6 Feb 2013 23:22:14 -0000 1.264
+++ gas/doc/as.texinfo 3 Apr 2013 01:39:51 -0000
@@ -909,6 +909,25 @@ an Epiphany processor.
@end ifset
+@ifset H8300
+
+@ifclear man
+@xref{H8/300 Options}, for the options available when @value{AS} is configured
+for an H8/300 processor.
+@end ifclear
+
+@ifset man
+@c man begin OPTIONS
+The following options are available when @value{AS} is configured for an H8/300
+processor.
+@c man end
+@c man begin INCLUDE
+@include c-h8300.texi
+@c ended inside the included file
+@end ifset
+
+@end ifset
+
@ifset I80386
@ifclear man
Index: gas/doc/c-h8300.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/c-h8300.texi,v
retrieving revision 1.8
diff -u -p -r1.8 c-h8300.texi
--- gas/doc/c-h8300.texi 10 Jan 2013 19:51:55 -0000 1.8
+++ gas/doc/c-h8300.texi 3 Apr 2013 01:39:51 -0000
@@ -25,11 +25,13 @@
The Renesas H8/300 version of @code{@value{AS}} has one
machine-dependent option:
-@table @code
+@c man begin OPTIONS
+@table @gcctabopt
@item -h-tick-hex
Support H'00 style hex constants in addition to 0x00 style.
@end table
+@c man end
@node H8/300 Syntax
@section Syntax
--
Alan Modra
Australia Development Lab, IBM