aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2016-03-18 13:07:33 +0000
committerNick Clifton <nickc@redhat.com>2016-03-18 13:07:33 +0000
commit6387924ae329fe2a89abb48b9868a340e23a9630 (patch)
tree44f8b75a951a84544301ef7afff46b4d163cdcda
parent45821bef0977a7436aa5cd5f37f5a178d446d675 (diff)
downloadgdb-6387924ae329fe2a89abb48b9868a340e23a9630.zip
gdb-6387924ae329fe2a89abb48b9868a340e23a9630.tar.gz
gdb-6387924ae329fe2a89abb48b9868a340e23a9630.tar.bz2
Fix generation of as.1 manual page so that it can be converted to DocBook format.
gas * doc/as.texinfo: Place the target specific command line options into their own man page section. etc * texi2pod.pl: Add TARGET to the list of recognised man page sections.
-rw-r--r--etc/texi2pod.pl2
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/doc/as.texinfo2
3 files changed, 8 insertions, 1 deletions
diff --git a/etc/texi2pod.pl b/etc/texi2pod.pl
index cd0ffd9..dd3e181 100644
--- a/etc/texi2pod.pl
+++ b/etc/texi2pod.pl
@@ -340,7 +340,7 @@ die "No filename or title\n" unless defined $fn && defined $tl;
$sects{NAME} = "$fn \- $tl\n";
$sects{FOOTNOTES} .= "=back\n" if exists $sects{FOOTNOTES};
-for $sect (qw(NAME SYNOPSIS DESCRIPTION OPTIONS ENVIRONMENT FILES
+for $sect (qw(NAME SYNOPSIS TARGET DESCRIPTION OPTIONS ENVIRONMENT FILES
BUGS NOTES FOOTNOTES SEEALSO AUTHOR COPYRIGHT)) {
if(exists $sects{$sect}) {
$head = $sect;
diff --git a/gas/ChangeLog b/gas/ChangeLog
index ab383c7..5f362ca 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2016-03-18 Nick Clifton <nickc@redhat.com>
+
+ * doc/as.texinfo: Place the target specific command line options
+ into their own man page section.
+
2016-03-16 Jiong Wang <jiong.wang@arm.com>
* config/tc-arm.c (N_S_32): New.
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index a0584d3..7b36931 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -246,8 +246,10 @@ gcc(1), ld(1), and the Info entries for @file{binutils} and @file{ld}.
[@b{--target-help}] [@var{target-options}]
[@b{--}|@var{files} @dots{}]
@c
+@c man end
@c Target dependent options are listed below. Keep the list sorted.
@c Add an empty line for separation.
+@c man begin TARGET
@ifset AARCH64
@emph{Target AArch64 options:}