From: Nick Clifton Date: Fri, 18 Mar 2016 13:07:33 +0000 (+0000) Subject: Fix generation of as.1 manual page so that it can be converted to DocBook format. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6387924ae329fe2a89abb48b9868a340e23a9630;p=binutils-gdb.git 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. --- diff --git a/etc/texi2pod.pl b/etc/texi2pod.pl index cd0ffd9435f..dd3e181db34 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 ab383c7e1ae..5f362ca711b 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 a0584d33eca..7b369313644 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:}