From 6387924ae329fe2a89abb48b9868a340e23a9630 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 18 Mar 2016 13:07:33 +0000 Subject: [PATCH] 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. --- etc/texi2pod.pl | 2 +- gas/ChangeLog | 5 +++++ gas/doc/as.texinfo | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) 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 + + * doc/as.texinfo: Place the target specific command line options + into their own man page section. + 2016-03-16 Jiong Wang * 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:} -- 2.7.4