From: Nick Clifton Date: Wed, 30 May 2001 10:46:28 +0000 (+0000) Subject: Add command line switches to objcopy to provide lists of symbols in files X-Git-Tag: dberlin-typesystem-branchpoint~406 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=16b2b71c0c71e5fc9107dc9b2747f95081cabb1b;p=external%2Fbinutils.git Add command line switches to objcopy to provide lists of symbols in files --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index ab6444c..b593ac6 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,12 @@ +2001-05-30 Honda Hiroki + + * objcopy.c: Add new switches: --keep-global-symbol, + --keep-symbols, --localize-symbols, --keep-global-symbols and + --weaken-symbols. + * binutils.texi: Document new switches. + * objcopy.1: Regenerate. + * NEWS: Announce new feature. + 2001-05-28 Andreas Jaeger * readelf.c (display_debug_frames): Fix warnings: Remove unused diff --git a/binutils/NEWS b/binutils/NEWS index 42a2b45..87cf540 100644 --- a/binutils/NEWS +++ b/binutils/NEWS @@ -1,5 +1,9 @@ -*- text -*- +* New command line switches added to objcopy to allow symbols to be kept as + global symbols, and also to specify files containing lists of such symbols. + by Honda Hiroki. + * Support for OpenRISC by Johan Rydberg. * New command line switch to objcopy -B (or --binary-architecture) which sets diff --git a/binutils/addr2line.1 b/binutils/addr2line.1 index 3ae8c85..4ab0d94 100644 --- a/binutils/addr2line.1 +++ b/binutils/addr2line.1 @@ -1,12 +1,9 @@ -.rn '' }` -''' $RCSfile$$Revision$$Date$ -''' -''' $Log$ -''' Revision 1.5 2001/03/25 20:32:25 nickc -''' Automate generate on man pages -''' -''' -.de Sh +.\" Automatically generated by Pod::Man version 1.02 +.\" Wed May 30 12:24:26 2001 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading .br .if t .Sp .ne 5 @@ -14,149 +11,105 @@ \fB\\$1\fR .PP .. -.de Sp +.de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. -.de Ip +.de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. -.de Vb +.de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. -.de Ve +.de Ve \" End verbatim text .ft R .fi .. -''' -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' Bell System Logo is used as a dummy character. -''' +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> .tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ -.ds -- \(*W- -.ds PI pi -.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -.ds L" "" -.ds R" "" -''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of -''' \*(L" and \*(R", except that they are used on ".xx" lines, -''' such as .IP and .SH, which do another additional levels of -''' double-quote interpretation -.ds M" """ -.ds S" """ -.ds N" """"" -.ds T" """"" -.ds L' ' -.ds R' ' -.ds M' ' -.ds S' ' -.ds N' ' -.ds T' ' +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` ` +. ds C' ' 'br\} .el\{\ -.ds -- \(em\| -.tr \*(Tr -.ds L" `` -.ds R" '' -.ds M" `` -.ds S" '' -.ds N" `` -.ds T" '' -.ds L' ` -.ds R' ' -.ds M' ` -.ds S' ' -.ds N' ` -.ds T' ' -.ds PI \(*p +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' 'br\} -.\" If the F register is turned on, we'll generate -.\" index entries out stderr for the following things: -.\" TH Title -.\" SH Header -.\" Sh Subsection -.\" Ip Item -.\" X<> Xref (embedded -.\" Of course, you have to process the output yourself -.\" in some meaninful fashion. -.if \nF \{ -.de IX -.tm Index:\\$1\t\\n%\t"\\$2" -.. -.nr % 0 -.rr F +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +. . +. nr % 0 +. rr F .\} -.TH ADDR2LINE.1 1 "binutils-2.11.90" "23/Mar/101" "GNU" -.UC -.if n .hy 0 -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.de CQ \" put $1 in typewriter font -.ft CW -'if n "\c -'if t \\&\\$1\c -'if n \\&\\$1\c -'if n \&" -\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 -'.ft R -.. -.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 -. \" AM - accent mark definitions +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. .bd B 3 -. \" fudge factors for nroff and troff +. \" fudge factors for nroff and troff .if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP .\} .if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& .\} -. \" simple accents for nroff and troff +. \" simple accents for nroff and troff .if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds ? ? -. ds ! ! -. ds / -. ds q +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / .\} .if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' -. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} -. \" troff and (daisy-wheel) nroff accents +. \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] -.ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' -.ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' -.ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' @@ -164,138 +117,113 @@ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E -.ds oe o\h'-(\w'o'u*4/10)'e -.ds Oe O\h'-(\w'O'u*4/10)'E -. \" corrections for vroff +. \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) +. \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ -. ds : e -. ds 8 ss -. ds v \h'-1'\o'\(aa\(ga' -. ds _ \h'-1'^ -. ds . \h'-1'. -. ds 3 3 -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -. ds oe oe -. ds Oe OE +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE .\} .rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "ADDR2LINE.1 1" +.TH ADDR2LINE.1 1 "binutils-2.11.90" "2001-05-30" "GNU" +.UC .SH "NAME" addr2line \- convert addresses into file names and line numbers. .SH "SYNOPSIS" -addr2line [ \-b \fIbfdname\fR | --target=\fIbfdname\fR ] - [ \-C | --demangle[=\fIstyle\fR ] - [ \-e \fIfilename\fR | --exe=\fIfilename\fR ] - [ \-f | --functions ] [ \-s | --basename ] - [ \-H | --help ] [ \-V | --version ] +.IX Header "SYNOPSIS" +addr2line [ \-b \fIbfdname\fR | \-\-target=\fIbfdname\fR ] + [ \-C | \-\-demangle[=\fIstyle\fR ] + [ \-e \fIfilename\fR | \-\-exe=\fIfilename\fR ] + [ \-f | \-\-functions ] [ \-s | \-\-basename ] + [ \-H | \-\-help ] [ \-V | \-\-version ] [ addr addr ... ] .SH "DESCRIPTION" -\f(CWaddr2line\fR translates program addresses into file names and line +.IX Header "DESCRIPTION" +\&\f(CW\*(C`addr2line\*(C'\fR translates program addresses into file names and line numbers. Given an address and an executable, it uses the debugging information in the executable to figure out which file name and line number are associated with a given address. .PP -The executable to use is specified with the \f(CW-e\fR option. The +The executable to use is specified with the \f(CW\*(C`\-e\*(C'\fR option. The default is the file \fIa.out\fR. .PP -\f(CWaddr2line\fR has two modes of operation. +\&\f(CW\*(C`addr2line\*(C'\fR has two modes of operation. .PP In the first, hexadecimal addresses are specified on the command line, -and \f(CWaddr2line\fR displays the file name and line number for each +and \f(CW\*(C`addr2line\*(C'\fR displays the file name and line number for each address. .PP -In the second, \f(CWaddr2line\fR reads hexadecimal addresses from +In the second, \f(CW\*(C`addr2line\*(C'\fR reads hexadecimal addresses from standard input, and prints the file name and line number for each -address on standard output. In this mode, \f(CWaddr2line\fR may be used +address on standard output. In this mode, \f(CW\*(C`addr2line\*(C'\fR may be used in a pipe to convert dynamically chosen addresses. .PP -The format of the output is \fBFILENAME:LINENO\fR. The file name and +The format of the output is \fB\s-1FILENAME:LINENO\s0\fR. The file name and line number for each address is printed on a separate line. If the -\f(CW-f\fR option is used, then each \fBFILENAME:LINENO\fR line is -preceded by a \fBFUNCTIONNAME\fR line which is the name of the function +\&\f(CW\*(C`\-f\*(C'\fR option is used, then each \fB\s-1FILENAME:LINENO\s0\fR line is +preceded by a \fB\s-1FUNCTIONNAME\s0\fR line which is the name of the function containing the address. .PP If the file name or function name can not be determined, -\f(CWaddr2line\fR will print two question marks in their place. If the -line number can not be determined, \f(CWaddr2line\fR will print 0. +\&\f(CW\*(C`addr2line\*(C'\fR will print two question marks in their place. If the +line number can not be determined, \f(CW\*(C`addr2line\*(C'\fR will print 0. .SH "OPTIONS" +.IX Header "OPTIONS" The long and short forms of options, shown here as alternatives, are equivalent. -.Ip "\f(CW-b \fIbfdname\fR\fR" 4 -.Ip "\f(CW--target=\fIbfdname\fR\fR" 4 +.Ip "\f(CW\*(C`\-b \f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "-b bfdname" +.Ip "\f(CW\*(C`\-\-target=\f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "--target=bfdname" Specify that the object-code format for the object files is -\fIbfdname\fR. -.Ip "\f(CW-C\fR" 4 -.Ip "\f(CW--demangle[=\fIstyle\fR]\fR" 4 +\&\fIbfdname\fR. +.Ip "\f(CW\*(C`\-C\*(C'\fR" 4 +.IX Item "-C" +.Ip "\f(CW\*(C`\-\-demangle[=\f(CIstyle\f(CW]\*(C'\fR" 4 +.IX Item "--demangle[=style]" Decode (\fIdemangle\fR) low-level symbol names into user-level names. Besides removing any initial underscore prepended by the system, this makes \*(C+ function names readable. Different compilers have different mangling styles. The optional demangling style argument can be used to choose an appropriate demangling style for your compiler. -.Ip "\f(CW-e \fIfilename\fR\fR" 4 -.Ip "\f(CW--exe=\fIfilename\fR\fR" 4 +.Ip "\f(CW\*(C`\-e \f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "-e filename" +.Ip "\f(CW\*(C`\-\-exe=\f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "--exe=filename" Specify the name of the executable for which addresses should be translated. The default file is \fIa.out\fR. -.Ip "\f(CW-f\fR" 4 -.Ip "\f(CW--functions\fR" 4 +.Ip "\f(CW\*(C`\-f\*(C'\fR" 4 +.IX Item "-f" +.Ip "\f(CW\*(C`\-\-functions\*(C'\fR" 4 +.IX Item "--functions" Display function names as well as file and line number information. -.Ip "\f(CW-s\fR" 4 -.Ip "\f(CW--basenames\fR" 4 +.Ip "\f(CW\*(C`\-s\*(C'\fR" 4 +.IX Item "-s" +.Ip "\f(CW\*(C`\-\-basenames\*(C'\fR" 4 +.IX Item "--basenames" Display only the base of each file name. .SH "SEE ALSO" +.IX Header "SEE ALSO" Info entries for \fIbinutils\fR. .SH "COPYRIGHT" +.IX Header "COPYRIGHT" Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. .PP Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.1 +under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the -section entitled \*(L"GNU Free Documentation License\*(R". - -.rn }` '' -.IX Title "ADDR2LINE.1 1" -.IX Name "addr2line - convert addresses into file names and line numbers." - -.IX Header "NAME" - -.IX Header "SYNOPSIS" - -.IX Header "DESCRIPTION" - -.IX Header "OPTIONS" - -.IX Item "\f(CW-b \fIbfdname\fR\fR" - -.IX Item "\f(CW--target=\fIbfdname\fR\fR" - -.IX Item "\f(CW-C\fR" - -.IX Item "\f(CW--demangle[=\fIstyle\fR]\fR" - -.IX Item "\f(CW-e \fIfilename\fR\fR" - -.IX Item "\f(CW--exe=\fIfilename\fR\fR" - -.IX Item "\f(CW-f\fR" - -.IX Item "\f(CW--functions\fR" - -.IX Item "\f(CW-s\fR" - -.IX Item "\f(CW--basenames\fR" - -.IX Header "SEE ALSO" - -.IX Header "COPYRIGHT" - +section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R". diff --git a/binutils/ar.1 b/binutils/ar.1 index d37236c..a1cf6e6 100644 --- a/binutils/ar.1 +++ b/binutils/ar.1 @@ -1,12 +1,9 @@ -.rn '' }` -''' $RCSfile$$Revision$$Date$ -''' -''' $Log$ -''' Revision 1.7 2001/03/25 20:32:25 nickc -''' Automate generate on man pages -''' -''' -.de Sh +.\" Automatically generated by Pod::Man version 1.02 +.\" Wed May 30 12:24:26 2001 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading .br .if t .Sp .ne 5 @@ -14,149 +11,105 @@ \fB\\$1\fR .PP .. -.de Sp +.de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. -.de Ip +.de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. -.de Vb +.de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. -.de Ve +.de Ve \" End verbatim text .ft R .fi .. -''' -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' Bell System Logo is used as a dummy character. -''' +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> .tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ -.ds -- \(*W- -.ds PI pi -.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -.ds L" "" -.ds R" "" -''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of -''' \*(L" and \*(R", except that they are used on ".xx" lines, -''' such as .IP and .SH, which do another additional levels of -''' double-quote interpretation -.ds M" """ -.ds S" """ -.ds N" """"" -.ds T" """"" -.ds L' ' -.ds R' ' -.ds M' ' -.ds S' ' -.ds N' ' -.ds T' ' +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` ` +. ds C' ' 'br\} .el\{\ -.ds -- \(em\| -.tr \*(Tr -.ds L" `` -.ds R" '' -.ds M" `` -.ds S" '' -.ds N" `` -.ds T" '' -.ds L' ` -.ds R' ' -.ds M' ` -.ds S' ' -.ds N' ` -.ds T' ' -.ds PI \(*p +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' 'br\} -.\" If the F register is turned on, we'll generate -.\" index entries out stderr for the following things: -.\" TH Title -.\" SH Header -.\" Sh Subsection -.\" Ip Item -.\" X<> Xref (embedded -.\" Of course, you have to process the output yourself -.\" in some meaninful fashion. -.if \nF \{ -.de IX -.tm Index:\\$1\t\\n%\t"\\$2" -.. -.nr % 0 -.rr F +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +. . +. nr % 0 +. rr F .\} -.TH AR.1 1 "binutils-2.11.90" "23/Mar/101" "GNU" -.UC -.if n .hy 0 -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.de CQ \" put $1 in typewriter font -.ft CW -'if n "\c -'if t \\&\\$1\c -'if n \\&\\$1\c -'if n \&" -\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 -'.ft R -.. -.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 -. \" AM - accent mark definitions +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. .bd B 3 -. \" fudge factors for nroff and troff +. \" fudge factors for nroff and troff .if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP .\} .if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& .\} -. \" simple accents for nroff and troff +. \" simple accents for nroff and troff .if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds ? ? -. ds ! ! -. ds / -. ds q +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / .\} .if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' -. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} -. \" troff and (daisy-wheel) nroff accents +. \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] -.ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' -.ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' -.ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' @@ -164,76 +117,76 @@ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E -.ds oe o\h'-(\w'o'u*4/10)'e -.ds Oe O\h'-(\w'O'u*4/10)'E -. \" corrections for vroff +. \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) +. \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ -. ds : e -. ds 8 ss -. ds v \h'-1'\o'\(aa\(ga' -. ds _ \h'-1'^ -. ds . \h'-1'. -. ds 3 3 -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -. ds oe oe -. ds Oe OE +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE .\} .rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "AR.1 1" +.TH AR.1 1 "binutils-2.11.90" "2001-05-30" "GNU" +.UC .SH "NAME" ar \- create, modify, and extract from archives .SH "SYNOPSIS" +.IX Header "SYNOPSIS" ar [\-X32_64] [\-]\fIp\fR[\fImod\fR [\fIrelpos\fR] [\fIcount\fR]] \fIarchive\fR [\fImember\fR...] .SH "DESCRIPTION" -The GNU \f(CWar\fR program creates, modifies, and extracts from +.IX Header "DESCRIPTION" +The \s-1GNU\s0 \f(CW\*(C`ar\*(C'\fR program creates, modifies, and extracts from archives. An \fIarchive\fR is a single file holding a collection of other files in a structure that makes it possible to retrieve the original individual files (called \fImembers\fR of the archive). .PP -The original files\*(R' contents, mode (permissions), timestamp, owner, and +The original files' contents, mode (permissions), timestamp, owner, and group are preserved in the archive, and can be restored on extraction. .PP -GNU \f(CWar\fR can maintain archives whose members have names of any -length; however, depending on how \f(CWar\fR is configured on your +\&\s-1GNU\s0 \f(CW\*(C`ar\*(C'\fR can maintain archives whose members have names of any +length; however, depending on how \f(CW\*(C`ar\*(C'\fR is configured on your system, a limit on member-name length may be imposed for compatibility with archive formats maintained with other tools. If it exists, the limit is often 15 characters (typical of formats related to a.out) or 16 characters (typical of formats related to coff). .PP -\f(CWar\fR is considered a binary utility because archives of this sort +\&\f(CW\*(C`ar\*(C'\fR is considered a binary utility because archives of this sort are most often used as \fIlibraries\fR holding commonly needed subroutines. .PP -\f(CWar\fR creates an index to the symbols defined in relocatable +\&\f(CW\*(C`ar\*(C'\fR creates an index to the symbols defined in relocatable object modules in the archive when you specify the modifier \fBs\fR. -Once created, this index is updated in the archive whenever \f(CWar\fR +Once created, this index is updated in the archive whenever \f(CW\*(C`ar\*(C'\fR makes a change to its contents (save for the \fBq\fR update operation). An archive with such an index speeds up linking to the library, and allows routines in the library to call each other without regard to their placement in the archive. .PP -You may use \fBnm \-s\fR or \fBnm --print-armap\fR to list this index -table. If an archive lacks the table, another form of \f(CWar\fR called -\f(CWranlib\fR can be used to add just the table. +You may use \fBnm \-s\fR or \fBnm \-\-print-armap\fR to list this index +table. If an archive lacks the table, another form of \f(CW\*(C`ar\*(C'\fR called +\&\f(CW\*(C`ranlib\*(C'\fR can be used to add just the table. .PP -GNU \f(CWar\fR is designed to be compatible with two different +\&\s-1GNU\s0 \f(CW\*(C`ar\*(C'\fR is designed to be compatible with two different facilities. You can control its activity using command-line options, -like the different varieties of \f(CWar\fR on Unix systems; or, if you +like the different varieties of \f(CW\*(C`ar\*(C'\fR on Unix systems; or, if you specify the single command-line option \fB\-M\fR, you can control it -with a script supplied via standard input, like the MRI ``librarian'\*(R' +with a script supplied via standard input, like the \s-1MRI\s0 ``librarian'' program. .SH "OPTIONS" -GNU \f(CWar\fR allows you to mix the operation code \fIp\fR and modifier +.IX Header "OPTIONS" +\&\s-1GNU\s0 \f(CW\*(C`ar\*(C'\fR allows you to mix the operation code \fIp\fR and modifier flags \fImod\fR in any order, within the first command-line argument. .PP If you wish, you may begin the first command-line argument with a @@ -241,53 +194,58 @@ dash. .PP The \fIp\fR keyletter specifies what operation to execute; it may be any of the following, but you must specify only one of them: -.Ip "\f(CWd\fR" 4 -\fIDelete\fR modules from the archive. Specify the names of modules to +.Ip "\f(CW\*(C`d\*(C'\fR" 4 +.IX Item "d" +\&\fIDelete\fR modules from the archive. Specify the names of modules to be deleted as \fImember\fR...; the archive is untouched if you specify no files to delete. .Sp -If you specify the \fBv\fR modifier, \f(CWar\fR lists each module +If you specify the \fBv\fR modifier, \f(CW\*(C`ar\*(C'\fR lists each module as it is deleted. -.Ip "\f(CWm\fR" 4 +.Ip "\f(CW\*(C`m\*(C'\fR" 4 +.IX Item "m" Use this operation to \fImove\fR members in an archive. .Sp The ordering of members in an archive can make a difference in how programs are linked using the library, if a symbol is defined in more than one member. .Sp -If no modifiers are used with \f(CWm\fR, any members you name in the -\fImember\fR arguments are moved to the \fIend\fR of the archive; +If no modifiers are used with \f(CW\*(C`m\*(C'\fR, any members you name in the +\&\fImember\fR arguments are moved to the \fIend\fR of the archive; you can use the \fBa\fR, \fBb\fR, or \fBi\fR modifiers to move them to a specified place instead. -.Ip "\f(CWp\fR" 4 -\fIPrint\fR the specified members of the archive, to the standard +.Ip "\f(CW\*(C`p\*(C'\fR" 4 +.IX Item "p" +\&\fIPrint\fR the specified members of the archive, to the standard output file. If the \fBv\fR modifier is specified, show the member name before copying its contents to standard output. .Sp If you specify no \fImember\fR arguments, all the files in the archive are printed. -.Ip "\f(CWq\fR" 4 -\fIQuick append\fR; Historically, add the files \fImember\fR... to the end of -\fIarchive\fR, without checking for replacement. +.Ip "\f(CW\*(C`q\*(C'\fR" 4 +.IX Item "q" +\&\fIQuick append\fR; Historically, add the files \fImember\fR... to the end of +\&\fIarchive\fR, without checking for replacement. .Sp The modifiers \fBa\fR, \fBb\fR, and \fBi\fR do \fInot\fR affect this operation; new members are always placed at the end of the archive. .Sp -The modifier \fBv\fR makes \f(CWar\fR list each file as it is appended. +The modifier \fBv\fR makes \f(CW\*(C`ar\*(C'\fR list each file as it is appended. .Sp Since the point of this operation is speed, the archive's symbol table index is not updated, even if it already existed; you can use \fBar s\fR or -\f(CWranlib\fR explicitly to update the symbol table index. +\&\f(CW\*(C`ranlib\*(C'\fR explicitly to update the symbol table index. .Sp However, too many different systems assume quick append rebuilds the -index, so \s-1GNU\s0 ar implements \f(CWq\fR as a synonym for \f(CWr\fR. -.Ip "\f(CWr\fR" 4 +index, so \s-1GNU\s0 ar implements \f(CW\*(C`q\*(C'\fR as a synonym for \f(CW\*(C`r\*(C'\fR. +.Ip "\f(CW\*(C`r\*(C'\fR" 4 +.IX Item "r" Insert the files \fImember\fR... into \fIarchive\fR (with -\fIreplacement\fR). This operation differs from \fBq\fR in that any +\&\fIreplacement\fR). This operation differs from \fBq\fR in that any previously existing members are deleted if their names match those being added. .Sp -If one of the files named in \fImember\fR... does not exist, \f(CWar\fR +If one of the files named in \fImember\fR... does not exist, \f(CW\*(C`ar\*(C'\fR displays an error message, and leaves undisturbed any existing members of the archive matching that name. .Sp @@ -297,9 +255,10 @@ placement relative to some existing member. .Sp The modifier \fBv\fR used with this operation elicits a line of output for each file inserted, along with one of the letters \fBa\fR or -\fBr\fR to indicate whether the file was appended (no old member +\&\fBr\fR to indicate whether the file was appended (no old member deleted) or replaced. -.Ip "\f(CWt\fR" 4 +.Ip "\f(CW\*(C`t\*(C'\fR" 4 +.IX Item "t" Display a \fItable\fR listing the contents of \fIarchive\fR, or those of the files listed in \fImember\fR... that are present in the archive. Normally only the member name is shown; if you also want to @@ -312,72 +271,85 @@ are listed. If there is more than one file with the same name (say, \fBfie\fR) in an archive (say \fBb.a\fR), \fBar t b.a fie\fR lists only the first instance; to see them all, you must ask for a complete -listing---in our example, \fBar t b.a\fR. -.Ip "\f(CWx\fR" 4 -\fIExtract\fR members (named \fImember\fR) from the archive. You can +listing\-\-\-in our example, \fBar t b.a\fR. +.Ip "\f(CW\*(C`x\*(C'\fR" 4 +.IX Item "x" +\&\fIExtract\fR members (named \fImember\fR) from the archive. You can use the \fBv\fR modifier with this operation, to request that -\f(CWar\fR list each name as it extracts it. +\&\f(CW\*(C`ar\*(C'\fR list each name as it extracts it. .Sp If you do not specify a \fImember\fR, all files in the archive are extracted. .PP A number of modifiers (\fImod\fR) may immediately follow the \fIp\fR keyletter, to specify variations on an operation's behavior: -.Ip "\f(CWa\fR" 4 +.Ip "\f(CW\*(C`a\*(C'\fR" 4 +.IX Item "a" Add new files \fIafter\fR an existing member of the archive. If you use the modifier \fBa\fR, the name of an existing archive member must be present as the \fIrelpos\fR argument, before the -\fIarchive\fR specification. -.Ip "\f(CWb\fR" 4 +\&\fIarchive\fR specification. +.Ip "\f(CW\*(C`b\*(C'\fR" 4 +.IX Item "b" Add new files \fIbefore\fR an existing member of the archive. If you use the modifier \fBb\fR, the name of an existing archive member must be present as the \fIrelpos\fR argument, before the -\fIarchive\fR specification. (same as \fBi\fR). -.Ip "\f(CWc\fR" 4 -\fICreate\fR the archive. The specified \fIarchive\fR is always +\&\fIarchive\fR specification. (same as \fBi\fR). +.Ip "\f(CW\*(C`c\*(C'\fR" 4 +.IX Item "c" +\&\fICreate\fR the archive. The specified \fIarchive\fR is always created if it did not exist, when you request an update. But a warning is issued unless you specify in advance that you expect to create it, by using this modifier. -.Ip "\f(CWf\fR" 4 -Truncate names in the archive. \s-1GNU\s0 \f(CWar\fR will normally permit file +.Ip "\f(CW\*(C`f\*(C'\fR" 4 +.IX Item "f" +Truncate names in the archive. \s-1GNU\s0 \f(CW\*(C`ar\*(C'\fR will normally permit file names of any length. This will cause it to create archives which are -not compatible with the native \f(CWar\fR program on some systems. If +not compatible with the native \f(CW\*(C`ar\*(C'\fR program on some systems. If this is a concern, the \fBf\fR modifier may be used to truncate file names when putting them in the archive. -.Ip "\f(CWi\fR" 4 +.Ip "\f(CW\*(C`i\*(C'\fR" 4 +.IX Item "i" Insert new files \fIbefore\fR an existing member of the archive. If you use the modifier \fBi\fR, the name of an existing archive member must be present as the \fIrelpos\fR argument, before the -\fIarchive\fR specification. (same as \fBb\fR). -.Ip "\f(CWl\fR" 4 +\&\fIarchive\fR specification. (same as \fBb\fR). +.Ip "\f(CW\*(C`l\*(C'\fR" 4 +.IX Item "l" This modifier is accepted but not used. -.Ip "\f(CWN\fR" 4 +.Ip "\f(CW\*(C`N\*(C'\fR" 4 +.IX Item "N" Uses the \fIcount\fR parameter. This is used if there are multiple entries in the archive with the same name. Extract or delete instance -\fIcount\fR of the given name from the archive. -.Ip "\f(CWo\fR" 4 +\&\fIcount\fR of the given name from the archive. +.Ip "\f(CW\*(C`o\*(C'\fR" 4 +.IX Item "o" Preserve the \fIoriginal\fR dates of members when extracting them. If you do not specify this modifier, files extracted from the archive are stamped with the time of extraction. -.Ip "\f(CWP\fR" 4 +.Ip "\f(CW\*(C`P\*(C'\fR" 4 +.IX Item "P" Use the full path name when matching names in the archive. \s-1GNU\s0 -\f(CWar\fR can not create an archive with a full path name (such archives +\&\f(CW\*(C`ar\*(C'\fR can not create an archive with a full path name (such archives are not \s-1POSIX\s0 complaint), but other archive creators can. This option -will cause \s-1GNU\s0 \f(CWar\fR to match file names using a complete path +will cause \s-1GNU\s0 \f(CW\*(C`ar\*(C'\fR to match file names using a complete path name, which can be convenient when extracting a single file from an archive created by another tool. -.Ip "\f(CWs\fR" 4 +.Ip "\f(CW\*(C`s\*(C'\fR" 4 +.IX Item "s" Write an object-file index into the archive, or update an existing one, even if no other change is made to the archive. You may use this modifier flag either with any operation, or alone. Running \fBar s\fR on an archive is equivalent to running \fBranlib\fR on it. -.Ip "\f(CWS\fR" 4 +.Ip "\f(CW\*(C`S\*(C'\fR" 4 +.IX Item "S" Do not generate an archive symbol table. This can speed up building a large library in several steps. The resulting archive can not be used with the linker. In order to build a symbol table, you must omit the -\fBS\fR modifier on the last execution of \fBar\fR, or you must run -\fBranlib\fR on the archive. -.Ip "\f(CWu\fR" 4 +\&\fBS\fR modifier on the last execution of \fBar\fR, or you must run +\&\fBranlib\fR on the archive. +.Ip "\f(CW\*(C`u\*(C'\fR" 4 +.IX Item "u" Normally, \fBar r\fR... inserts all files listed into the archive. If you would like to insert \fIonly\fR those of the files you list that are newer than existing members of the same @@ -385,85 +357,30 @@ names, use this modifier. The \fBu\fR modifier is allowed only for the operation \fBr\fR (replace). In particular, the combination \fBqu\fR is not allowed, since checking the timestamps would lose any speed advantage from the operation \fBq\fR. -.Ip "\f(CWv\fR" 4 +.Ip "\f(CW\*(C`v\*(C'\fR" 4 +.IX Item "v" This modifier requests the \fIverbose\fR version of an operation. Many operations display additional information, such as filenames processed, when the modifier \fBv\fR is appended. -.Ip "\f(CWV\fR" 4 -This modifier shows the version number of \f(CWar\fR. +.Ip "\f(CW\*(C`V\*(C'\fR" 4 +.IX Item "V" +This modifier shows the version number of \f(CW\*(C`ar\*(C'\fR. .PP -\f(CWar\fR ignores an initial option spelt \f(CW-X32_64\fR, for +\&\f(CW\*(C`ar\*(C'\fR ignores an initial option spelt \f(CW\*(C`\-X32_64\*(C'\fR, for compatibility with \s-1AIX\s0. The behaviour produced by this option is the -default for \s-1GNU\s0 \f(CWar\fR. \f(CWar\fR does not support any of the other -\f(CW-X\fR options; in particular, it does not support \f(CW-X32\fR -which is the default for \s-1AIX\s0 \f(CWar\fR. +default for \s-1GNU\s0 \f(CW\*(C`ar\*(C'\fR. \f(CW\*(C`ar\*(C'\fR does not support any of the other +\&\f(CW\*(C`\-X\*(C'\fR options; in particular, it does not support \f(CW\*(C`\-X32\*(C'\fR +which is the default for \s-1AIX\s0 \f(CW\*(C`ar\*(C'\fR. .SH "SEE ALSO" -\fInm\fR\|(1), \fIranlib\fR\|(1), and the Info entries for \fIbinutils\fR. +.IX Header "SEE ALSO" +\&\fInm\fR\|(1), \fIranlib\fR\|(1), and the Info entries for \fIbinutils\fR. .SH "COPYRIGHT" +.IX Header "COPYRIGHT" Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. .PP Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.1 +under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the -section entitled \*(L"GNU Free Documentation License\*(R". - -.rn }` '' -.IX Title "AR.1 1" -.IX Name "ar - create, modify, and extract from archives" - -.IX Header "NAME" - -.IX Header "SYNOPSIS" - -.IX Header "DESCRIPTION" - -.IX Header "OPTIONS" - -.IX Item "\f(CWd\fR" - -.IX Item "\f(CWm\fR" - -.IX Item "\f(CWp\fR" - -.IX Item "\f(CWq\fR" - -.IX Item "\f(CWr\fR" - -.IX Item "\f(CWt\fR" - -.IX Item "\f(CWx\fR" - -.IX Item "\f(CWa\fR" - -.IX Item "\f(CWb\fR" - -.IX Item "\f(CWc\fR" - -.IX Item "\f(CWf\fR" - -.IX Item "\f(CWi\fR" - -.IX Item "\f(CWl\fR" - -.IX Item "\f(CWN\fR" - -.IX Item "\f(CWo\fR" - -.IX Item "\f(CWP\fR" - -.IX Item "\f(CWs\fR" - -.IX Item "\f(CWS\fR" - -.IX Item "\f(CWu\fR" - -.IX Item "\f(CWv\fR" - -.IX Item "\f(CWV\fR" - -.IX Header "SEE ALSO" - -.IX Header "COPYRIGHT" - +section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R". diff --git a/binutils/binutils.texi b/binutils/binutils.texi index f6e5df1..0011b11 100644 --- a/binutils/binutils.texi +++ b/binutils/binutils.texi @@ -923,6 +923,7 @@ objcopy [ -F @var{bfdname} | --target=@var{bfdname} ] [ -S | --strip-all ] [ -g | --strip-debug ] [ -K @var{symbolname} | --keep-symbol=@var{symbolname} ] [ -N @var{symbolname} | --strip-symbol=@var{symbolname} ] + [ -G @var{symbolname} | --keep-global-symbol=@var{symbolname}] [ -L @var{symbolname} | --localize-symbol=@var{symbolname} ] [ -W @var{symbolname} | --weaken-symbol=@var{symbolname} ] [ -x | --discard-all ] [ -X | --discard-locals ] @@ -943,6 +944,11 @@ objcopy [ -F @var{bfdname} | --target=@var{bfdname} ] [ --change-leading-char ] [ --remove-leading-char ] [ --srec-len=@var{ival} ] [ --srec-forceS3 ] [ --redefine-sym @var{old}=@var{new} ] [ --weaken ] + [ --keep-symbols=@var{filename} ] + [ --strip-symbols=@var{filename} ] + [ --keep-global-symbols=@var{filename} ] + [ --localize-symbols=@var{filename} ] + [ --weaken-symbols=@var{filename} ] [ -v | --verbose ] [ -V | --version ] [ --help ] @var{infile} [@var{outfile}] @c man end @@ -1056,6 +1062,12 @@ be given more than once. Do not copy symbol @var{symbolname} from the source file. This option may be given more than once. +@item -G @var{symbolname} +@itemx --keep-global-symbol=@var{symbolname} +Keep only symbol @var{symbolname} global. Make all other symbols local +to the file, so that they are not visible externally. This option may +be given more than once. + @item -L @var{symbolname} @itemx --localize-symbol=@var{symbolname} Make symbol @var{symbolname} local to the file, so that it is not @@ -1239,6 +1251,36 @@ when building an object which will be linked against other objects using the @code{-R} option to the linker. This option is only effective when using an object file format which supports weak symbols. +@item --keep-symbols=@var{filename} +Apply @samp{--keep-symbol} option to each symbol listed in the file +@var{filename}. @var{filename} is simply a flat file, with one symbol +name per line. Line comments may be introduced by the hash character. +This option may be given more than once. + +@item --strip-symbols=@var{filename} +Apply @samp{--strip-symbol} option to each symbol listed in the file +@var{filename}. @var{filename} is simply a flat file, with one symbol +name per line. Line comments may be introduced by the hash character. +This option may be given more than once. + +@item --keep-global-symbols=@var{filename} +Apply @samp{--keep-global-symbol} option to each symbol listed in the +file @var{filename}. @var{filename} is simply a flat file, with one +symbol name per line. Line comments may be introduced by the hash +character. This option may be given more than once. + +@item --localize-symbols=@var{filename} +Apply @samp{--localize-symbol} option to each symbol listed in the file +@var{filename}. @var{filename} is simply a flat file, with one symbol +name per line. Line comments may be introduced by the hash character. +This option may be given more than once. + +@item --weaken-symbols=@var{filename} +Apply @samp{--weaken-symbol} option to each symbol listed in the file +@var{filename}. @var{filename} is simply a flat file, with one symbol +name per line. Line comments may be introduced by the hash character. +This option may be given more than once. + @item -V @itemx --version Show the version number of @code{objcopy}. diff --git a/binutils/cxxfilt.man b/binutils/cxxfilt.man index d8c1105..6cb20b1 100644 --- a/binutils/cxxfilt.man +++ b/binutils/cxxfilt.man @@ -1,12 +1,9 @@ -.rn '' }` -''' $RCSfile$$Revision$$Date$ -''' -''' $Log$ -''' Revision 1.3 2001/03/25 20:32:25 nickc -''' Automate generate on man pages -''' -''' -.de Sh +.\" Automatically generated by Pod::Man version 1.02 +.\" Wed May 30 12:24:30 2001 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading .br .if t .Sp .ne 5 @@ -14,149 +11,105 @@ \fB\\$1\fR .PP .. -.de Sp +.de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. -.de Ip +.de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. -.de Vb +.de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. -.de Ve +.de Ve \" End verbatim text .ft R .fi .. -''' -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' Bell System Logo is used as a dummy character. -''' +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> .tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ -.ds -- \(*W- -.ds PI pi -.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -.ds L" "" -.ds R" "" -''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of -''' \*(L" and \*(R", except that they are used on ".xx" lines, -''' such as .IP and .SH, which do another additional levels of -''' double-quote interpretation -.ds M" """ -.ds S" """ -.ds N" """"" -.ds T" """"" -.ds L' ' -.ds R' ' -.ds M' ' -.ds S' ' -.ds N' ' -.ds T' ' +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` ` +. ds C' ' 'br\} .el\{\ -.ds -- \(em\| -.tr \*(Tr -.ds L" `` -.ds R" '' -.ds M" `` -.ds S" '' -.ds N" `` -.ds T" '' -.ds L' ` -.ds R' ' -.ds M' ` -.ds S' ' -.ds N' ` -.ds T' ' -.ds PI \(*p +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' 'br\} -.\" If the F register is turned on, we'll generate -.\" index entries out stderr for the following things: -.\" TH Title -.\" SH Header -.\" Sh Subsection -.\" Ip Item -.\" X<> Xref (embedded -.\" Of course, you have to process the output yourself -.\" in some meaninful fashion. -.if \nF \{ -.de IX -.tm Index:\\$1\t\\n%\t"\\$2" -.. -.nr % 0 -.rr F +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +. . +. nr % 0 +. rr F .\} -.TH CXXFILT.MAN 1 "binutils-2.11.90" "23/Mar/101" "GNU" -.UC -.if n .hy 0 -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.de CQ \" put $1 in typewriter font -.ft CW -'if n "\c -'if t \\&\\$1\c -'if n \\&\\$1\c -'if n \&" -\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 -'.ft R -.. -.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 -. \" AM - accent mark definitions +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. .bd B 3 -. \" fudge factors for nroff and troff +. \" fudge factors for nroff and troff .if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP .\} .if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& .\} -. \" simple accents for nroff and troff +. \" simple accents for nroff and troff .if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds ? ? -. ds ! ! -. ds / -. ds q +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / .\} .if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' -. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} -. \" troff and (daisy-wheel) nroff accents +. \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] -.ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' -.ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' -.ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' @@ -164,45 +117,44 @@ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E -.ds oe o\h'-(\w'o'u*4/10)'e -.ds Oe O\h'-(\w'O'u*4/10)'E -. \" corrections for vroff +. \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) +. \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ -. ds : e -. ds 8 ss -. ds v \h'-1'\o'\(aa\(ga' -. ds _ \h'-1'^ -. ds . \h'-1'. -. ds 3 3 -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -. ds oe oe -. ds Oe OE +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE .\} .rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "CXXFILT.MAN 1" +.TH CXXFILT.MAN 1 "binutils-2.11.90" "2001-05-30" "GNU" +.UC .SH "NAME" cxxfilt \- Demangle \*(C+ and Java symbols. .SH "SYNOPSIS" -c++filt [ \-_ | --strip-underscores ] - [ \-j | --java ] - [ \-n | --no-strip-underscores ] - [ \-s \fIformat\fR | --format=\fIformat\fR ] - [ --help ] [ --version ] [ \fIsymbol\fR... ] +.IX Header "SYNOPSIS" +c++filt [ \-_ | \-\-strip-underscores ] + [ \-j | \-\-java ] + [ \-n | \-\-no-strip-underscores ] + [ \-s \fIformat\fR | \-\-format=\fIformat\fR ] + [ \-\-help ] [ \-\-version ] [ \fIsymbol\fR... ] .SH "DESCRIPTION" +.IX Header "DESCRIPTION" The \*(C+ and Java languages provides function overloading, which means that you can write many functions with the same name (providing each takes parameters of different types). All \*(C+ and Java function names are encoded into a low-level assembly label (this process is known as -\fImangling\fR). The \f(CWc++filt\fR +\&\fImangling\fR). The \f(CW\*(C`c++filt\*(C'\fR [1] program does the inverse mapping: it decodes (\fIdemangles\fR) low-level names into user-level names so that the linker can keep these overloaded @@ -213,115 +165,85 @@ dollars, or periods) seen in the input is a potential label. If the label decodes into a \*(C+ name, the \*(C+ name replaces the low-level name in the output. .PP -You can use \f(CWc++filt\fR to decipher individual symbols: +You can use \f(CW\*(C`c++filt\*(C'\fR to decipher individual symbols: .PP -.Vb 2 -\& +.Vb 1 \& c++filt I .Ve -If no \fIsymbol\fR arguments are given, \f(CWc++filt\fR reads symbol +If no \fIsymbol\fR arguments are given, \f(CW\*(C`c++filt\*(C'\fR reads symbol names from the standard input and writes the demangled names to the standard output. All results are printed on the standard output. .SH "OPTIONS" -.Ip "\f(CW-_\fR" 4 -.Ip "\f(CW--strip-underscores\fR" 4 +.IX Header "OPTIONS" +.Ip "\f(CW\*(C`\-_\*(C'\fR" 4 +.IX Item "-_" +.Ip "\f(CW\*(C`\-\-strip\-underscores\*(C'\fR" 4 +.IX Item "--strip-underscores" On some systems, both the C and \*(C+ compilers put an underscore in front -of every name. For example, the C name \f(CWfoo\fR gets the low-level -name \f(CW_foo\fR. This option removes the initial underscore. Whether -\f(CWc++filt\fR removes the underscore by default is target dependent. -.Ip "\f(CW-j\fR" 4 -.Ip "\f(CW--java\fR" 4 +of every name. For example, the C name \f(CW\*(C`foo\*(C'\fR gets the low-level +name \f(CW\*(C`_foo\*(C'\fR. This option removes the initial underscore. Whether +\&\f(CW\*(C`c++filt\*(C'\fR removes the underscore by default is target dependent. +.Ip "\f(CW\*(C`\-j\*(C'\fR" 4 +.IX Item "-j" +.Ip "\f(CW\*(C`\-\-java\*(C'\fR" 4 +.IX Item "--java" Prints demangled names using Java syntax. The default is to use \*(C+ syntax. -.Ip "\f(CW-n\fR" 4 -.Ip "\f(CW--no-strip-underscores\fR" 4 +.Ip "\f(CW\*(C`\-n\*(C'\fR" 4 +.IX Item "-n" +.Ip "\f(CW\*(C`\-\-no\-strip\-underscores\*(C'\fR" 4 +.IX Item "--no-strip-underscores" Do not remove the initial underscore. -.Ip "\f(CW-s \fIformat\fR\fR" 4 -.Ip "\f(CW--format=\fIformat\fR\fR" 4 -\s-1GNU\s0 \f(CWnm\fR can decode three different methods of mangling, used by +.Ip "\f(CW\*(C`\-s \f(CIformat\f(CW\*(C'\fR" 4 +.IX Item "-s format" +.Ip "\f(CW\*(C`\-\-format=\f(CIformat\f(CW\*(C'\fR" 4 +.IX Item "--format=format" +\&\s-1GNU\s0 \f(CW\*(C`nm\*(C'\fR can decode three different methods of mangling, used by different \*(C+ compilers. The argument to this option selects which method it uses: -.Ip "\f(CWgnu\fR" 8 +.RS 4 +.Ip "\f(CW\*(C`gnu\*(C'\fR" 4 +.IX Item "gnu" the one used by the \s-1GNU\s0 compiler (the default method) -.Ip "\f(CWlucid\fR" 8 +.Ip "\f(CW\*(C`lucid\*(C'\fR" 4 +.IX Item "lucid" the one used by the Lucid compiler -.Ip "\f(CWarm\fR" 8 +.Ip "\f(CW\*(C`arm\*(C'\fR" 4 +.IX Item "arm" the one specified by the \*(C+ Annotated Reference Manual -.Ip "\f(CWhp\fR" 8 +.Ip "\f(CW\*(C`hp\*(C'\fR" 4 +.IX Item "hp" the one used by the \s-1HP\s0 compiler -.Ip "\f(CWedg\fR" 8 +.Ip "\f(CW\*(C`edg\*(C'\fR" 4 +.IX Item "edg" the one used by the \s-1EDG\s0 compiler -.Ip "\f(CWgnu-new-abi\fR" 8 +.Ip "\f(CW\*(C`gnu\-new\-abi\*(C'\fR" 4 +.IX Item "gnu-new-abi" the one used by the \s-1GNU\s0 compiler with the new \s-1ABI\s0. -.Ip "\f(CW--help\fR" 4 -Print a summary of the options to \f(CWc++filt\fR and exit. -.Ip "\f(CW--version\fR" 4 -Print the version number of \f(CWc++filt\fR and exit. +.RE +.RS 4 +.RE +.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4 +.IX Item "--help" +Print a summary of the options to \f(CW\*(C`c++filt\*(C'\fR and exit. +.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4 +.IX Item "--version" +Print the version number of \f(CW\*(C`c++filt\*(C'\fR and exit. .SH "FOOTNOTES" +.IX Header "FOOTNOTES" .Ip "1." 4 -\s-1MS\s0\-\s-1DOS\s0 does not allow \f(CW+\fR characters in file names, so on -\s-1MS\s0\-\s-1DOS\s0 this program is named \f(CWcxxfilt\fR. +\&\s-1MS-DOS\s0 does not allow \f(CW\*(C`+\*(C'\fR characters in file names, so on +\&\s-1MS-DOS\s0 this program is named \f(CW\*(C`cxxfilt\*(C'\fR. .SH "SEE ALSO" +.IX Header "SEE ALSO" the Info entries for \fIbinutils\fR. .SH "COPYRIGHT" +.IX Header "COPYRIGHT" Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. .PP Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.1 +under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the -section entitled \*(L"GNU Free Documentation License\*(R". - -.rn }` '' -.IX Title "CXXFILT.MAN 1" -.IX Name "cxxfilt - Demangle C++ and Java symbols." - -.IX Header "NAME" - -.IX Header "SYNOPSIS" - -.IX Header "DESCRIPTION" - -.IX Header "OPTIONS" - -.IX Item "\f(CW-_\fR" - -.IX Item "\f(CW--strip-underscores\fR" - -.IX Item "\f(CW-j\fR" - -.IX Item "\f(CW--java\fR" - -.IX Item "\f(CW-n\fR" - -.IX Item "\f(CW--no-strip-underscores\fR" - -.IX Item "\f(CW-s \fIformat\fR\fR" - -.IX Item "\f(CW--format=\fIformat\fR\fR" - -.IX Item "\f(CWgnu\fR" - -.IX Item "\f(CWlucid\fR" - -.IX Item "\f(CWarm\fR" - -.IX Item "\f(CWhp\fR" - -.IX Item "\f(CWedg\fR" - -.IX Item "\f(CWgnu-new-abi\fR" - -.IX Item "\f(CW--help\fR" - -.IX Item "\f(CW--version\fR" - -.IX Header "FOOTNOTES" - -.IX Item "1." - -.IX Header "SEE ALSO" - -.IX Header "COPYRIGHT" - +section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R". diff --git a/binutils/dlltool.1 b/binutils/dlltool.1 index ddb5ca8..01e1ac4 100644 --- a/binutils/dlltool.1 +++ b/binutils/dlltool.1 @@ -1,12 +1,9 @@ -.rn '' }` -''' $RCSfile$$Revision$$Date$ -''' -''' $Log$ -''' Revision 1.1 2001/03/25 20:32:25 nickc -''' Automate generate on man pages -''' -''' -.de Sh +.\" Automatically generated by Pod::Man version 1.02 +.\" Wed May 30 12:24:27 2001 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading .br .if t .Sp .ne 5 @@ -14,149 +11,105 @@ \fB\\$1\fR .PP .. -.de Sp +.de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. -.de Ip +.de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. -.de Vb +.de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. -.de Ve +.de Ve \" End verbatim text .ft R .fi .. -''' -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' Bell System Logo is used as a dummy character. -''' +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> .tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ -.ds -- \(*W- -.ds PI pi -.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -.ds L" "" -.ds R" "" -''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of -''' \*(L" and \*(R", except that they are used on ".xx" lines, -''' such as .IP and .SH, which do another additional levels of -''' double-quote interpretation -.ds M" """ -.ds S" """ -.ds N" """"" -.ds T" """"" -.ds L' ' -.ds R' ' -.ds M' ' -.ds S' ' -.ds N' ' -.ds T' ' +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` ` +. ds C' ' 'br\} .el\{\ -.ds -- \(em\| -.tr \*(Tr -.ds L" `` -.ds R" '' -.ds M" `` -.ds S" '' -.ds N" `` -.ds T" '' -.ds L' ` -.ds R' ' -.ds M' ` -.ds S' ' -.ds N' ` -.ds T' ' -.ds PI \(*p +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' 'br\} -.\" If the F register is turned on, we'll generate -.\" index entries out stderr for the following things: -.\" TH Title -.\" SH Header -.\" Sh Subsection -.\" Ip Item -.\" X<> Xref (embedded -.\" Of course, you have to process the output yourself -.\" in some meaninful fashion. -.if \nF \{ -.de IX -.tm Index:\\$1\t\\n%\t"\\$2" -.. -.nr % 0 -.rr F +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +. . +. nr % 0 +. rr F .\} -.TH DLLTOOL.1 1 "binutils-2.11.90" "23/Mar/101" "GNU" -.UC -.if n .hy 0 -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.de CQ \" put $1 in typewriter font -.ft CW -'if n "\c -'if t \\&\\$1\c -'if n \\&\\$1\c -'if n \&" -\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 -'.ft R -.. -.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 -. \" AM - accent mark definitions +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. .bd B 3 -. \" fudge factors for nroff and troff +. \" fudge factors for nroff and troff .if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP .\} .if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& .\} -. \" simple accents for nroff and troff +. \" simple accents for nroff and troff .if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds ? ? -. ds ! ! -. ds / -. ds q +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / .\} .if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' -. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} -. \" troff and (daisy-wheel) nroff accents +. \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] -.ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' -.ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' -.ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' @@ -164,94 +117,93 @@ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E -.ds oe o\h'-(\w'o'u*4/10)'e -.ds Oe O\h'-(\w'O'u*4/10)'E -. \" corrections for vroff +. \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) +. \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ -. ds : e -. ds 8 ss -. ds v \h'-1'\o'\(aa\(ga' -. ds _ \h'-1'^ -. ds . \h'-1'. -. ds 3 3 -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -. ds oe oe -. ds Oe OE +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE .\} .rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "DLLTOOL.1 1" +.TH DLLTOOL.1 1 "binutils-2.11.90" "2001-05-30" "GNU" +.UC .SH "NAME" dlltool \- Create files needed to build and use DLLs. .SH "SYNOPSIS" -dlltool [\-d|--input-def \fIdef-file-name\fR] - [\-b|--base-file \fIbase-file-name\fR] - [\-e|--output-exp \fIexports-file-name\fR] - [\-z|--output-def \fIdef-file-name\fR] - [\-l|--output-lib \fIlibrary-file-name\fR] - [--export-all-symbols] [--no-export-all-symbols] - [--exclude-symbols \fIlist\fR] - [--no-default-excludes] - [\-S|--as \fIpath-to-assembler\fR] [\-f|--as-flags \fIoptions\fR] - [\-D|--dllname \fIname\fR] [\-m|--machine \fImachine\fR] - [\-a|--add-indirect] [\-U|--add-underscore] [\-k|--kill-at] - [\-A|--add-stdcall-alias] - [\-x|--no-idata4] [\-c|--no-idata5] [\-i|--interwork] - [\-n|--nodelete] [\-v|--verbose] [\-h|--help] [\-V|--version] +.IX Header "SYNOPSIS" +dlltool [\-d|\-\-input-def \fIdef-file-name\fR] + [\-b|\-\-base-file \fIbase-file-name\fR] + [\-e|\-\-output-exp \fIexports-file-name\fR] + [\-z|\-\-output-def \fIdef-file-name\fR] + [\-l|\-\-output-lib \fIlibrary-file-name\fR] + [\-\-export-all-symbols] [\-\-no-export-all-symbols] + [\-\-exclude-symbols \fIlist\fR] + [\-\-no-default-excludes] + [\-S|\-\-as \fIpath-to-assembler\fR] [\-f|\-\-as-flags \fIoptions\fR] + [\-D|\-\-dllname \fIname\fR] [\-m|\-\-machine \fImachine\fR] + [\-a|\-\-add-indirect] [\-U|\-\-add-underscore] [\-k|\-\-kill-at] + [\-A|\-\-add-stdcall-alias] + [\-x|\-\-no-idata4] [\-c|\-\-no-idata5] [\-i|\-\-interwork] + [\-n|\-\-nodelete] [\-v|\-\-verbose] [\-h|\-\-help] [\-V|\-\-version] [object-file ...] .SH "DESCRIPTION" -\f(CWdlltool\fR reads its inputs, which can come from the \fB\-d\fR and -\fB\-b\fR options as well as object files specified on the command +.IX Header "DESCRIPTION" +\&\f(CW\*(C`dlltool\*(C'\fR reads its inputs, which can come from the \fB\-d\fR and +\&\fB\-b\fR options as well as object files specified on the command line. It then processes these inputs and if the \fB\-e\fR option has been specified it creates a exports file. If the \fB\-l\fR option has been specified it creates a library file and if the \fB\-z\fR option has been specified it creates a def file. Any or all of the \-e, \-l and \-z options can be present in one invocation of dlltool. .PP -When creating a DLL, along with the source for the DLL, it is necessary -to have three other files. \f(CWdlltool\fR can help with the creation of +When creating a \s-1DLL\s0, along with the source for the \s-1DLL\s0, it is necessary +to have three other files. \f(CW\*(C`dlltool\*(C'\fR can help with the creation of these files. .PP The first file is a \fB.def\fR file which specifies which functions are -exported from the DLL, which functions the DLL imports, and so on. This -is a text file and can be created by hand, or \f(CWdlltool\fR can be used -to create it using the \fB\-z\fR option. In this case \f(CWdlltool\fR +exported from the \s-1DLL\s0, which functions the \s-1DLL\s0 imports, and so on. This +is a text file and can be created by hand, or \f(CW\*(C`dlltool\*(C'\fR can be used +to create it using the \fB\-z\fR option. In this case \f(CW\*(C`dlltool\*(C'\fR will scan the object files specified on its command line looking for those functions which have been specially marked as being exported and put entries for them in the .def file it creates. .PP -In order to mark a function as being exported from a DLL, it needs to +In order to mark a function as being exported from a \s-1DLL\s0, it needs to have an \fB\-export:\fR entry in the \fB.drectve\fR section of the object file. This can be done in C by using the -\fIasm()\fR operator: +\&\fIasm()\fR operator: .PP -.Vb 5 -\& +.Vb 2 \& asm (".section .drectve"); \& asm (".ascii \e"-export:my_func\e""); -\& +.Ve +.Vb 1 \& int my_func (void) { ... } .Ve -The second file needed for DLL creation is an exports file. This file -is linked with the object files that make up the body of the DLL and it -handles the interface between the DLL and the outside world. This is a +The second file needed for \s-1DLL\s0 creation is an exports file. This file +is linked with the object files that make up the body of the \s-1DLL\s0 and it +handles the interface between the \s-1DLL\s0 and the outside world. This is a binary file and it can be created by giving the \fB\-e\fR option to -\f(CWdlltool\fR when it is creating or reading in a .def file. +\&\f(CW\*(C`dlltool\*(C'\fR when it is creating or reading in a .def file. .PP -The third file needed for DLL creation is the library file that programs -will link with in order to access the functions in the DLL. This file +The third file needed for \s-1DLL\s0 creation is the library file that programs +will link with in order to access the functions in the \s-1DLL\s0. This file can be created by giving the \fB\-l\fR option to dlltool when it is creating or reading in a .def file. .PP -\f(CWdlltool\fR builds the library file by hand, but it builds the +\&\f(CW\*(C`dlltool\*(C'\fR builds the library file by hand, but it builds the exports file by creating temporary files containing assembler statements and then assembling these. The \fB\-S\fR command line option can be used to specify the path to the assembler that dlltool will use, @@ -261,65 +213,83 @@ these temporary assembler files when it is done, and if \fB\-n\fR is specified twice then this will prevent dlltool from deleting the temporary object files it used to build the library. .PP -Here is an example of creating a DLL from a source file \fBdll.c\fR and +Here is an example of creating a \s-1DLL\s0 from a source file \fBdll.c\fR and also creating a program (from an object file called \fBprogram.o\fR) -that uses that DLL: +that uses that \s-1DLL:\s0 .PP -.Vb 5 -\& +.Vb 4 \& gcc -c dll.c \& dlltool -e exports.o -l dll.lib dll.o \& gcc dll.o exports.o -o dll.dll \& gcc program.o dll.lib -o program .Ve .SH "OPTIONS" +.IX Header "OPTIONS" The command line options have the following meanings: -.Ip "\f(CW-d \fIfilename\fR\fR" 4 -.Ip "\f(CW--input-def \fIfilename\fR\fR" 4 +.Ip "\f(CW\*(C`\-d \f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "-d filename" +.Ip "\f(CW\*(C`\-\-input\-def \f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "--input-def filename" Specifies the name of a .def file to be read in and processed. -.Ip "\f(CW-b \fIfilename\fR\fR" 4 -.Ip "\f(CW--base-file \fIfilename\fR\fR" 4 +.Ip "\f(CW\*(C`\-b \f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "-b filename" +.Ip "\f(CW\*(C`\-\-base\-file \f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "--base-file filename" Specifies the name of a base file to be read in and processed. The contents of this file will be added to the relocation section in the exports file generated by dlltool. -.Ip "\f(CW-e \fIfilename\fR\fR" 4 -.Ip "\f(CW--output-exp \fIfilename\fR\fR" 4 +.Ip "\f(CW\*(C`\-e \f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "-e filename" +.Ip "\f(CW\*(C`\-\-output\-exp \f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "--output-exp filename" Specifies the name of the export file to be created by dlltool. -.Ip "\f(CW-z \fIfilename\fR\fR" 4 -.Ip "\f(CW--output-def \fIfilename\fR\fR" 4 +.Ip "\f(CW\*(C`\-z \f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "-z filename" +.Ip "\f(CW\*(C`\-\-output\-def \f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "--output-def filename" Specifies the name of the .def file to be created by dlltool. -.Ip "\f(CW-l \fIfilename\fR\fR" 4 -.Ip "\f(CW--output-lib \fIfilename\fR\fR" 4 +.Ip "\f(CW\*(C`\-l \f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "-l filename" +.Ip "\f(CW\*(C`\-\-output\-lib \f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "--output-lib filename" Specifies the name of the library file to be created by dlltool. -.Ip "\f(CW--export-all-symbols\fR" 4 +.Ip "\f(CW\*(C`\-\-export\-all\-symbols\*(C'\fR" 4 +.IX Item "--export-all-symbols" Treat all global and weak defined symbols found in the input object files as symbols to be exported. There is a small list of symbols which -are not exported by default; see the \f(CW--no-default-excludes\fR +are not exported by default; see the \f(CW\*(C`\-\-no\-default\-excludes\*(C'\fR option. You may add to the list of symbols to not export by using the -\f(CW--exclude-symbols\fR option. -.Ip "\f(CW--no-export-all-symbols\fR" 4 +\&\f(CW\*(C`\-\-exclude\-symbols\*(C'\fR option. +.Ip "\f(CW\*(C`\-\-no\-export\-all\-symbols\*(C'\fR" 4 +.IX Item "--no-export-all-symbols" Only export symbols explicitly listed in an input .def file or in \&\fB.drectve\fR sections in the input object files. This is the default behaviour. The \fB.drectve\fR sections are created by \fBdllexport\fR attributes in the source code. -.Ip "\f(CW--exclude-symbols \fIlist\fR\fR" 4 +.Ip "\f(CW\*(C`\-\-exclude\-symbols \f(CIlist\f(CW\*(C'\fR" 4 +.IX Item "--exclude-symbols list" Do not export the symbols in \fIlist\fR. This is a list of symbol names separated by comma or colon characters. The symbol names should not contain a leading underscore. This is only meaningful when -\f(CW--export-all-symbols\fR is used. -.Ip "\f(CW--no-default-excludes\fR" 4 -When \f(CW--export-all-symbols\fR is used, it will by default avoid +\&\f(CW\*(C`\-\-export\-all\-symbols\*(C'\fR is used. +.Ip "\f(CW\*(C`\-\-no\-default\-excludes\*(C'\fR" 4 +.IX Item "--no-default-excludes" +When \f(CW\*(C`\-\-export\-all\-symbols\*(C'\fR is used, it will by default avoid exporting certain special symbols. The current list of symbols to avoid exporting is \fBDllMain@12\fR, \fBDllEntryPoint@0\fR, -\fBimpure_ptr\fR. You may use the \f(CW--no-default-excludes\fR option +\&\fBimpure_ptr\fR. You may use the \f(CW\*(C`\-\-no\-default\-excludes\*(C'\fR option to go ahead and export these special symbols. This is only meaningful -when \f(CW--export-all-symbols\fR is used. -.Ip "\f(CW-S \fIpath\fR\fR" 4 -.Ip "\f(CW--as \fIpath\fR\fR" 4 +when \f(CW\*(C`\-\-export\-all\-symbols\*(C'\fR is used. +.Ip "\f(CW\*(C`\-S \f(CIpath\f(CW\*(C'\fR" 4 +.IX Item "-S path" +.Ip "\f(CW\*(C`\-\-as \f(CIpath\f(CW\*(C'\fR" 4 +.IX Item "--as path" Specifies the path, including the filename, of the assembler to be used to create the exports file. -.Ip "\f(CW-f \fIswitches\fR\fR" 4 -.Ip "\f(CW--as-flags \fIswitches\fR\fR" 4 +.Ip "\f(CW\*(C`\-f \f(CIswitches\f(CW\*(C'\fR" 4 +.IX Item "-f switches" +.Ip "\f(CW\*(C`\-\-as\-flags \f(CIswitches\f(CW\*(C'\fR" 4 +.IX Item "--as-flags switches" Specifies any specific command line switches to be passed to the assembler when building the exports file. This option will work even if the \fB\-S\fR option is not used. This option only takes one argument, @@ -327,183 +297,106 @@ and if it occurs more than once on the command line, then later occurrences will override earlier occurrences. So if it is necessary to pass multiple switches to the assembler they should be enclosed in double quotes. -.Ip "\f(CW-D \fIname\fR\fR" 4 -.Ip "\f(CW--dll-name \fIname\fR\fR" 4 +.Ip "\f(CW\*(C`\-D \f(CIname\f(CW\*(C'\fR" 4 +.IX Item "-D name" +.Ip "\f(CW\*(C`\-\-dll\-name \f(CIname\f(CW\*(C'\fR" 4 +.IX Item "--dll-name name" Specifies the name to be stored in the .def file as the name of the \s-1DLL\s0 when the \fB\-e\fR option is used. If this option is not present, then the filename given to the \fB\-e\fR option will be used as the name of the \s-1DLL\s0. -.Ip "\f(CW-m \fImachine\fR\fR" 4 -.Ip "\f(CW-machine \fImachine\fR\fR" 4 +.Ip "\f(CW\*(C`\-m \f(CImachine\f(CW\*(C'\fR" 4 +.IX Item "-m machine" +.Ip "\f(CW\*(C`\-machine \f(CImachine\f(CW\*(C'\fR" 4 +.IX Item "-machine machine" Specifies the type of machine for which the library file should be -built. \f(CWdlltool\fR has a built in default type, depending upon how +built. \f(CW\*(C`dlltool\*(C'\fR has a built in default type, depending upon how it was created, but this option can be used to override that. This is normally only useful when creating DLLs for an \s-1ARM\s0 processor, when the contents of the \s-1DLL\s0 are actually encode using \s-1THUMB\s0 instructions. -.Ip "\f(CW-a\fR" 4 -.Ip "\f(CW--add-indirect\fR" 4 -Specifies that when \f(CWdlltool\fR is creating the exports file it +.Ip "\f(CW\*(C`\-a\*(C'\fR" 4 +.IX Item "-a" +.Ip "\f(CW\*(C`\-\-add\-indirect\*(C'\fR" 4 +.IX Item "--add-indirect" +Specifies that when \f(CW\*(C`dlltool\*(C'\fR is creating the exports file it should add a section which allows the exported functions to be referenced without using the import library. Whatever the hell that means! -.Ip "\f(CW-U\fR" 4 -.Ip "\f(CW--add-underscore\fR" 4 -Specifies that when \f(CWdlltool\fR is creating the exports file it +.Ip "\f(CW\*(C`\-U\*(C'\fR" 4 +.IX Item "-U" +.Ip "\f(CW\*(C`\-\-add\-underscore\*(C'\fR" 4 +.IX Item "--add-underscore" +Specifies that when \f(CW\*(C`dlltool\*(C'\fR is creating the exports file it should prepend an underscore to the names of the exported functions. -.Ip "\f(CW-k\fR" 4 -.Ip "\f(CW--kill-at\fR" 4 -Specifies that when \f(CWdlltool\fR is creating the exports file it +.Ip "\f(CW\*(C`\-k\*(C'\fR" 4 +.IX Item "-k" +.Ip "\f(CW\*(C`\-\-kill\-at\*(C'\fR" 4 +.IX Item "--kill-at" +Specifies that when \f(CW\*(C`dlltool\*(C'\fR is creating the exports file it should not append the string \fB@ \fR. These numbers are called ordinal numbers and they represent another way of accessing the function in a \s-1DLL\s0, other than by name. -.Ip "\f(CW-A\fR" 4 -.Ip "\f(CW--add-stdcall-alias\fR" 4 -Specifies that when \f(CWdlltool\fR is creating the exports file it +.Ip "\f(CW\*(C`\-A\*(C'\fR" 4 +.IX Item "-A" +.Ip "\f(CW\*(C`\-\-add\-stdcall\-alias\*(C'\fR" 4 +.IX Item "--add-stdcall-alias" +Specifies that when \f(CW\*(C`dlltool\*(C'\fR is creating the exports file it should add aliases for stdcall symbols without \fB@ \fR in addition to the symbols with \fB@ \fR. -.Ip "\f(CW-x\fR" 4 -.Ip "\f(CW--no-idata4\fR" 4 -Specifies that when \f(CWdlltool\fR is creating the exports and library +.Ip "\f(CW\*(C`\-x\*(C'\fR" 4 +.IX Item "-x" +.Ip "\f(CW\*(C`\-\-no\-idata4\*(C'\fR" 4 +.IX Item "--no-idata4" +Specifies that when \f(CW\*(C`dlltool\*(C'\fR is creating the exports and library files it should omit the .idata4 section. This is for compatibility with certain operating systems. -.Ip "\f(CW-c\fR" 4 -.Ip "\f(CW--no-idata5\fR" 4 -Specifies that when \f(CWdlltool\fR is creating the exports and library +.Ip "\f(CW\*(C`\-c\*(C'\fR" 4 +.IX Item "-c" +.Ip "\f(CW\*(C`\-\-no\-idata5\*(C'\fR" 4 +.IX Item "--no-idata5" +Specifies that when \f(CW\*(C`dlltool\*(C'\fR is creating the exports and library files it should omit the .idata5 section. This is for compatibility with certain operating systems. -.Ip "\f(CW-i\fR" 4 -.Ip "\f(CW--interwork\fR" 4 -Specifies that \f(CWdlltool\fR should mark the objects in the library +.Ip "\f(CW\*(C`\-i\*(C'\fR" 4 +.IX Item "-i" +.Ip "\f(CW\*(C`\-\-interwork\*(C'\fR" 4 +.IX Item "--interwork" +Specifies that \f(CW\*(C`dlltool\*(C'\fR should mark the objects in the library file and exports file that it produces as supporting interworking between \s-1ARM\s0 and \s-1THUMB\s0 code. -.Ip "\f(CW-n\fR" 4 -.Ip "\f(CW--nodelete\fR" 4 -Makes \f(CWdlltool\fR preserve the temporary assembler files it used to +.Ip "\f(CW\*(C`\-n\*(C'\fR" 4 +.IX Item "-n" +.Ip "\f(CW\*(C`\-\-nodelete\*(C'\fR" 4 +.IX Item "--nodelete" +Makes \f(CW\*(C`dlltool\*(C'\fR preserve the temporary assembler files it used to create the exports file. If this option is repeated then dlltool will also preserve the temporary object files it uses to create the library file. -.Ip "\f(CW-v\fR" 4 -.Ip "\f(CW--verbose\fR" 4 +.Ip "\f(CW\*(C`\-v\*(C'\fR" 4 +.IX Item "-v" +.Ip "\f(CW\*(C`\-\-verbose\*(C'\fR" 4 +.IX Item "--verbose" Make dlltool describe what it is doing. -.Ip "\f(CW-h\fR" 4 -.Ip "\f(CW--help\fR" 4 +.Ip "\f(CW\*(C`\-h\*(C'\fR" 4 +.IX Item "-h" +.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4 +.IX Item "--help" Displays a list of command line options and then exits. -.Ip "\f(CW-V\fR" 4 -.Ip "\f(CW--version\fR" 4 +.Ip "\f(CW\*(C`\-V\*(C'\fR" 4 +.IX Item "-V" +.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4 +.IX Item "--version" Displays dlltool's version number and then exits. .SH "SEE ALSO" +.IX Header "SEE ALSO" the Info entries for \fIbinutils\fR. .SH "COPYRIGHT" +.IX Header "COPYRIGHT" Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. .PP Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.1 +under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the -section entitled \*(L"GNU Free Documentation License\*(R". - -.rn }` '' -.IX Title "DLLTOOL.1 1" -.IX Name "dlltool - Create files needed to build and use DLLs." - -.IX Header "NAME" - -.IX Header "SYNOPSIS" - -.IX Header "DESCRIPTION" - -.IX Header "OPTIONS" - -.IX Item "\f(CW-d \fIfilename\fR\fR" - -.IX Item "\f(CW--input-def \fIfilename\fR\fR" - -.IX Item "\f(CW-b \fIfilename\fR\fR" - -.IX Item "\f(CW--base-file \fIfilename\fR\fR" - -.IX Item "\f(CW-e \fIfilename\fR\fR" - -.IX Item "\f(CW--output-exp \fIfilename\fR\fR" - -.IX Item "\f(CW-z \fIfilename\fR\fR" - -.IX Item "\f(CW--output-def \fIfilename\fR\fR" - -.IX Item "\f(CW-l \fIfilename\fR\fR" - -.IX Item "\f(CW--output-lib \fIfilename\fR\fR" - -.IX Item "\f(CW--export-all-symbols\fR" - -.IX Item "\f(CW--no-export-all-symbols\fR" - -.IX Item "\f(CW--exclude-symbols \fIlist\fR\fR" - -.IX Item "\f(CW--no-default-excludes\fR" - -.IX Item "\f(CW-S \fIpath\fR\fR" - -.IX Item "\f(CW--as \fIpath\fR\fR" - -.IX Item "\f(CW-f \fIswitches\fR\fR" - -.IX Item "\f(CW--as-flags \fIswitches\fR\fR" - -.IX Item "\f(CW-D \fIname\fR\fR" - -.IX Item "\f(CW--dll-name \fIname\fR\fR" - -.IX Item "\f(CW-m \fImachine\fR\fR" - -.IX Item "\f(CW-machine \fImachine\fR\fR" - -.IX Item "\f(CW-a\fR" - -.IX Item "\f(CW--add-indirect\fR" - -.IX Item "\f(CW-U\fR" - -.IX Item "\f(CW--add-underscore\fR" - -.IX Item "\f(CW-k\fR" - -.IX Item "\f(CW--kill-at\fR" - -.IX Item "\f(CW-A\fR" - -.IX Item "\f(CW--add-stdcall-alias\fR" - -.IX Item "\f(CW-x\fR" - -.IX Item "\f(CW--no-idata4\fR" - -.IX Item "\f(CW-c\fR" - -.IX Item "\f(CW--no-idata5\fR" - -.IX Item "\f(CW-i\fR" - -.IX Item "\f(CW--interwork\fR" - -.IX Item "\f(CW-n\fR" - -.IX Item "\f(CW--nodelete\fR" - -.IX Item "\f(CW-v\fR" - -.IX Item "\f(CW--verbose\fR" - -.IX Item "\f(CW-h\fR" - -.IX Item "\f(CW--help\fR" - -.IX Item "\f(CW-V\fR" - -.IX Item "\f(CW--version\fR" - -.IX Header "SEE ALSO" - -.IX Header "COPYRIGHT" - +section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R". diff --git a/binutils/nlmconv.1 b/binutils/nlmconv.1 index 7590b66..ecd8bfe 100644 --- a/binutils/nlmconv.1 +++ b/binutils/nlmconv.1 @@ -1,12 +1,9 @@ -.rn '' }` -''' $RCSfile$$Revision$$Date$ -''' -''' $Log$ -''' Revision 1.5 2001/03/25 20:32:25 nickc -''' Automate generate on man pages -''' -''' -.de Sh +.\" Automatically generated by Pod::Man version 1.02 +.\" Wed May 30 12:24:27 2001 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading .br .if t .Sp .ne 5 @@ -14,149 +11,105 @@ \fB\\$1\fR .PP .. -.de Sp +.de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. -.de Ip +.de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. -.de Vb +.de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. -.de Ve +.de Ve \" End verbatim text .ft R .fi .. -''' -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' Bell System Logo is used as a dummy character. -''' +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> .tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ -.ds -- \(*W- -.ds PI pi -.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -.ds L" "" -.ds R" "" -''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of -''' \*(L" and \*(R", except that they are used on ".xx" lines, -''' such as .IP and .SH, which do another additional levels of -''' double-quote interpretation -.ds M" """ -.ds S" """ -.ds N" """"" -.ds T" """"" -.ds L' ' -.ds R' ' -.ds M' ' -.ds S' ' -.ds N' ' -.ds T' ' +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` ` +. ds C' ' 'br\} .el\{\ -.ds -- \(em\| -.tr \*(Tr -.ds L" `` -.ds R" '' -.ds M" `` -.ds S" '' -.ds N" `` -.ds T" '' -.ds L' ` -.ds R' ' -.ds M' ` -.ds S' ' -.ds N' ` -.ds T' ' -.ds PI \(*p +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' 'br\} -.\" If the F register is turned on, we'll generate -.\" index entries out stderr for the following things: -.\" TH Title -.\" SH Header -.\" Sh Subsection -.\" Ip Item -.\" X<> Xref (embedded -.\" Of course, you have to process the output yourself -.\" in some meaninful fashion. -.if \nF \{ -.de IX -.tm Index:\\$1\t\\n%\t"\\$2" -.. -.nr % 0 -.rr F +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +. . +. nr % 0 +. rr F .\} -.TH NLMCONV.1 1 "binutils-2.11.90" "23/Mar/101" "GNU" -.UC -.if n .hy 0 -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.de CQ \" put $1 in typewriter font -.ft CW -'if n "\c -'if t \\&\\$1\c -'if n \\&\\$1\c -'if n \&" -\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 -'.ft R -.. -.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 -. \" AM - accent mark definitions +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. .bd B 3 -. \" fudge factors for nroff and troff +. \" fudge factors for nroff and troff .if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP .\} .if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& .\} -. \" simple accents for nroff and troff +. \" simple accents for nroff and troff .if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds ? ? -. ds ! ! -. ds / -. ds q +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / .\} .if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' -. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} -. \" troff and (daisy-wheel) nroff accents +. \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] -.ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' -.ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' -.ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' @@ -164,138 +117,109 @@ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E -.ds oe o\h'-(\w'o'u*4/10)'e -.ds Oe O\h'-(\w'O'u*4/10)'E -. \" corrections for vroff +. \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) +. \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ -. ds : e -. ds 8 ss -. ds v \h'-1'\o'\(aa\(ga' -. ds _ \h'-1'^ -. ds . \h'-1'. -. ds 3 3 -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -. ds oe oe -. ds Oe OE +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE .\} .rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "NLMCONV.1 1" +.TH NLMCONV.1 1 "binutils-2.11.90" "2001-05-30" "GNU" +.UC .SH "NAME" -nlmconv \- converts object code into an NLM. +nlmconv \- converts object code into an \s-1NLM\s0. .SH "SYNOPSIS" -nlmconv [ \-I \fIbfdname\fR | --input-target=\fIbfdname\fR ] - [ \-O \fIbfdname\fR | --output-target=\fIbfdname\fR ] - [ \-T \fIheaderfile\fR | --header-file=\fIheaderfile\fR ] - [ \-d | --debug] [ \-l \fIlinker\fR | --linker=\fIlinker\fR ] - [ \-h | --help ] [ \-V | --version ] +.IX Header "SYNOPSIS" +nlmconv [ \-I \fIbfdname\fR | \-\-input-target=\fIbfdname\fR ] + [ \-O \fIbfdname\fR | \-\-output-target=\fIbfdname\fR ] + [ \-T \fIheaderfile\fR | \-\-header-file=\fIheaderfile\fR ] + [ \-d | \-\-debug] [ \-l \fIlinker\fR | \-\-linker=\fIlinker\fR ] + [ \-h | \-\-help ] [ \-V | \-\-version ] \fIinfile\fR \fIoutfile\fR .SH "DESCRIPTION" -\f(CWnlmconv\fR converts the relocatable \fBi386\fR object file -\fIinfile\fR into the NetWare Loadable Module \fIoutfile\fR, optionally -reading \fIheaderfile\fR for NLM header information. For instructions -on writing the NLM command file language used in header files, see the -\fBlinkers\fR section, \fBNLMLINK\fR in particular, of the \fINLM -Development and Tools Overview\fR, which is part of the NLM Software -Developer's Kit (``NLM SDK''), available from Novell, Inc. -\f(CWnlmconv\fR uses the GNU Binary File Descriptor library to read -\fIinfile\fR; +.IX Header "DESCRIPTION" +\&\f(CW\*(C`nlmconv\*(C'\fR converts the relocatable \fBi386\fR object file +\&\fIinfile\fR into the NetWare Loadable Module \fIoutfile\fR, optionally +reading \fIheaderfile\fR for \s-1NLM\s0 header information. For instructions +on writing the \s-1NLM\s0 command file language used in header files, see the +\&\fBlinkers\fR section, \fB\s-1NLMLINK\s0\fR in particular, of the \fI\s-1NLM\s0 +Development and Tools Overview\fR, which is part of the \s-1NLM\s0 Software +Developer's Kit (``\s-1NLM\s0 \s-1SDK\s0''), available from Novell, Inc. +\&\f(CW\*(C`nlmconv\*(C'\fR uses the \s-1GNU\s0 Binary File Descriptor library to read +\&\fIinfile\fR; .PP -\f(CWnlmconv\fR can perform a link step. In other words, you can list +\&\f(CW\*(C`nlmconv\*(C'\fR can perform a link step. In other words, you can list more than one object file for input if you list them in the definitions file (rather than simply specifying one input file on the command line). -In this case, \f(CWnlmconv\fR calls the linker for you. +In this case, \f(CW\*(C`nlmconv\*(C'\fR calls the linker for you. .SH "OPTIONS" -.Ip "\f(CW-I \fIbfdname\fR\fR" 4 -.Ip "\f(CW--input-target=\fIbfdname\fR\fR" 4 -Object format of the input file. \f(CWnlmconv\fR can usually determine +.IX Header "OPTIONS" +.Ip "\f(CW\*(C`\-I \f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "-I bfdname" +.Ip "\f(CW\*(C`\-\-input\-target=\f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "--input-target=bfdname" +Object format of the input file. \f(CW\*(C`nlmconv\*(C'\fR can usually determine the format of a given file (so no default is necessary). -.Ip "\f(CW-O \fIbfdname\fR\fR" 4 -.Ip "\f(CW--output-target=\fIbfdname\fR\fR" 4 -Object format of the output file. \f(CWnlmconv\fR infers the output +.Ip "\f(CW\*(C`\-O \f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "-O bfdname" +.Ip "\f(CW\*(C`\-\-output\-target=\f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "--output-target=bfdname" +Object format of the output file. \f(CW\*(C`nlmconv\*(C'\fR infers the output format based on the input format, e.g. for a \fBi386\fR input file the -output format is \fBnlm32-i386\fR. -.Ip "\f(CW-T \fIheaderfile\fR\fR" 4 -.Ip "\f(CW--header-file=\fIheaderfile\fR\fR" 4 +output format is \fBnlm32\-i386\fR. +.Ip "\f(CW\*(C`\-T \f(CIheaderfile\f(CW\*(C'\fR" 4 +.IX Item "-T headerfile" +.Ip "\f(CW\*(C`\-\-header\-file=\f(CIheaderfile\f(CW\*(C'\fR" 4 +.IX Item "--header-file=headerfile" Reads \fIheaderfile\fR for \s-1NLM\s0 header information. For instructions on writing the \s-1NLM\s0 command file language used in header files, see see the -\fBlinkers\fR section, of the \fI\s-1NLM\s0 Development and Tools +\&\fBlinkers\fR section, of the \fI\s-1NLM\s0 Development and Tools Overview\fR, which is part of the \s-1NLM\s0 Software Developer's Kit, available from Novell, Inc. -.Ip "\f(CW-d\fR" 4 -.Ip "\f(CW--debug\fR" 4 -Displays (on standard error) the linker command line used by \f(CWnlmconv\fR. -.Ip "\f(CW-l \fIlinker\fR\fR" 4 -.Ip "\f(CW--linker=\fIlinker\fR\fR" 4 +.Ip "\f(CW\*(C`\-d\*(C'\fR" 4 +.IX Item "-d" +.Ip "\f(CW\*(C`\-\-debug\*(C'\fR" 4 +.IX Item "--debug" +Displays (on standard error) the linker command line used by \f(CW\*(C`nlmconv\*(C'\fR. +.Ip "\f(CW\*(C`\-l \f(CIlinker\f(CW\*(C'\fR" 4 +.IX Item "-l linker" +.Ip "\f(CW\*(C`\-\-linker=\f(CIlinker\f(CW\*(C'\fR" 4 +.IX Item "--linker=linker" Use \fIlinker\fR for any linking. \fIlinker\fR can be an absolute or a relative pathname. -.Ip "\f(CW-h\fR" 4 -.Ip "\f(CW--help\fR" 4 +.Ip "\f(CW\*(C`\-h\*(C'\fR" 4 +.IX Item "-h" +.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4 +.IX Item "--help" Prints a usage summary. -.Ip "\f(CW-V\fR" 4 -.Ip "\f(CW--version\fR" 4 -Prints the version number for \f(CWnlmconv\fR. +.Ip "\f(CW\*(C`\-V\*(C'\fR" 4 +.IX Item "-V" +.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4 +.IX Item "--version" +Prints the version number for \f(CW\*(C`nlmconv\*(C'\fR. .SH "SEE ALSO" +.IX Header "SEE ALSO" the Info entries for \fIbinutils\fR. .SH "COPYRIGHT" +.IX Header "COPYRIGHT" Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. .PP Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.1 +under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the -section entitled \*(L"GNU Free Documentation License\*(R". - -.rn }` '' -.IX Title "NLMCONV.1 1" -.IX Name "nlmconv - converts object code into an NLM." - -.IX Header "NAME" - -.IX Header "SYNOPSIS" - -.IX Header "DESCRIPTION" - -.IX Header "OPTIONS" - -.IX Item "\f(CW-I \fIbfdname\fR\fR" - -.IX Item "\f(CW--input-target=\fIbfdname\fR\fR" - -.IX Item "\f(CW-O \fIbfdname\fR\fR" - -.IX Item "\f(CW--output-target=\fIbfdname\fR\fR" - -.IX Item "\f(CW-T \fIheaderfile\fR\fR" - -.IX Item "\f(CW--header-file=\fIheaderfile\fR\fR" - -.IX Item "\f(CW-d\fR" - -.IX Item "\f(CW--debug\fR" - -.IX Item "\f(CW-l \fIlinker\fR\fR" - -.IX Item "\f(CW--linker=\fIlinker\fR\fR" - -.IX Item "\f(CW-h\fR" - -.IX Item "\f(CW--help\fR" - -.IX Item "\f(CW-V\fR" - -.IX Item "\f(CW--version\fR" - -.IX Header "SEE ALSO" - -.IX Header "COPYRIGHT" - +section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R". diff --git a/binutils/nm.1 b/binutils/nm.1 index bf7daa9..4a6494f 100644 --- a/binutils/nm.1 +++ b/binutils/nm.1 @@ -1,12 +1,9 @@ -.rn '' }` -''' $RCSfile$$Revision$$Date$ -''' -''' $Log$ -''' Revision 1.5 2001/03/25 20:32:25 nickc -''' Automate generate on man pages -''' -''' -.de Sh +.\" Automatically generated by Pod::Man version 1.02 +.\" Wed May 30 12:24:27 2001 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading .br .if t .Sp .ne 5 @@ -14,149 +11,105 @@ \fB\\$1\fR .PP .. -.de Sp +.de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. -.de Ip +.de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. -.de Vb +.de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. -.de Ve +.de Ve \" End verbatim text .ft R .fi .. -''' -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' Bell System Logo is used as a dummy character. -''' +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> .tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ -.ds -- \(*W- -.ds PI pi -.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -.ds L" "" -.ds R" "" -''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of -''' \*(L" and \*(R", except that they are used on ".xx" lines, -''' such as .IP and .SH, which do another additional levels of -''' double-quote interpretation -.ds M" """ -.ds S" """ -.ds N" """"" -.ds T" """"" -.ds L' ' -.ds R' ' -.ds M' ' -.ds S' ' -.ds N' ' -.ds T' ' +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` ` +. ds C' ' 'br\} .el\{\ -.ds -- \(em\| -.tr \*(Tr -.ds L" `` -.ds R" '' -.ds M" `` -.ds S" '' -.ds N" `` -.ds T" '' -.ds L' ` -.ds R' ' -.ds M' ` -.ds S' ' -.ds N' ` -.ds T' ' -.ds PI \(*p +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' 'br\} -.\" If the F register is turned on, we'll generate -.\" index entries out stderr for the following things: -.\" TH Title -.\" SH Header -.\" Sh Subsection -.\" Ip Item -.\" X<> Xref (embedded -.\" Of course, you have to process the output yourself -.\" in some meaninful fashion. -.if \nF \{ -.de IX -.tm Index:\\$1\t\\n%\t"\\$2" -.. -.nr % 0 -.rr F +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +. . +. nr % 0 +. rr F .\} -.TH NM.1 1 "binutils-2.11.90" "23/Mar/101" "GNU" -.UC -.if n .hy 0 -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.de CQ \" put $1 in typewriter font -.ft CW -'if n "\c -'if t \\&\\$1\c -'if n \\&\\$1\c -'if n \&" -\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 -'.ft R -.. -.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 -. \" AM - accent mark definitions +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. .bd B 3 -. \" fudge factors for nroff and troff +. \" fudge factors for nroff and troff .if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP .\} .if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& .\} -. \" simple accents for nroff and troff +. \" simple accents for nroff and troff .if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds ? ? -. ds ! ! -. ds / -. ds q +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / .\} .if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' -. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} -. \" troff and (daisy-wheel) nroff accents +. \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] -.ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' -.ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' -.ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' @@ -164,49 +117,48 @@ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E -.ds oe o\h'-(\w'o'u*4/10)'e -.ds Oe O\h'-(\w'O'u*4/10)'E -. \" corrections for vroff +. \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) +. \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ -. ds : e -. ds 8 ss -. ds v \h'-1'\o'\(aa\(ga' -. ds _ \h'-1'^ -. ds . \h'-1'. -. ds 3 3 -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -. ds oe oe -. ds Oe OE +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE .\} .rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "NM.1 1" +.TH NM.1 1 "binutils-2.11.90" "2001-05-30" "GNU" +.UC .SH "NAME" nm \- list symbols from object files .SH "SYNOPSIS" -nm [ \-a | --debug-syms ] [ \-g | --extern-only ] - [ \-B ] [ \-C | --demangle[=\fIstyle\fR] ] [ \-D | --dynamic ] - [ \-s | --print-armap ] [ \-A | \-o | --print-file-name ] - [ \-n | \-v | --numeric-sort ] [ \-p | --no-sort ] - [ \-r | --reverse-sort ] [ --size-sort ] [ \-u | --undefined-only ] - [ \-t \fIradix\fR | --radix=\fIradix\fR ] [ \-P | --portability ] - [ --target=\fIbfdname\fR ] [ \-f \fIformat\fR | --format=\fIformat\fR ] - [ --defined-only ] [\-l | --line-numbers ] [ --no-demangle ] - [ \-V | --version ] [ \-X 32_64 ] [ --help ] [ \fIobjfile\fR... ] +.IX Header "SYNOPSIS" +nm [ \-a | \-\-debug-syms ] [ \-g | \-\-extern-only ] + [ \-B ] [ \-C | \-\-demangle[=\fIstyle\fR] ] [ \-D | \-\-dynamic ] + [ \-s | \-\-print-armap ] [ \-A | \-o | \-\-print-file-name ] + [ \-n | \-v | \-\-numeric-sort ] [ \-p | \-\-no-sort ] + [ \-r | \-\-reverse-sort ] [ \-\-size-sort ] [ \-u | \-\-undefined-only ] + [ \-t \fIradix\fR | \-\-radix=\fIradix\fR ] [ \-P | \-\-portability ] + [ \-\-target=\fIbfdname\fR ] [ \-f \fIformat\fR | \-\-format=\fIformat\fR ] + [ \-\-defined-only ] [\-l | \-\-line-numbers ] [ \-\-no-demangle ] + [ \-V | \-\-version ] [ \-X 32_64 ] [ \-\-help ] [ \fIobjfile\fR... ] .SH "DESCRIPTION" -GNU \f(CWnm\fR lists the symbols from object files \fIobjfile\fR.... -If no object files are listed as arguments, \f(CWnm\fR assumes the file -\fIa.out\fR. +.IX Header "DESCRIPTION" +\&\s-1GNU\s0 \f(CW\*(C`nm\*(C'\fR lists the symbols from object files \fIobjfile\fR.... +If no object files are listed as arguments, \f(CW\*(C`nm\*(C'\fR assumes the file +\&\fIa.out\fR. .PP -For each symbol, \f(CWnm\fR shows: +For each symbol, \f(CW\*(C`nm\*(C'\fR shows: .Ip "\(bu" 4 The symbol value, in the radix selected by options (see below), or hexadecimal by default. @@ -214,51 +166,217 @@ hexadecimal by default. The symbol type. At least the following types are used; others are, as well, depending on the object file format. If lowercase, the symbol is local; if uppercase, the symbol is global (external). -.Ip "\f(CWA\fR" 8 +.RS 4 +.Ip "\f(CW\*(C`A\*(C'\fR" 4 +.IX Item "A" The symbol's value is absolute, and will not be changed by further linking. -.Ip "\f(CWB\fR" 8 +.Ip "\f(CW\*(C`B\*(C'\fR" 4 +.IX Item "B" The symbol is in the uninitialized data section (known as \s-1BSS\s0). -.Ip "\f(CWC\fR" 8 +.Ip "\f(CW\*(C`C\*(C'\fR" 4 +.IX Item "C" The symbol is common. Common symbols are uninitialized data. When linking, multiple common symbols may appear with the same name. If the symbol is defined anywhere, the common symbols are treated as undefined references. +.Ip "\f(CW\*(C`D\*(C'\fR" 4 +.IX Item "D" +The symbol is in the initialized data section. +.Ip "\f(CW\*(C`G\*(C'\fR" 4 +.IX Item "G" +The symbol is in an initialized data section for small objects. Some +object file formats permit more efficient access to small data objects, +such as a global int variable as opposed to a large global array. +.Ip "\f(CW\*(C`I\*(C'\fR" 4 +.IX Item "I" +The symbol is an indirect reference to another symbol. This is a \s-1GNU\s0 +extension to the a.out object file format which is rarely used. +.Ip "\f(CW\*(C`N\*(C'\fR" 4 +.IX Item "N" +The symbol is a debugging symbol. +.Ip "\f(CW\*(C`R\*(C'\fR" 4 +.IX Item "R" +The symbol is in a read only data section. +.Ip "\f(CW\*(C`S\*(C'\fR" 4 +.IX Item "S" +The symbol is in an uninitialized data section for small objects. +.Ip "\f(CW\*(C`T\*(C'\fR" 4 +.IX Item "T" +The symbol is in the text (code) section. +.Ip "\f(CW\*(C`U\*(C'\fR" 4 +.IX Item "U" +The symbol is undefined. +.Ip "\f(CW\*(C`V\*(C'\fR" 4 +.IX Item "V" +The symbol is a weak object. When a weak defined symbol is linked with +a normal defined symbol, the normal defined symbol is used with no error. +When a weak undefined symbol is linked and the symbol is not defined, +the value of the weak symbol becomes zero with no error. +.Ip "\f(CW\*(C`W\*(C'\fR" 4 +.IX Item "W" +The symbol is a weak symbol that has not been specifically tagged as a +weak object symbol. When a weak defined symbol is linked with a normal +defined symbol, the normal defined symbol is used with no error. +When a weak undefined symbol is linked and the symbol is not defined, +the value of the weak symbol becomes zero with no error. +.Ip "\f(CW\*(C`\-\*(C'\fR" 4 +.IX Item "-" +The symbol is a stabs symbol in an a.out object file. In this case, the +next values printed are the stabs other field, the stabs desc field, and +the stab type. Stabs symbols are used to hold debugging information; +for more information, see \f(CW@ref\fR{Top,Stabs,Stabs Overview,stabs.info, The +``stabs'' debug format}. +.Ip "\f(CW\*(C`?\*(C'\fR" 4 +.IX Item "?" +The symbol type is unknown, or object file format specific. +.RE +.RS 4 +.RE +.Ip "\(bu" 4 +The symbol name. .SH "OPTIONS" +.IX Header "OPTIONS" +The long and short forms of options, shown here as alternatives, are +equivalent. +.Ip "\f(CW\*(C`\-A\*(C'\fR" 4 +.IX Item "-A" +.Ip "\f(CW\*(C`\-o\*(C'\fR" 4 +.IX Item "-o" +.Ip "\f(CW\*(C`\-\-print\-file\-name \*(C'\fR" 4 +.IX Item "--print-file-name " +Precede each symbol by the name of the input file (or archive member) +in which it was found, rather than identifying the input file once only, +before all of its symbols. +.Ip "\f(CW\*(C`\-a\*(C'\fR" 4 +.IX Item "-a" +.Ip "\f(CW\*(C`\-\-debug\-syms \*(C'\fR" 4 +.IX Item "--debug-syms " +Display all symbols, even debugger-only symbols; normally these are not +listed. +.Ip "\f(CW\*(C`\-B\*(C'\fR" 4 +.IX Item "-B" +The same as \fB\*(--format=bsd\fR (for compatibility with the \s-1MIPS\s0 \f(CW\*(C`nm\*(C'\fR). +.Ip "\f(CW\*(C`\-C\*(C'\fR" 4 +.IX Item "-C" +.Ip "\f(CW\*(C`\-\-demangle[=\f(CIstyle\f(CW]\*(C'\fR" 4 +.IX Item "--demangle[=style]" +Decode (\fIdemangle\fR) low-level symbol names into user-level names. +Besides removing any initial underscore prepended by the system, this +makes \*(C+ function names readable. Different compilers have different +mangling styles. The optional demangling style argument can be used to +choose an appropriate demangling style for your compiler. +.Ip "\f(CW\*(C`\-\-no\-demangle\*(C'\fR" 4 +.IX Item "--no-demangle" +Do not demangle low-level symbol names. This is the default. +.Ip "\f(CW\*(C`\-D\*(C'\fR" 4 +.IX Item "-D" +.Ip "\f(CW\*(C`\-\-dynamic\*(C'\fR" 4 +.IX Item "--dynamic" +Display the dynamic symbols rather than the normal symbols. This is +only meaningful for dynamic objects, such as certain types of shared +libraries. +.Ip "\f(CW\*(C`\-f \f(CIformat\f(CW\*(C'\fR" 4 +.IX Item "-f format" +.Ip "\f(CW\*(C`\-\-format=\f(CIformat\f(CW\*(C'\fR" 4 +.IX Item "--format=format" +Use the output format \fIformat\fR, which can be \f(CW\*(C`bsd\*(C'\fR, +\&\f(CW\*(C`sysv\*(C'\fR, or \f(CW\*(C`posix\*(C'\fR. The default is \f(CW\*(C`bsd\*(C'\fR. +Only the first character of \fIformat\fR is significant; it can be +either upper or lower case. +.Ip "\f(CW\*(C`\-g\*(C'\fR" 4 +.IX Item "-g" +.Ip "\f(CW\*(C`\-\-extern\-only \*(C'\fR" 4 +.IX Item "--extern-only " +Display only external symbols. +.Ip "\f(CW\*(C`\-l\*(C'\fR" 4 +.IX Item "-l" +.Ip "\f(CW\*(C`\-\-line\-numbers\*(C'\fR" 4 +.IX Item "--line-numbers" +For each symbol, use debugging information to try to find a filename and +line number. For a defined symbol, look for the line number of the +address of the symbol. For an undefined symbol, look for the line +number of a relocation entry which refers to the symbol. If line number +information can be found, print it after the other symbol information. +.Ip "\f(CW\*(C`\-n\*(C'\fR" 4 +.IX Item "-n" +.Ip "\f(CW\*(C`\-v\*(C'\fR" 4 +.IX Item "-v" +.Ip "\f(CW\*(C`\-\-numeric\-sort \*(C'\fR" 4 +.IX Item "--numeric-sort " +Sort symbols numerically by their addresses, rather than alphabetically +by their names. +.Ip "\f(CW\*(C`\-p\*(C'\fR" 4 +.IX Item "-p" +.Ip "\f(CW\*(C`\-\-no\-sort \*(C'\fR" 4 +.IX Item "--no-sort " +Do not bother to sort the symbols in any order; print them in the order +encountered. +.Ip "\f(CW\*(C`\-P\*(C'\fR" 4 +.IX Item "-P" +.Ip "\f(CW\*(C`\-\-portability\*(C'\fR" 4 +.IX Item "--portability" +Use the \s-1POSIX\s0.2 standard output format instead of the default format. +Equivalent to \fB\-f posix\fR. +.Ip "\f(CW\*(C`\-s\*(C'\fR" 4 +.IX Item "-s" +.Ip "\f(CW\*(C`\-\-print\-armap\*(C'\fR" 4 +.IX Item "--print-armap" +When listing symbols from archive members, include the index: a mapping +(stored in the archive by \f(CW\*(C`ar\*(C'\fR or \f(CW\*(C`ranlib\*(C'\fR) of which modules +contain definitions for which names. +.Ip "\f(CW\*(C`\-r\*(C'\fR" 4 +.IX Item "-r" +.Ip "\f(CW\*(C`\-\-reverse\-sort \*(C'\fR" 4 +.IX Item "--reverse-sort " +Reverse the order of the sort (whether numeric or alphabetic); let the +last come first. +.Ip "\f(CW\*(C`\-\-size\-sort\*(C'\fR" 4 +.IX Item "--size-sort" +Sort symbols by size. The size is computed as the difference between +the value of the symbol and the value of the symbol with the next higher +value. The size of the symbol is printed, rather than the value. +.Ip "\f(CW\*(C`\-t \f(CIradix\f(CW\*(C'\fR" 4 +.IX Item "-t radix" +.Ip "\f(CW\*(C`\-\-radix=\f(CIradix\f(CW\*(C'\fR" 4 +.IX Item "--radix=radix" +Use \fIradix\fR as the radix for printing the symbol values. It must be +\&\fBd\fR for decimal, \fBo\fR for octal, or \fBx\fR for hexadecimal. +.Ip "\f(CW\*(C`\-\-target=\f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "--target=bfdname" +Specify an object code format other than your system's default format. +.Ip "\f(CW\*(C`\-u\*(C'\fR" 4 +.IX Item "-u" +.Ip "\f(CW\*(C`\-\-undefined\-only \*(C'\fR" 4 +.IX Item "--undefined-only " +Display only undefined symbols (those external to each object file). +.Ip "\f(CW\*(C`\-\-defined\-only\*(C'\fR" 4 +.IX Item "--defined-only" +Display only defined symbols for each object file. +.Ip "\f(CW\*(C`\-V\*(C'\fR" 4 +.IX Item "-V" +.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4 +.IX Item "--version" +Show the version number of \f(CW\*(C`nm\*(C'\fR and exit. +.Ip "\f(CW\*(C`\-X\*(C'\fR" 4 +.IX Item "-X" +This option is ignored for compatibility with the \s-1AIX\s0 version of +\&\f(CW\*(C`nm\*(C'\fR. It takes one parameter which must be the string +\&\f(CW\*(C`32_64\*(C'\fR. The default mode of \s-1AIX\s0 \f(CW\*(C`nm\*(C'\fR corresponds +to \f(CW\*(C`\-X 32\*(C'\fR, which is not supported by \s-1GNU\s0 \f(CW\*(C`nm\*(C'\fR. +.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4 +.IX Item "--help" +Show a summary of the options to \f(CW\*(C`nm\*(C'\fR and exit. .SH "SEE ALSO" +.IX Header "SEE ALSO" +\&\fIar\fR\|(1), \fIobjdump\fR\|(1), \fIranlib\fR\|(1), and the Info entries for \fIbinutils\fR. .SH "COPYRIGHT" +.IX Header "COPYRIGHT" Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. -.Sp +.PP Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.1 +under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the -section entitled \*(L"GNU Free Documentation License\*(R". - -.rn }` '' -.IX Title "NM.1 1" -.IX Name "nm - list symbols from object files" - -.IX Header "NAME" - -.IX Header "SYNOPSIS" - -.IX Header "DESCRIPTION" - -.IX Item "\(bu" - -.IX Item "\(bu" - -.IX Item "\f(CWA\fR" - -.IX Item "\f(CWB\fR" - -.IX Item "\f(CWC\fR" - -.IX Header "OPTIONS" - -.IX Header "SEE ALSO" - -.IX Header "COPYRIGHT" - +section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R". diff --git a/binutils/objcopy.1 b/binutils/objcopy.1 index 2e52d08..a6aa181 100644 --- a/binutils/objcopy.1 +++ b/binutils/objcopy.1 @@ -1,12 +1,9 @@ -.rn '' }` -''' $RCSfile$$Revision$$Date$ -''' -''' $Log$ -''' Revision 1.10 2001/03/25 20:32:25 nickc -''' Automate generate on man pages -''' -''' -.de Sh +.\" Automatically generated by Pod::Man version 1.02 +.\" Wed May 30 12:24:28 2001 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading .br .if t .Sp .ne 5 @@ -14,149 +11,105 @@ \fB\\$1\fR .PP .. -.de Sp +.de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. -.de Ip +.de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. -.de Vb +.de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. -.de Ve +.de Ve \" End verbatim text .ft R .fi .. -''' -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' Bell System Logo is used as a dummy character. -''' +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> .tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ -.ds -- \(*W- -.ds PI pi -.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -.ds L" "" -.ds R" "" -''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of -''' \*(L" and \*(R", except that they are used on ".xx" lines, -''' such as .IP and .SH, which do another additional levels of -''' double-quote interpretation -.ds M" """ -.ds S" """ -.ds N" """"" -.ds T" """"" -.ds L' ' -.ds R' ' -.ds M' ' -.ds S' ' -.ds N' ' -.ds T' ' +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` ` +. ds C' ' 'br\} .el\{\ -.ds -- \(em\| -.tr \*(Tr -.ds L" `` -.ds R" '' -.ds M" `` -.ds S" '' -.ds N" `` -.ds T" '' -.ds L' ` -.ds R' ' -.ds M' ` -.ds S' ' -.ds N' ` -.ds T' ' -.ds PI \(*p +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' 'br\} -.\" If the F register is turned on, we'll generate -.\" index entries out stderr for the following things: -.\" TH Title -.\" SH Header -.\" Sh Subsection -.\" Ip Item -.\" X<> Xref (embedded -.\" Of course, you have to process the output yourself -.\" in some meaninful fashion. -.if \nF \{ -.de IX -.tm Index:\\$1\t\\n%\t"\\$2" -.. -.nr % 0 -.rr F +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +. . +. nr % 0 +. rr F .\} -.TH OBJCOPY.1 1 "binutils-2.11.90" "23/Mar/101" "GNU" -.UC -.if n .hy 0 -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.de CQ \" put $1 in typewriter font -.ft CW -'if n "\c -'if t \\&\\$1\c -'if n \\&\\$1\c -'if n \&" -\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 -'.ft R -.. -.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 -. \" AM - accent mark definitions +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. .bd B 3 -. \" fudge factors for nroff and troff +. \" fudge factors for nroff and troff .if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP .\} .if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& .\} -. \" simple accents for nroff and troff +. \" simple accents for nroff and troff .if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds ? ? -. ds ! ! -. ds / -. ds q +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / .\} .if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' -. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} -. \" troff and (daisy-wheel) nroff accents +. \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] -.ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' -.ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' -.ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' @@ -164,119 +117,135 @@ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E -.ds oe o\h'-(\w'o'u*4/10)'e -.ds Oe O\h'-(\w'O'u*4/10)'E -. \" corrections for vroff +. \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) +. \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ -. ds : e -. ds 8 ss -. ds v \h'-1'\o'\(aa\(ga' -. ds _ \h'-1'^ -. ds . \h'-1'. -. ds 3 3 -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -. ds oe oe -. ds Oe OE +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE .\} .rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "OBJCOPY.1 1" +.TH OBJCOPY.1 1 "binutils-2.11.90" "2001-05-30" "GNU" +.UC .SH "NAME" objcopy \- copy and translate object files .SH "SYNOPSIS" -objcopy [ \-F \fIbfdname\fR | --target=\fIbfdname\fR ] - [ \-I \fIbfdname\fR | --input-target=\fIbfdname\fR ] - [ \-O \fIbfdname\fR | --output-target=\fIbfdname\fR ] - [ \-B \fIbfdarch\fR | --binary-architecture=\fIbfdarch\fR ] - [ \-S | --strip-all ] [ \-g | --strip-debug ] - [ \-K \fIsymbolname\fR | --keep-symbol=\fIsymbolname\fR ] - [ \-N \fIsymbolname\fR | --strip-symbol=\fIsymbolname\fR ] - [ \-L \fIsymbolname\fR | --localize-symbol=\fIsymbolname\fR ] - [ \-W \fIsymbolname\fR | --weaken-symbol=\fIsymbolname\fR ] - [ \-x | --discard-all ] [ \-X | --discard-locals ] - [ \-b \fIbyte\fR | --byte=\fIbyte\fR ] - [ \-i \fIinterleave\fR | --interleave=\fIinterleave\fR ] - [ \-j \fIsectionname\fR | --only-section=\fIsectionname\fR ] - [ \-R \fIsectionname\fR | --remove-section=\fIsectionname\fR ] - [ \-p | --preserve-dates ] [ --debugging ] - [ --gap-fill=\fIval\fR ] [ --pad-to=\fIaddress\fR ] - [ --set-start=\fIval\fR ] [ --adjust-start=\fIincr\fR ] - [ --change-addresses=\fIincr\fR ] - [ --change-section-address \fIsection\fR{=,+,\-}\fIval\fR ] - [ --change-section-lma \fIsection\fR{=,+,\-}\fIval\fR ] - [ --change-section-vma \fIsection\fR{=,+,\-}\fIval\fR ] - [ --change-warnings ] [ --no-change-warnings ] - [ --set-section-flags \fIsection\fR=\fIflags\fR ] - [ --add-section \fIsectionname\fR=\fIfilename\fR ] - [ --change-leading-char ] [ --remove-leading-char ] - [ --srec-len=\fIival\fR ] [ --srec-forceS3 ] - [ --redefine-sym \fIold\fR=\fInew\fR ] [ --weaken ] - [ \-v | --verbose ] [ \-V | --version ] [ --help ] +.IX Header "SYNOPSIS" +objcopy [ \-F \fIbfdname\fR | \-\-target=\fIbfdname\fR ] + [ \-I \fIbfdname\fR | \-\-input-target=\fIbfdname\fR ] + [ \-O \fIbfdname\fR | \-\-output-target=\fIbfdname\fR ] + [ \-B \fIbfdarch\fR | \-\-binary-architecture=\fIbfdarch\fR ] + [ \-S | \-\-strip-all ] [ \-g | \-\-strip-debug ] + [ \-K \fIsymbolname\fR | \-\-keep-symbol=\fIsymbolname\fR ] + [ \-N \fIsymbolname\fR | \-\-strip-symbol=\fIsymbolname\fR ] + [ \-G \fIsymbolname\fR | \-\-keep-global-symbol=\fIsymbolname\fR] + [ \-L \fIsymbolname\fR | \-\-localize-symbol=\fIsymbolname\fR ] + [ \-W \fIsymbolname\fR | \-\-weaken-symbol=\fIsymbolname\fR ] + [ \-x | \-\-discard-all ] [ \-X | \-\-discard-locals ] + [ \-b \fIbyte\fR | \-\-byte=\fIbyte\fR ] + [ \-i \fIinterleave\fR | \-\-interleave=\fIinterleave\fR ] + [ \-j \fIsectionname\fR | \-\-only-section=\fIsectionname\fR ] + [ \-R \fIsectionname\fR | \-\-remove-section=\fIsectionname\fR ] + [ \-p | \-\-preserve-dates ] [ \-\-debugging ] + [ \-\-gap-fill=\fIval\fR ] [ \-\-pad-to=\fIaddress\fR ] + [ \-\-set-start=\fIval\fR ] [ \-\-adjust-start=\fIincr\fR ] + [ \-\-change-addresses=\fIincr\fR ] + [ \-\-change-section-address \fIsection\fR{=,+,\-}\fIval\fR ] + [ \-\-change-section-lma \fIsection\fR{=,+,\-}\fIval\fR ] + [ \-\-change-section-vma \fIsection\fR{=,+,\-}\fIval\fR ] + [ \-\-change-warnings ] [ \-\-no-change-warnings ] + [ \-\-set-section-flags \fIsection\fR=\fIflags\fR ] + [ \-\-add-section \fIsectionname\fR=\fIfilename\fR ] + [ \-\-change-leading-char ] [ \-\-remove-leading-char ] + [ \-\-srec-len=\fIival\fR ] [ \-\-srec-forceS3 ] + [ \-\-redefine-sym \fIold\fR=\fInew\fR ] [ \-\-weaken ] + [ \-\-keep-symbols=\fIfilename\fR ] + [ \-\-strip-symbols=\fIfilename\fR ] + [ \-\-keep-global-symbols=\fIfilename\fR ] + [ \-\-localize-symbols=\fIfilename\fR ] + [ \-\-weaken-symbols=\fIfilename\fR ] + [ \-v | \-\-verbose ] [ \-V | \-\-version ] [ \-\-help ] \fIinfile\fR [\fIoutfile\fR] .SH "DESCRIPTION" -The GNU \f(CWobjcopy\fR utility copies the contents of an object -file to another. \f(CWobjcopy\fR uses the GNU BFD Library to +.IX Header "DESCRIPTION" +The \s-1GNU\s0 \f(CW\*(C`objcopy\*(C'\fR utility copies the contents of an object +file to another. \f(CW\*(C`objcopy\*(C'\fR uses the \s-1GNU\s0 \s-1BFD\s0 Library to read and write the object files. It can write the destination object file in a format different from that of the source object file. The -exact behavior of \f(CWobjcopy\fR is controlled by command-line options. -Note that \f(CWobjcopy\fR should be able to copy a fully linked file +exact behavior of \f(CW\*(C`objcopy\*(C'\fR is controlled by command-line options. +Note that \f(CW\*(C`objcopy\*(C'\fR should be able to copy a fully linked file between any two formats. However, copying a relocatable object file between any two formats may not work as expected. .PP -\f(CWobjcopy\fR creates temporary files to do its translations and -deletes them afterward. \f(CWobjcopy\fR uses BFD to do all its -translation work; it has access to all the formats described in BFD +\&\f(CW\*(C`objcopy\*(C'\fR creates temporary files to do its translations and +deletes them afterward. \f(CW\*(C`objcopy\*(C'\fR uses \s-1BFD\s0 to do all its +translation work; it has access to all the formats described in \s-1BFD\s0 and thus is able to recognize most formats without being told explicitly. .PP -\f(CWobjcopy\fR can be used to generate S\-records by using an output +\&\f(CW\*(C`objcopy\*(C'\fR can be used to generate S-records by using an output target of \fBsrec\fR (e.g., use \fB\-O srec\fR). .PP -\f(CWobjcopy\fR can be used to generate a raw binary file by using an +\&\f(CW\*(C`objcopy\*(C'\fR can be used to generate a raw binary file by using an output target of \fBbinary\fR (e.g., use \fB\-O binary\fR). When -\f(CWobjcopy\fR generates a raw binary file, it will essentially produce +\&\f(CW\*(C`objcopy\*(C'\fR generates a raw binary file, it will essentially produce a memory dump of the contents of the input object file. All symbols and relocation information will be discarded. The memory dump will start at the load address of the lowest section copied into the output file. .PP -When generating an S\-record or a raw binary file, it may be helpful to +When generating an S-record or a raw binary file, it may be helpful to use \fB\-S\fR to remove sections containing debugging information. In some cases \fB\-R\fR will be useful to remove sections which contain information that is not needed by the binary file. .PP -Note \- \f(CWobjcopy\fR is not able to change the endianness of its input +Note \- \f(CW\*(C`objcopy\*(C'\fR is not able to change the endianness of its input files. If the input format has an endianness, (some formats do not), -\f(CWobjcopy\fR can only copy the inputs into file formats that have the +\&\f(CW\*(C`objcopy\*(C'\fR can only copy the inputs into file formats that have the same endianness or which have no endianness (eg \fBsrec\fR). .SH "OPTIONS" -.Ip "\f(CW\fIinfile\fR\fR" 4 -.Ip "\f(CW\fIoutfile\fR\fR" 4 +.IX Header "OPTIONS" +.Ip "\f(CW\*(C`\f(CIinfile\f(CW\*(C'\fR" 4 +.IX Item "infile" +.Ip "\f(CW\*(C`\f(CIoutfile\f(CW\*(C'\fR" 4 +.IX Item "outfile" The input and output files, respectively. -If you do not specify \fIoutfile\fR, \f(CWobjcopy\fR creates a +If you do not specify \fIoutfile\fR, \f(CW\*(C`objcopy\*(C'\fR creates a temporary file and destructively renames the result with the name of \fIinfile\fR. -.Ip "\f(CW-I \fIbfdname\fR \fR" 4 -.Ip "\f(CW--input-target=\fIbfdname\fR\fR" 4 +.Ip "\f(CW\*(C`\-I \f(CIbfdname\f(CW \*(C'\fR" 4 +.IX Item "-I bfdname " +.Ip "\f(CW\*(C`\-\-input\-target=\f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "--input-target=bfdname" Consider the source file's object format to be \fIbfdname\fR, rather than attempting to deduce it. -.Ip "\f(CW-O \fIbfdname\fR\fR" 4 -.Ip "\f(CW--output-target=\fIbfdname\fR\fR" 4 +.Ip "\f(CW\*(C`\-O \f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "-O bfdname" +.Ip "\f(CW\*(C`\-\-output\-target=\f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "--output-target=bfdname" Write the output file using the object format \fIbfdname\fR. -.Ip "\f(CW-F \fIbfdname\fR\fR" 4 -.Ip "\f(CW--target=\fIbfdname\fR\fR" 4 +.Ip "\f(CW\*(C`\-F \f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "-F bfdname" +.Ip "\f(CW\*(C`\-\-target=\f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "--target=bfdname" Use \fIbfdname\fR as the object format for both the input and the output file; i.e., simply transfer data from source to destination with no translation. -.Ip "\f(CW-B \fIbfdarch\fR\fR" 4 -.Ip "\f(CW--binary-architecture=\fIbfdarch\fR\fR" 4 +.Ip "\f(CW\*(C`\-B \f(CIbfdarch\f(CW\*(C'\fR" 4 +.IX Item "-B bfdarch" +.Ip "\f(CW\*(C`\-\-binary\-architecture=\f(CIbfdarch\f(CW\*(C'\fR" 4 +.IX Item "--binary-architecture=bfdarch" Useful when transforming a raw binary input file into an object file. In this case the output architecture can be set to \fIbfdarch\fR. This option will be ignored if the input file has a known \fIbfdarch\fR. You @@ -285,349 +254,295 @@ symbols that are created by the conversion process. These symbols are called _binary_\fIobjfile\fR_start, _binary_\fIobjfile\fR_end and _binary_\fIobjfile\fR_size. e.g. you can transform a picture file into an object file and then access it in your code using these symbols. -.Ip "\f(CW-j \fIsectionname\fR\fR" 4 -.Ip "\f(CW--only-section=\fIsectionname\fR\fR" 4 +.Ip "\f(CW\*(C`\-j \f(CIsectionname\f(CW\*(C'\fR" 4 +.IX Item "-j sectionname" +.Ip "\f(CW\*(C`\-\-only\-section=\f(CIsectionname\f(CW\*(C'\fR" 4 +.IX Item "--only-section=sectionname" Copy only the named section from the input file to the output file. This option may be given more than once. Note that using this option inappropriately may make the output file unusable. -.Ip "\f(CW-R \fIsectionname\fR\fR" 4 -.Ip "\f(CW--remove-section=\fIsectionname\fR\fR" 4 +.Ip "\f(CW\*(C`\-R \f(CIsectionname\f(CW\*(C'\fR" 4 +.IX Item "-R sectionname" +.Ip "\f(CW\*(C`\-\-remove\-section=\f(CIsectionname\f(CW\*(C'\fR" 4 +.IX Item "--remove-section=sectionname" Remove any section named \fIsectionname\fR from the output file. This option may be given more than once. Note that using this option inappropriately may make the output file unusable. -.Ip "\f(CW-S\fR" 4 -.Ip "\f(CW--strip-all\fR" 4 +.Ip "\f(CW\*(C`\-S\*(C'\fR" 4 +.IX Item "-S" +.Ip "\f(CW\*(C`\-\-strip\-all\*(C'\fR" 4 +.IX Item "--strip-all" Do not copy relocation and symbol information from the source file. -.Ip "\f(CW-g\fR" 4 -.Ip "\f(CW--strip-debug\fR" 4 +.Ip "\f(CW\*(C`\-g\*(C'\fR" 4 +.IX Item "-g" +.Ip "\f(CW\*(C`\-\-strip\-debug\*(C'\fR" 4 +.IX Item "--strip-debug" Do not copy debugging symbols from the source file. -.Ip "\f(CW--strip-unneeded\fR" 4 +.Ip "\f(CW\*(C`\-\-strip\-unneeded\*(C'\fR" 4 +.IX Item "--strip-unneeded" Strip all symbols that are not needed for relocation processing. -.Ip "\f(CW-K \fIsymbolname\fR\fR" 4 -.Ip "\f(CW--keep-symbol=\fIsymbolname\fR\fR" 4 +.Ip "\f(CW\*(C`\-K \f(CIsymbolname\f(CW\*(C'\fR" 4 +.IX Item "-K symbolname" +.Ip "\f(CW\*(C`\-\-keep\-symbol=\f(CIsymbolname\f(CW\*(C'\fR" 4 +.IX Item "--keep-symbol=symbolname" Copy only symbol \fIsymbolname\fR from the source file. This option may be given more than once. -.Ip "\f(CW-N \fIsymbolname\fR\fR" 4 -.Ip "\f(CW--strip-symbol=\fIsymbolname\fR\fR" 4 +.Ip "\f(CW\*(C`\-N \f(CIsymbolname\f(CW\*(C'\fR" 4 +.IX Item "-N symbolname" +.Ip "\f(CW\*(C`\-\-strip\-symbol=\f(CIsymbolname\f(CW\*(C'\fR" 4 +.IX Item "--strip-symbol=symbolname" Do not copy symbol \fIsymbolname\fR from the source file. This option may be given more than once. -.Ip "\f(CW-L \fIsymbolname\fR\fR" 4 -.Ip "\f(CW--localize-symbol=\fIsymbolname\fR\fR" 4 +.Ip "\f(CW\*(C`\-G \f(CIsymbolname\f(CW\*(C'\fR" 4 +.IX Item "-G symbolname" +.Ip "\f(CW\*(C`\-\-keep\-global\-symbol=\f(CIsymbolname\f(CW\*(C'\fR" 4 +.IX Item "--keep-global-symbol=symbolname" +Keep only symbol \fIsymbolname\fR global. Make all other symbols local +to the file, so that they are not visible externally. This option may +be given more than once. +.Ip "\f(CW\*(C`\-L \f(CIsymbolname\f(CW\*(C'\fR" 4 +.IX Item "-L symbolname" +.Ip "\f(CW\*(C`\-\-localize\-symbol=\f(CIsymbolname\f(CW\*(C'\fR" 4 +.IX Item "--localize-symbol=symbolname" Make symbol \fIsymbolname\fR local to the file, so that it is not visible externally. This option may be given more than once. -.Ip "\f(CW-W \fIsymbolname\fR\fR" 4 -.Ip "\f(CW--weaken-symbol=\fIsymbolname\fR\fR" 4 +.Ip "\f(CW\*(C`\-W \f(CIsymbolname\f(CW\*(C'\fR" 4 +.IX Item "-W symbolname" +.Ip "\f(CW\*(C`\-\-weaken\-symbol=\f(CIsymbolname\f(CW\*(C'\fR" 4 +.IX Item "--weaken-symbol=symbolname" Make symbol \fIsymbolname\fR weak. This option may be given more than once. -.Ip "\f(CW-x\fR" 4 -.Ip "\f(CW--discard-all\fR" 4 +.Ip "\f(CW\*(C`\-x\*(C'\fR" 4 +.IX Item "-x" +.Ip "\f(CW\*(C`\-\-discard\-all\*(C'\fR" 4 +.IX Item "--discard-all" Do not copy non-global symbols from the source file. -.Ip "\f(CW-X\fR" 4 -.Ip "\f(CW--discard-locals\fR" 4 +.Ip "\f(CW\*(C`\-X\*(C'\fR" 4 +.IX Item "-X" +.Ip "\f(CW\*(C`\-\-discard\-locals\*(C'\fR" 4 +.IX Item "--discard-locals" Do not copy compiler-generated local symbols. (These usually start with \fBL\fR or \fB.\fR.) -.Ip "\f(CW-b \fIbyte\fR\fR" 4 -.Ip "\f(CW--byte=\fIbyte\fR\fR" 4 +.Ip "\f(CW\*(C`\-b \f(CIbyte\f(CW\*(C'\fR" 4 +.IX Item "-b byte" +.Ip "\f(CW\*(C`\-\-byte=\f(CIbyte\f(CW\*(C'\fR" 4 +.IX Item "--byte=byte" Keep only every \fIbyte\fRth byte of the input file (header data is not affected). \fIbyte\fR can be in the range from 0 to \fIinterleave\fR\-1, -where \fIinterleave\fR is given by the \fB\-i\fR or \fB--interleave\fR +where \fIinterleave\fR is given by the \fB\-i\fR or \fB\*(--interleave\fR option, or the default of 4. This option is useful for creating files -to program \s-1ROM\s0. It is typically used with an \f(CWsrec\fR output +to program \s-1ROM\s0. It is typically used with an \f(CW\*(C`srec\*(C'\fR output target. -.Ip "\f(CW-i \fIinterleave\fR\fR" 4 -.Ip "\f(CW--interleave=\fIinterleave\fR\fR" 4 +.Ip "\f(CW\*(C`\-i \f(CIinterleave\f(CW\*(C'\fR" 4 +.IX Item "-i interleave" +.Ip "\f(CW\*(C`\-\-interleave=\f(CIinterleave\f(CW\*(C'\fR" 4 +.IX Item "--interleave=interleave" Only copy one out of every \fIinterleave\fR bytes. Select which byte to -copy with the \fI\-b\fR or \fB--byte\fR option. The default is 4. -\f(CWobjcopy\fR ignores this option if you do not specify either \fB\-b\fR or -\fB--byte\fR. -.Ip "\f(CW-p\fR" 4 -.Ip "\f(CW--preserve-dates\fR" 4 +copy with the \fI\-b\fR or \fB\*(--byte\fR option. The default is 4. +\&\f(CW\*(C`objcopy\*(C'\fR ignores this option if you do not specify either \fB\-b\fR or +\&\fB\*(--byte\fR. +.Ip "\f(CW\*(C`\-p\*(C'\fR" 4 +.IX Item "-p" +.Ip "\f(CW\*(C`\-\-preserve\-dates\*(C'\fR" 4 +.IX Item "--preserve-dates" Set the access and modification dates of the output file to be the same as those of the input file. -.Ip "\f(CW--debugging\fR" 4 +.Ip "\f(CW\*(C`\-\-debugging\*(C'\fR" 4 +.IX Item "--debugging" Convert debugging information, if possible. This is not the default because only certain debugging formats are supported, and the conversion process can be time consuming. -.Ip "\f(CW--gap-fill \fIval\fR\fR" 4 +.Ip "\f(CW\*(C`\-\-gap\-fill \f(CIval\f(CW\*(C'\fR" 4 +.IX Item "--gap-fill val" Fill gaps between sections with \fIval\fR. This operation applies to the \fIload address\fR (\s-1LMA\s0) of the sections. It is done by increasing the size of the section with the lower address, and filling in the extra space created with \fIval\fR. -.Ip "\f(CW--pad-to \fIaddress\fR\fR" 4 +.Ip "\f(CW\*(C`\-\-pad\-to \f(CIaddress\f(CW\*(C'\fR" 4 +.IX Item "--pad-to address" Pad the output file up to the load address \fIaddress\fR. This is done by increasing the size of the last section. The extra space is -filled in with the value specified by \fB--gap-fill\fR (default zero). -.Ip "\f(CW--set-start \fIval\fR\fR" 4 +filled in with the value specified by \fB\*(--gap-fill\fR (default zero). +.Ip "\f(CW\*(C`\-\-set\-start \f(CIval\f(CW\*(C'\fR" 4 +.IX Item "--set-start val" Set the start address of the new file to \fIval\fR. Not all object file formats support setting the start address. -.Ip "\f(CW--change-start \fIincr\fR\fR" 4 -.Ip "\f(CW--adjust-start \fIincr\fR\fR" 4 +.Ip "\f(CW\*(C`\-\-change\-start \f(CIincr\f(CW\*(C'\fR" 4 +.IX Item "--change-start incr" +.Ip "\f(CW\*(C`\-\-adjust\-start \f(CIincr\f(CW\*(C'\fR" 4 +.IX Item "--adjust-start incr" Change the start address by adding \fIincr\fR. Not all object file formats support setting the start address. -.Ip "\f(CW--change-addresses \fIincr\fR\fR" 4 -.Ip "\f(CW--adjust-vma \fIincr\fR\fR" 4 +.Ip "\f(CW\*(C`\-\-change\-addresses \f(CIincr\f(CW\*(C'\fR" 4 +.IX Item "--change-addresses incr" +.Ip "\f(CW\*(C`\-\-adjust\-vma \f(CIincr\f(CW\*(C'\fR" 4 +.IX Item "--adjust-vma incr" Change the \s-1VMA\s0 and \s-1LMA\s0 addresses of all sections, as well as the start address, by adding \fIincr\fR. Some object file formats do not permit section addresses to be changed arbitrarily. Note that this does not relocate the sections; if the program expects sections to be loaded at a certain address, and this option is used to change the sections such that they are loaded at a different address, the program may fail. -.Ip "\f(CW--change-section-address \fIsection\fR{=,+,-}\fIval\fR\fR" 4 -.Ip "\f(CW--adjust-section-vma \fIsection\fR{=,+,-}\fIval\fR\fR" 4 +.Ip "\f(CW\*(C`\-\-change\-section\-address \f(CIsection\f(CW{=,+,\-}\f(CIval\f(CW\*(C'\fR" 4 +.IX Item "--change-section-address section{=,+,-}val" +.Ip "\f(CW\*(C`\-\-adjust\-section\-vma \f(CIsection\f(CW{=,+,\-}\f(CIval\f(CW\*(C'\fR" 4 +.IX Item "--adjust-section-vma section{=,+,-}val" Set or change both the \s-1VMA\s0 address and the \s-1LMA\s0 address of the named -\fIsection\fR. If \fB=\fR is used, the section address is set to -\fIval\fR. Otherwise, \fIval\fR is added to or subtracted from the -section address. See the comments under \fB--change-addresses\fR, +\&\fIsection\fR. If \fB=\fR is used, the section address is set to +\&\fIval\fR. Otherwise, \fIval\fR is added to or subtracted from the +section address. See the comments under \fB\*(--change-addresses\fR, above. If \fIsection\fR does not exist in the input file, a warning will -be issued, unless \fB--no-change-warnings\fR is used. -.Ip "\f(CW--change-section-lma \fIsection\fR{=,+,-}\fIval\fR\fR" 4 +be issued, unless \fB\*(--no-change-warnings\fR is used. +.Ip "\f(CW\*(C`\-\-change\-section\-lma \f(CIsection\f(CW{=,+,\-}\f(CIval\f(CW\*(C'\fR" 4 +.IX Item "--change-section-lma section{=,+,-}val" Set or change the \s-1LMA\s0 address of the named \fIsection\fR. The \s-1LMA\s0 address is the address where the section will be loaded into memory at program load time. Normally this is the same as the \s-1VMA\s0 address, which is the address of the section at program run time, but on some systems, especially those where a program is held in \s-1ROM\s0, the two can be different. If \fB=\fR is used, the section address is set to -\fIval\fR. Otherwise, \fIval\fR is added to or subtracted from the -section address. See the comments under \fB--change-addresses\fR, +\&\fIval\fR. Otherwise, \fIval\fR is added to or subtracted from the +section address. See the comments under \fB\*(--change-addresses\fR, above. If \fIsection\fR does not exist in the input file, a warning -will be issued, unless \fB--no-change-warnings\fR is used. -.Ip "\f(CW--change-section-vma \fIsection\fR{=,+,-}\fIval\fR\fR" 4 +will be issued, unless \fB\*(--no-change-warnings\fR is used. +.Ip "\f(CW\*(C`\-\-change\-section\-vma \f(CIsection\f(CW{=,+,\-}\f(CIval\f(CW\*(C'\fR" 4 +.IX Item "--change-section-vma section{=,+,-}val" Set or change the \s-1VMA\s0 address of the named \fIsection\fR. The \s-1VMA\s0 address is the address where the section will be located once the program has started executing. Normally this is the same as the \s-1LMA\s0 address, which is the address where the section will be loaded into memory, but on some systems, especially those where a program is held in -\s-1ROM\s0, the two can be different. If \fB=\fR is used, the section address +\&\s-1ROM\s0, the two can be different. If \fB=\fR is used, the section address is set to \fIval\fR. Otherwise, \fIval\fR is added to or subtracted from the section address. See the comments under -\fB--change-addresses\fR, above. If \fIsection\fR does not exist in +\&\fB\*(--change-addresses\fR, above. If \fIsection\fR does not exist in the input file, a warning will be issued, unless -\fB--no-change-warnings\fR is used. -.Ip "\f(CW--change-warnings\fR" 4 -.Ip "\f(CW--adjust-warnings\fR" 4 -If \fB--change-section-address\fR or \fB--change-section-lma\fR or -\fB--change-section-vma\fR is used, and the named section does not +\&\fB\*(--no-change-warnings\fR is used. +.Ip "\f(CW\*(C`\-\-change\-warnings\*(C'\fR" 4 +.IX Item "--change-warnings" +.Ip "\f(CW\*(C`\-\-adjust\-warnings\*(C'\fR" 4 +.IX Item "--adjust-warnings" +If \fB\*(--change-section-address\fR or \fB\*(--change-section-lma\fR or +\&\fB\*(--change-section-vma\fR is used, and the named section does not exist, issue a warning. This is the default. -.Ip "\f(CW--no-change-warnings\fR" 4 -.Ip "\f(CW--no-adjust-warnings\fR" 4 -Do not issue a warning if \fB--change-section-address\fR or -\fB--adjust-section-lma\fR or \fB--adjust-section-vma\fR is used, even +.Ip "\f(CW\*(C`\-\-no\-change\-warnings\*(C'\fR" 4 +.IX Item "--no-change-warnings" +.Ip "\f(CW\*(C`\-\-no\-adjust\-warnings\*(C'\fR" 4 +.IX Item "--no-adjust-warnings" +Do not issue a warning if \fB\*(--change-section-address\fR or +\&\fB\*(--adjust-section-lma\fR or \fB\*(--adjust-section-vma\fR is used, even if the named section does not exist. -.Ip "\f(CW--set-section-flags \fIsection\fR=\fIflags\fR\fR" 4 +.Ip "\f(CW\*(C`\-\-set\-section\-flags \f(CIsection\f(CW=\f(CIflags\f(CW\*(C'\fR" 4 +.IX Item "--set-section-flags section=flags" Set the flags for the named section. The \fIflags\fR argument is a comma separated string of flag names. The recognized names are -\fBalloc\fR, \fBcontents\fR, \fBload\fR, \fBnoload\fR, -\fBreadonly\fR, \fBcode\fR, \fBdata\fR, \fBrom\fR, \fBshare\fR, and -\fBdebug\fR. You can set the \fBcontents\fR flag for a section which +\&\fBalloc\fR, \fBcontents\fR, \fBload\fR, \fBnoload\fR, +\&\fBreadonly\fR, \fBcode\fR, \fBdata\fR, \fBrom\fR, \fBshare\fR, and +\&\fBdebug\fR. You can set the \fBcontents\fR flag for a section which does not have contents, but it is not meaningful to clear the -\fBcontents\fR flag of a section which does have contents\*(--just remove +\&\fBcontents\fR flag of a section which does have contents\*(--just remove the section instead. Not all flags are meaningful for all object file formats. -.Ip "\f(CW--add-section \fIsectionname\fR=\fIfilename\fR\fR" 4 +.Ip "\f(CW\*(C`\-\-add\-section \f(CIsectionname\f(CW=\f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "--add-section sectionname=filename" Add a new section named \fIsectionname\fR while copying the file. The contents of the new section are taken from the file \fIfilename\fR. The size of the section will be the size of the file. This option only works on file formats which can support sections with arbitrary names. -.Ip "\f(CW--change-leading-char\fR" 4 +.Ip "\f(CW\*(C`\-\-change\-leading\-char\*(C'\fR" 4 +.IX Item "--change-leading-char" Some object file formats use special characters at the start of symbols. The most common such character is underscore, which compilers -often add before every symbol. This option tells \f(CWobjcopy\fR to +often add before every symbol. This option tells \f(CW\*(C`objcopy\*(C'\fR to change the leading character of every symbol when it converts between object file formats. If the object file formats use the same leading character, this option has no effect. Otherwise, it will add a character, or remove a character, or change a character, as appropriate. -.Ip "\f(CW--remove-leading-char\fR" 4 +.Ip "\f(CW\*(C`\-\-remove\-leading\-char\*(C'\fR" 4 +.IX Item "--remove-leading-char" If the first character of a global symbol is a special symbol leading character used by the object file format, remove the character. The most common symbol leading character is underscore. This option will remove a leading underscore from all global symbols. This can be useful if you want to link together objects of different file formats with different conventions for symbol names. This is different from -\f(CW--change-leading-char\fR because it always changes the symbol name +\&\f(CW\*(C`\-\-change\-leading\-char\*(C'\fR because it always changes the symbol name when appropriate, regardless of the object file format of the output file. -.Ip "\f(CW--srec-len=\fIival\fR\fR" 4 +.Ip "\f(CW\*(C`\-\-srec\-len=\f(CIival\f(CW\*(C'\fR" 4 +.IX Item "--srec-len=ival" Meaningful only for srec output. Set the maximum length of the Srecords being produced to \fIival\fR. This length covers both address, data and crc fields. -.Ip "\f(CW--srec-forceS3\fR" 4 +.Ip "\f(CW\*(C`\-\-srec\-forceS3\*(C'\fR" 4 +.IX Item "--srec-forceS3" Meaningful only for srec output. Avoid generation of S1/S2 records, -creating S3-only record format. -.Ip "\f(CW--redefine-sym \fIold\fR=\fInew\fR\fR" 4 +creating S3\-only record format. +.Ip "\f(CW\*(C`\-\-redefine\-sym \f(CIold\f(CW=\f(CInew\f(CW\*(C'\fR" 4 +.IX Item "--redefine-sym old=new" Change the name of a symbol \fIold\fR, to \fInew\fR. This can be useful when one is trying link two things together for which you have no source, and there are name collisions. -.Ip "\f(CW--weaken\fR" 4 +.Ip "\f(CW\*(C`\-\-weaken\*(C'\fR" 4 +.IX Item "--weaken" Change all global symbols in the file to be weak. This can be useful when building an object which will be linked against other objects using -the \f(CW-R\fR option to the linker. This option is only effective when +the \f(CW\*(C`\-R\*(C'\fR option to the linker. This option is only effective when using an object file format which supports weak symbols. -.Ip "\f(CW-V\fR" 4 -.Ip "\f(CW--version\fR" 4 -Show the version number of \f(CWobjcopy\fR. -.Ip "\f(CW-v\fR" 4 -.Ip "\f(CW--verbose\fR" 4 +.Ip "\f(CW\*(C`\-\-keep\-symbols=\f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "--keep-symbols=filename" +Apply \fB\*(--keep-symbol\fR option to each symbol listed in the file +\&\fIfilename\fR. \fIfilename\fR is simply a flat file, with one symbol +name per line. Line comments may be introduced by the hash character. +This option may be given more than once. +.Ip "\f(CW\*(C`\-\-strip\-symbols=\f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "--strip-symbols=filename" +Apply \fB\*(--strip-symbol\fR option to each symbol listed in the file +\&\fIfilename\fR. \fIfilename\fR is simply a flat file, with one symbol +name per line. Line comments may be introduced by the hash character. +This option may be given more than once. +.Ip "\f(CW\*(C`\-\-keep\-global\-symbols=\f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "--keep-global-symbols=filename" +Apply \fB\*(--keep-global-symbol\fR option to each symbol listed in the +file \fIfilename\fR. \fIfilename\fR is simply a flat file, with one +symbol name per line. Line comments may be introduced by the hash +character. This option may be given more than once. +.Ip "\f(CW\*(C`\-\-localize\-symbols=\f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "--localize-symbols=filename" +Apply \fB\*(--localize-symbol\fR option to each symbol listed in the file +\&\fIfilename\fR. \fIfilename\fR is simply a flat file, with one symbol +name per line. Line comments may be introduced by the hash character. +This option may be given more than once. +.Ip "\f(CW\*(C`\-\-weaken\-symbols=\f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "--weaken-symbols=filename" +Apply \fB\*(--weaken-symbol\fR option to each symbol listed in the file +\&\fIfilename\fR. \fIfilename\fR is simply a flat file, with one symbol +name per line. Line comments may be introduced by the hash character. +This option may be given more than once. +.Ip "\f(CW\*(C`\-V\*(C'\fR" 4 +.IX Item "-V" +.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4 +.IX Item "--version" +Show the version number of \f(CW\*(C`objcopy\*(C'\fR. +.Ip "\f(CW\*(C`\-v\*(C'\fR" 4 +.IX Item "-v" +.Ip "\f(CW\*(C`\-\-verbose\*(C'\fR" 4 +.IX Item "--verbose" Verbose output: list all object files modified. In the case of archives, \fBobjcopy \-V\fR lists all members of the archive. -.Ip "\f(CW--help\fR" 4 -Show a summary of the options to \f(CWobjcopy\fR. +.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4 +.IX Item "--help" +Show a summary of the options to \f(CW\*(C`objcopy\*(C'\fR. .SH "SEE ALSO" -\fIld\fR\|(1), \fIobjdump\fR\|(1), and the Info entries for \fIbinutils\fR. +.IX Header "SEE ALSO" +\&\fIld\fR\|(1), \fIobjdump\fR\|(1), and the Info entries for \fIbinutils\fR. .SH "COPYRIGHT" +.IX Header "COPYRIGHT" Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. .PP Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.1 +under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the -section entitled \*(L"GNU Free Documentation License\*(R". - -.rn }` '' -.IX Title "OBJCOPY.1 1" -.IX Name "objcopy - copy and translate object files" - -.IX Header "NAME" - -.IX Header "SYNOPSIS" - -.IX Header "DESCRIPTION" - -.IX Header "OPTIONS" - -.IX Item "\f(CW\fIinfile\fR\fR" - -.IX Item "\f(CW\fIoutfile\fR\fR" - -.IX Item "\f(CW-I \fIbfdname\fR \fR" - -.IX Item "\f(CW--input-target=\fIbfdname\fR\fR" - -.IX Item "\f(CW-O \fIbfdname\fR\fR" - -.IX Item "\f(CW--output-target=\fIbfdname\fR\fR" - -.IX Item "\f(CW-F \fIbfdname\fR\fR" - -.IX Item "\f(CW--target=\fIbfdname\fR\fR" - -.IX Item "\f(CW-B \fIbfdarch\fR\fR" - -.IX Item "\f(CW--binary-architecture=\fIbfdarch\fR\fR" - -.IX Item "\f(CW-j \fIsectionname\fR\fR" - -.IX Item "\f(CW--only-section=\fIsectionname\fR\fR" - -.IX Item "\f(CW-R \fIsectionname\fR\fR" - -.IX Item "\f(CW--remove-section=\fIsectionname\fR\fR" - -.IX Item "\f(CW-S\fR" - -.IX Item "\f(CW--strip-all\fR" - -.IX Item "\f(CW-g\fR" - -.IX Item "\f(CW--strip-debug\fR" - -.IX Item "\f(CW--strip-unneeded\fR" - -.IX Item "\f(CW-K \fIsymbolname\fR\fR" - -.IX Item "\f(CW--keep-symbol=\fIsymbolname\fR\fR" - -.IX Item "\f(CW-N \fIsymbolname\fR\fR" - -.IX Item "\f(CW--strip-symbol=\fIsymbolname\fR\fR" - -.IX Item "\f(CW-L \fIsymbolname\fR\fR" - -.IX Item "\f(CW--localize-symbol=\fIsymbolname\fR\fR" - -.IX Item "\f(CW-W \fIsymbolname\fR\fR" - -.IX Item "\f(CW--weaken-symbol=\fIsymbolname\fR\fR" - -.IX Item "\f(CW-x\fR" - -.IX Item "\f(CW--discard-all\fR" - -.IX Item "\f(CW-X\fR" - -.IX Item "\f(CW--discard-locals\fR" - -.IX Item "\f(CW-b \fIbyte\fR\fR" - -.IX Item "\f(CW--byte=\fIbyte\fR\fR" - -.IX Item "\f(CW-i \fIinterleave\fR\fR" - -.IX Item "\f(CW--interleave=\fIinterleave\fR\fR" - -.IX Item "\f(CW-p\fR" - -.IX Item "\f(CW--preserve-dates\fR" - -.IX Item "\f(CW--debugging\fR" - -.IX Item "\f(CW--gap-fill \fIval\fR\fR" - -.IX Item "\f(CW--pad-to \fIaddress\fR\fR" - -.IX Item "\f(CW--set-start \fIval\fR\fR" - -.IX Item "\f(CW--change-start \fIincr\fR\fR" - -.IX Item "\f(CW--adjust-start \fIincr\fR\fR" - -.IX Item "\f(CW--change-addresses \fIincr\fR\fR" - -.IX Item "\f(CW--adjust-vma \fIincr\fR\fR" - -.IX Item "\f(CW--change-section-address \fIsection\fR{=,+,-}\fIval\fR\fR" - -.IX Item "\f(CW--adjust-section-vma \fIsection\fR{=,+,-}\fIval\fR\fR" - -.IX Item "\f(CW--change-section-lma \fIsection\fR{=,+,-}\fIval\fR\fR" - -.IX Item "\f(CW--change-section-vma \fIsection\fR{=,+,-}\fIval\fR\fR" - -.IX Item "\f(CW--change-warnings\fR" - -.IX Item "\f(CW--adjust-warnings\fR" - -.IX Item "\f(CW--no-change-warnings\fR" - -.IX Item "\f(CW--no-adjust-warnings\fR" - -.IX Item "\f(CW--set-section-flags \fIsection\fR=\fIflags\fR\fR" - -.IX Item "\f(CW--add-section \fIsectionname\fR=\fIfilename\fR\fR" - -.IX Item "\f(CW--change-leading-char\fR" - -.IX Item "\f(CW--remove-leading-char\fR" - -.IX Item "\f(CW--srec-len=\fIival\fR\fR" - -.IX Item "\f(CW--srec-forceS3\fR" - -.IX Item "\f(CW--redefine-sym \fIold\fR=\fInew\fR\fR" - -.IX Item "\f(CW--weaken\fR" - -.IX Item "\f(CW-V\fR" - -.IX Item "\f(CW--version\fR" - -.IX Item "\f(CW-v\fR" - -.IX Item "\f(CW--verbose\fR" - -.IX Item "\f(CW--help\fR" - -.IX Header "SEE ALSO" - -.IX Header "COPYRIGHT" - +section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R". diff --git a/binutils/objcopy.c b/binutils/objcopy.c index de053b1..4afec5b 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -57,6 +57,7 @@ static void copy_section PARAMS ((bfd *, asection *, PTR)); static void get_sections PARAMS ((bfd *, asection *, PTR)); static int compare_section_lma PARAMS ((const PTR, const PTR)); static void add_specific_symbol PARAMS ((const char *, struct symlist **)); +static void add_specific_symbols PARAMS ((const char *, struct symlist **)); static boolean is_specified_symbol PARAMS ((const char *, struct symlist *)); static boolean is_strip_section PARAMS ((bfd *, asection *)); static unsigned int filter_symbols @@ -184,11 +185,13 @@ static boolean change_leading_char = false; static boolean remove_leading_char = false; -/* List of symbols to strip, keep, localize, weaken, or redefine. */ +/* List of symbols to strip, keep, localize, keep-global, weaken, + or redefine. */ static struct symlist *strip_specific_list = NULL; static struct symlist *keep_specific_list = NULL; static struct symlist *localize_specific_list = NULL; +static struct symlist *keepglobal_specific_list = NULL; static struct symlist *weaken_specific_list = NULL; static struct redefine_node *redefine_sym_list = NULL; @@ -218,6 +221,11 @@ static boolean weaken = false; #define OPTION_REDEFINE_SYM (OPTION_WEAKEN + 1) #define OPTION_SREC_LEN (OPTION_REDEFINE_SYM + 1) #define OPTION_SREC_FORCES3 (OPTION_SREC_LEN + 1) +#define OPTION_STRIP_SYMBOLS (OPTION_SREC_FORCES3 + 1) +#define OPTION_KEEP_SYMBOLS (OPTION_STRIP_SYMBOLS + 1) +#define OPTION_LOCALIZE_SYMBOLS (OPTION_KEEP_SYMBOLS + 1) +#define OPTION_KEEPGLOBAL_SYMBOLS (OPTION_LOCALIZE_SYMBOLS + 1) +#define OPTION_WEAKEN_SYMBOLS (OPTION_KEEPGLOBAL_SYMBOLS + 1) /* Options to handle if running as "strip". */ @@ -280,6 +288,7 @@ static struct option copy_options[] = {"pad-to", required_argument, 0, OPTION_PAD_TO}, {"preserve-dates", no_argument, 0, 'p'}, {"localize-symbol", required_argument, 0, 'L'}, + {"keep-global-symbol", required_argument, 0, 'G'}, {"remove-leading-char", no_argument, 0, OPTION_REMOVE_LEADING_CHAR}, {"remove-section", required_argument, 0, 'R'}, {"set-section-flags", required_argument, 0, OPTION_SET_SECTION_FLAGS}, @@ -296,6 +305,11 @@ static struct option copy_options[] = {"redefine-sym", required_argument, 0, OPTION_REDEFINE_SYM}, {"srec-len", required_argument, 0, OPTION_SREC_LEN}, {"srec-forceS3", no_argument, 0, OPTION_SREC_FORCES3}, + {"keep-symbols", required_argument, 0, OPTION_KEEP_SYMBOLS}, + {"strip-symbols", required_argument, 0, OPTION_STRIP_SYMBOLS}, + {"keep-global-symbols", required_argument, 0, OPTION_KEEPGLOBAL_SYMBOLS}, + {"localize-symbols", required_argument, 0, OPTION_LOCALIZE_SYMBOLS}, + {"weaken-symbols", required_argument, 0, OPTION_WEAKEN_SYMBOLS}, {0, no_argument, 0, 0} }; @@ -341,6 +355,7 @@ copy_usage (stream, exit_status) -N --strip-symbol Do not copy symbol \n\ -K --keep-symbol Only copy symbol \n\ -L --localize-symbol Force symbol to be marked as a local\n\ + -G --keep-global-symbol Localize all symbols except \n\ -W --weaken-symbol Force symbol to be marked as a weak\n\ --weaken Force all global symbols to be marked as weak\n\ -x --discard-all Remove all non-global symbols\n\ @@ -370,6 +385,11 @@ copy_usage (stream, exit_status) --redefine-sym = Redefine symbol name to \n\ --srec-len Restrict the length of generated Srecords\n\ --srec-forceS3 Restrict the type of generated Srecords to S3\n\ + --strip-symbols -N for all symbols listed in \n\ + --keep-symbols -K for all symbols listed in \n\ + --localize-symbols -L for all symbols listed in \n\ + --keep-global-symbols -G for all symbols listed in \n\ + --weaken-symbols -W for all symbols listed in \n\ -v --verbose List all object files modified\n\ -V --version Display this program's version number\n\ -h --help Display this output\n\ @@ -518,6 +538,122 @@ add_specific_symbol (name, list) *list = tmp_list; } +/* Add symbols listed in `filename' to strip_specific_list. */ + +#define IS_WHITESPACE(c) ((c) == ' ' || (c) == '\t') +#define IS_LINE_TERMINATOR(c) ((c) == '\n' || (c) == '\r' || (c) == '\0') + +static void +add_specific_symbols (filename, list) + const char *filename; + struct symlist **list; +{ + struct stat st; + FILE * f; + char * line; + char * buffer; + unsigned int line_count; + + if (stat (filename, & st) < 0) + fatal (_("cannot stat: %s: %s"), filename, strerror (errno)); + if (st.st_size == 0) + return; + + buffer = (char *) xmalloc (st.st_size + 2); + f = fopen (filename, FOPEN_RT); + if (f == NULL) + fatal (_("cannot open: %s: %s"), filename, strerror (errno)); + + if (fread (buffer, 1, st.st_size, f) == 0 || ferror (f)) + fatal (_("%s: fread failed"), filename); + + fclose (f); + buffer [st.st_size] = '\n'; + buffer [st.st_size + 1] = '\0'; + + line_count = 1; + + for (line = buffer; * line != '\0'; line ++) + { + char * eol; + char * name; + char * name_end; + int finished = false; + + for (eol = line;; eol ++) + { + switch (* eol) + { + case '\n': + * eol = '\0'; + /* Cope with \n\r. */ + if (eol[1] == '\r') + ++ eol; + finished = true; + break; + + case '\r': + * eol = '\0'; + /* Cope with \r\n. */ + if (eol[1] == '\n') + ++ eol; + finished = true; + break; + + case 0: + finished = true; + break; + + case '#': + /* Line comment, Terminate the line here, in case a + name is present and then allow the rest of the + loop to find the real end of the line. */ + * eol = '\0'; + break; + + default: + break; + } + + if (finished) + break; + } + + /* A name may now exist somewhere between 'line' and 'eol'. + Strip off leading whitespace and trailing whitespace, + then add it to the list. */ + for (name = line; IS_WHITESPACE (* name); name ++) + ; + for (name_end = name; + (! IS_WHITESPACE (* name_end)) + && (! IS_LINE_TERMINATOR (* name_end)); + name_end ++) + ; + + if (! IS_LINE_TERMINATOR (* name_end)) + { + char * extra; + + for (extra = name_end + 1; IS_WHITESPACE (* extra); extra ++) + ; + + if (! IS_LINE_TERMINATOR (* extra)) + non_fatal (_("Ignoring rubbish found on line %d of %s"), + line_count, filename); + } + + * name_end = '\0'; + + if (name_end > name) + add_specific_symbol (name, list); + + /* Advance line pointer to end of line. The 'eol ++' in the for + loop above will then advance us to the start of the next line. */ + line = eol; + line_count ++; + } +} + /* See whether a symbol should be stripped or kept based on strip_specific_list and keep_symbols. */ @@ -636,6 +772,12 @@ filter_symbols (abfd, obfd, osyms, isyms, symcount) else if (relocatable /* Relocatable file. */ && (flags & (BSF_GLOBAL | BSF_WEAK)) != 0) keep = 1; + else if (bfd_decode_symclass (sym) == 'I') + /* Global symbols in $idata sections need to be retained + even if relocatable is false. External users of the + library containing the $idata section may reference these + symbols. */ + keep = 1; else if ((flags & BSF_GLOBAL) != 0 /* Global symbol. */ || (flags & BSF_WEAK) != 0 || bfd_is_und_section (bfd_get_section (sym)) @@ -665,7 +807,9 @@ filter_symbols (abfd, obfd, osyms, isyms, symcount) sym->flags |= BSF_WEAK; } if (keep && (flags & (BSF_GLOBAL | BSF_WEAK)) - && is_specified_symbol (name, localize_specific_list)) + && (is_specified_symbol (name, localize_specific_list) + || (keepglobal_specific_list != NULL + && ! is_specified_symbol (name, keepglobal_specific_list)))) { sym->flags &= ~(BSF_GLOBAL | BSF_WEAK); sym->flags |= BSF_LOCAL; @@ -977,6 +1121,7 @@ copy_object (ibfd, obfd) || strip_specific_list != NULL || keep_specific_list != NULL || localize_specific_list != NULL + || keepglobal_specific_list != NULL || weaken_specific_list != NULL || sections_removed || sections_copied @@ -1695,7 +1840,7 @@ strip_main (argc, argv) struct section_list *p; char *output_file = NULL; - while ((c = getopt_long (argc, argv, "I:O:F:K:N:R:o:sSpdgxXVv", + while ((c = getopt_long (argc, argv, "b:i:I:j:K:N:s:O:d:F:L:G:R:SpgxXVvW:", strip_options, (int *) 0)) != EOF) { switch (c) @@ -1903,6 +2048,10 @@ copy_main (argc, argv) add_specific_symbol (optarg, &localize_specific_list); break; + case 'G': + add_specific_symbol (optarg, &keepglobal_specific_list); + break; + case 'W': add_specific_symbol (optarg, &weaken_specific_list); break; @@ -2169,6 +2318,26 @@ copy_main (argc, argv) S3Forced = true; break; + case OPTION_STRIP_SYMBOLS: + add_specific_symbols (optarg, &strip_specific_list); + break; + + case OPTION_KEEP_SYMBOLS: + add_specific_symbols (optarg, &keep_specific_list); + break; + + case OPTION_LOCALIZE_SYMBOLS: + add_specific_symbols (optarg, &localize_specific_list); + break; + + case OPTION_KEEPGLOBAL_SYMBOLS: + add_specific_symbols (optarg, &keepglobal_specific_list); + break; + + case OPTION_WEAKEN_SYMBOLS: + add_specific_symbols (optarg, &weaken_specific_list); + break; + case 0: break; /* we've been given a long option */ diff --git a/binutils/objdump.1 b/binutils/objdump.1 index d43cd48..9c51441 100644 --- a/binutils/objdump.1 +++ b/binutils/objdump.1 @@ -1,12 +1,9 @@ -.rn '' }` -''' $RCSfile$$Revision$$Date$ -''' -''' $Log$ -''' Revision 1.5 2001/03/25 20:32:25 nickc -''' Automate generate on man pages -''' -''' -.de Sh +.\" Automatically generated by Pod::Man version 1.02 +.\" Wed May 30 12:24:28 2001 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading .br .if t .Sp .ne 5 @@ -14,149 +11,105 @@ \fB\\$1\fR .PP .. -.de Sp +.de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. -.de Ip +.de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. -.de Vb +.de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. -.de Ve +.de Ve \" End verbatim text .ft R .fi .. -''' -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' Bell System Logo is used as a dummy character. -''' +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> .tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ -.ds -- \(*W- -.ds PI pi -.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -.ds L" "" -.ds R" "" -''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of -''' \*(L" and \*(R", except that they are used on ".xx" lines, -''' such as .IP and .SH, which do another additional levels of -''' double-quote interpretation -.ds M" """ -.ds S" """ -.ds N" """"" -.ds T" """"" -.ds L' ' -.ds R' ' -.ds M' ' -.ds S' ' -.ds N' ' -.ds T' ' +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` ` +. ds C' ' 'br\} .el\{\ -.ds -- \(em\| -.tr \*(Tr -.ds L" `` -.ds R" '' -.ds M" `` -.ds S" '' -.ds N" `` -.ds T" '' -.ds L' ` -.ds R' ' -.ds M' ` -.ds S' ' -.ds N' ` -.ds T' ' -.ds PI \(*p +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' 'br\} -.\" If the F register is turned on, we'll generate -.\" index entries out stderr for the following things: -.\" TH Title -.\" SH Header -.\" Sh Subsection -.\" Ip Item -.\" X<> Xref (embedded -.\" Of course, you have to process the output yourself -.\" in some meaninful fashion. -.if \nF \{ -.de IX -.tm Index:\\$1\t\\n%\t"\\$2" -.. -.nr % 0 -.rr F +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +. . +. nr % 0 +. rr F .\} -.TH OBJDUMP.1 1 "binutils-2.11.90" "23/Mar/101" "GNU" -.UC -.if n .hy 0 -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.de CQ \" put $1 in typewriter font -.ft CW -'if n "\c -'if t \\&\\$1\c -'if n \\&\\$1\c -'if n \&" -\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 -'.ft R -.. -.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 -. \" AM - accent mark definitions +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. .bd B 3 -. \" fudge factors for nroff and troff +. \" fudge factors for nroff and troff .if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP .\} .if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& .\} -. \" simple accents for nroff and troff +. \" simple accents for nroff and troff .if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds ? ? -. ds ! ! -. ds / -. ds q +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / .\} .if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' -. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} -. \" troff and (daisy-wheel) nroff accents +. \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] -.ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' -.ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' -.ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' @@ -164,417 +117,343 @@ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E -.ds oe o\h'-(\w'o'u*4/10)'e -.ds Oe O\h'-(\w'O'u*4/10)'E -. \" corrections for vroff +. \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) +. \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ -. ds : e -. ds 8 ss -. ds v \h'-1'\o'\(aa\(ga' -. ds _ \h'-1'^ -. ds . \h'-1'. -. ds 3 3 -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -. ds oe oe -. ds Oe OE +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE .\} .rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "OBJDUMP.1 1" +.TH OBJDUMP.1 1 "binutils-2.11.90" "2001-05-30" "GNU" +.UC .SH "NAME" objdump \- display information from object files. .SH "SYNOPSIS" -objdump [ \-a | --archive-headers ] - [ \-b \fIbfdname\fR | --target=\fIbfdname\fR ] - [ \-C | --demangle[=\fIstyle\fR] ] - [ \-d | --disassemble ] - [ \-D | --disassemble-all ] - [ \-z | --disassemble-zeroes ] - [ \-EB | \-EL | --endian={big | little } ] - [ \-f | --file-headers ] - [ --file-start-context ] - [ \-g | --debugging ] - [ \-h | --section-headers | --headers ] - [ \-i | --info ] - [ \-j \fIsection\fR | --section=\fIsection\fR ] - [ \-l | --line-numbers ] - [ \-S | --source ] - [ \-m \fImachine\fR | --architecture=\fImachine\fR ] - [ \-M \fIoptions\fR | --disassembler-options=\fIoptions\fR] - [ \-p | --private-headers ] - [ \-r | --reloc ] - [ \-R | --dynamic-reloc ] - [ \-s | --full-contents ] - [ \-G | --stabs ] - [ \-t | --syms ] - [ \-T | --dynamic-syms ] - [ \-x | --all-headers ] - [ \-w | --wide ] - [ --start-address=\fIaddress\fR ] - [ --stop-address=\fIaddress\fR ] - [ --prefix-addresses] - [ --[no-]show-raw-insn ] - [ --adjust-vma=\fIoffset\fR ] - [ \-V | --version ] - [ \-H | --help ] +.IX Header "SYNOPSIS" +objdump [ \-a | \-\-archive-headers ] + [ \-b \fIbfdname\fR | \-\-target=\fIbfdname\fR ] + [ \-C | \-\-demangle[=\fIstyle\fR] ] + [ \-d | \-\-disassemble ] + [ \-D | \-\-disassemble-all ] + [ \-z | \-\-disassemble-zeroes ] + [ \-EB | \-EL | \-\-endian={big | little } ] + [ \-f | \-\-file-headers ] + [ \-\-file-start-context ] + [ \-g | \-\-debugging ] + [ \-h | \-\-section-headers | \-\-headers ] + [ \-i | \-\-info ] + [ \-j \fIsection\fR | \-\-section=\fIsection\fR ] + [ \-l | \-\-line-numbers ] + [ \-S | \-\-source ] + [ \-m \fImachine\fR | \-\-architecture=\fImachine\fR ] + [ \-M \fIoptions\fR | \-\-disassembler-options=\fIoptions\fR] + [ \-p | \-\-private-headers ] + [ \-r | \-\-reloc ] + [ \-R | \-\-dynamic-reloc ] + [ \-s | \-\-full-contents ] + [ \-G | \-\-stabs ] + [ \-t | \-\-syms ] + [ \-T | \-\-dynamic-syms ] + [ \-x | \-\-all-headers ] + [ \-w | \-\-wide ] + [ \-\-start-address=\fIaddress\fR ] + [ \-\-stop-address=\fIaddress\fR ] + [ \-\-prefix-addresses] + [ \-\-[no-]show-raw-insn ] + [ \-\-adjust-vma=\fIoffset\fR ] + [ \-V | \-\-version ] + [ \-H | \-\-help ] \fIobjfile\fR... .SH "DESCRIPTION" -\f(CWobjdump\fR displays information about one or more object files. +.IX Header "DESCRIPTION" +\&\f(CW\*(C`objdump\*(C'\fR displays information about one or more object files. The options control what particular information to display. This information is mostly useful to programmers who are working on the compilation tools, as opposed to programmers who just want their program to compile and work. .PP -\fIobjfile\fR... are the object files to be examined. When you -specify archives, \f(CWobjdump\fR shows information on each of the member +\&\fIobjfile\fR... are the object files to be examined. When you +specify archives, \f(CW\*(C`objdump\*(C'\fR shows information on each of the member object files. .SH "OPTIONS" +.IX Header "OPTIONS" The long and short forms of options, shown here as alternatives, are equivalent. At least one option from the list -\fB\-a,\-d,\-D,\-f,\-g,\-G,\-h,\-H,\-p,\-r,\-R,\-S,\-t,\-T,\-V,\-x\fR must be given. -.Ip "\f(CW-a\fR" 4 -.Ip "\f(CW--archive-header\fR" 4 +\&\fB\-a,\-d,\-D,\-f,\-g,\-G,\-h,\-H,\-p,\-r,\-R,\-S,\-t,\-T,\-V,\-x\fR must be given. +.Ip "\f(CW\*(C`\-a\*(C'\fR" 4 +.IX Item "-a" +.Ip "\f(CW\*(C`\-\-archive\-header\*(C'\fR" 4 +.IX Item "--archive-header" If any of the \fIobjfile\fR files are archives, display the archive header information (in a format similar to \fBls \-l\fR). Besides the information you could list with \fBar tv\fR, \fBobjdump \-a\fR shows the object file format of each archive member. -.Ip "\f(CW--adjust-vma=\fIoffset\fR\fR" 4 +.Ip "\f(CW\*(C`\-\-adjust\-vma=\f(CIoffset\f(CW\*(C'\fR" 4 +.IX Item "--adjust-vma=offset" When dumping information, first add \fIoffset\fR to all the section addresses. This is useful if the section addresses do not correspond to the symbol table, which can happen when putting sections at particular addresses when using a format which can not represent section addresses, such as a.out. -.Ip "\f(CW-b \fIbfdname\fR\fR" 4 -.Ip "\f(CW--target=\fIbfdname\fR\fR" 4 +.Ip "\f(CW\*(C`\-b \f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "-b bfdname" +.Ip "\f(CW\*(C`\-\-target=\f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "--target=bfdname" Specify that the object-code format for the object files is -\fIbfdname\fR. This option may not be necessary; \fIobjdump\fR can +\&\fIbfdname\fR. This option may not be necessary; \fIobjdump\fR can automatically recognize many formats. .Sp For example, - - objdump \-b oasys \-m vax \-h fu.o .Sp +.Vb 1 +\& objdump -b oasys -m vax -h fu.o +.Ve displays summary information from the section headers (\fB\-h\fR) of -\fIfu.o\fR, which is explicitly identified (\fB\-m\fR) as a \s-1VAX\s0 object +\&\fIfu.o\fR, which is explicitly identified (\fB\-m\fR) as a \s-1VAX\s0 object file in the format produced by Oasys compilers. You can list the formats available with the \fB\-i\fR option. -.Ip "\f(CW-C\fR" 4 -.Ip "\f(CW--demangle[=\fIstyle\fR]\fR" 4 +.Ip "\f(CW\*(C`\-C\*(C'\fR" 4 +.IX Item "-C" +.Ip "\f(CW\*(C`\-\-demangle[=\f(CIstyle\f(CW]\*(C'\fR" 4 +.IX Item "--demangle[=style]" Decode (\fIdemangle\fR) low-level symbol names into user-level names. Besides removing any initial underscore prepended by the system, this makes \*(C+ function names readable. Different compilers have different mangling styles. The optional demangling style argument can be used to choose an appropriate demangling style for your compiler. -.Ip "\f(CW-G\fR" 4 -.Ip "\f(CW--debugging\fR" 4 +.Ip "\f(CW\*(C`\-G\*(C'\fR" 4 +.IX Item "-G" +.Ip "\f(CW\*(C`\-\-debugging\*(C'\fR" 4 +.IX Item "--debugging" Display debugging information. This attempts to parse debugging information stored in the file and print it out using a C like syntax. Only certain types of debugging information have been implemented. -.Ip "\f(CW-d\fR" 4 -.Ip "\f(CW--disassemble\fR" 4 +.Ip "\f(CW\*(C`\-d\*(C'\fR" 4 +.IX Item "-d" +.Ip "\f(CW\*(C`\-\-disassemble\*(C'\fR" 4 +.IX Item "--disassemble" Display the assembler mnemonics for the machine instructions from -\fIobjfile\fR. This option only disassembles those sections which are +\&\fIobjfile\fR. This option only disassembles those sections which are expected to contain instructions. -.Ip "\f(CW-D\fR" 4 -.Ip "\f(CW--disassemble-all\fR" 4 +.Ip "\f(CW\*(C`\-D\*(C'\fR" 4 +.IX Item "-D" +.Ip "\f(CW\*(C`\-\-disassemble\-all\*(C'\fR" 4 +.IX Item "--disassemble-all" Like \fB\-d\fR, but disassemble the contents of all sections, not just those expected to contain instructions. -.Ip "\f(CW--prefix-addresses\fR" 4 +.Ip "\f(CW\*(C`\-\-prefix\-addresses\*(C'\fR" 4 +.IX Item "--prefix-addresses" When disassembling, print the complete address on each line. This is the older disassembly format. -.Ip "\f(CW--disassemble-zeroes\fR" 4 +.Ip "\f(CW\*(C`\-\-disassemble\-zeroes\*(C'\fR" 4 +.IX Item "--disassemble-zeroes" Normally the disassembly output will skip blocks of zeroes. This option directs the disassembler to disassemble those blocks, just like any other data. -.Ip "\f(CW-EB\fR" 4 -.Ip "\f(CW-EL\fR" 4 -.Ip "\f(CW--endian={big|little}\fR" 4 +.Ip "\f(CW\*(C`\-EB\*(C'\fR" 4 +.IX Item "-EB" +.Ip "\f(CW\*(C`\-EL\*(C'\fR" 4 +.IX Item "-EL" +.Ip "\f(CW\*(C`\-\-endian={big|little}\*(C'\fR" 4 +.IX Item "--endian={big|little}" Specify the endianness of the object files. This only affects disassembly. This can be useful when disassembling a file format which -does not describe endianness information, such as S\-records. -.Ip "\f(CW-f\fR" 4 -.Ip "\f(CW--file-header\fR" 4 +does not describe endianness information, such as S-records. +.Ip "\f(CW\*(C`\-f\*(C'\fR" 4 +.IX Item "-f" +.Ip "\f(CW\*(C`\-\-file\-header\*(C'\fR" 4 +.IX Item "--file-header" Display summary information from the overall header of each of the \fIobjfile\fR files. -.Ip "\f(CW--file-start-context\fR" 4 +.Ip "\f(CW\*(C`\-\-file\-start\-context\*(C'\fR" 4 +.IX Item "--file-start-context" Specify that when displaying interlisted source code/disassembly -(assumes \*(L'\-S') from a file that has not yet been displayed, extend the +(assumes '\-S') from a file that has not yet been displayed, extend the context to the start of the file. -.Ip "\f(CW-h\fR" 4 -.Ip "\f(CW--section-header\fR" 4 -.Ip "\f(CW--header\fR" 4 +.Ip "\f(CW\*(C`\-h\*(C'\fR" 4 +.IX Item "-h" +.Ip "\f(CW\*(C`\-\-section\-header\*(C'\fR" 4 +.IX Item "--section-header" +.Ip "\f(CW\*(C`\-\-header\*(C'\fR" 4 +.IX Item "--header" Display summary information from the section headers of the object file. .Sp File segments may be relocated to nonstandard addresses, for example by using the \fB\-Ttext\fR, \fB\-Tdata\fR, or \fB\-Tbss\fR options to -\f(CWld\fR. However, some object file formats, such as a.out, do not +\&\f(CW\*(C`ld\*(C'\fR. However, some object file formats, such as a.out, do not store the starting address of the file segments. In those situations, -although \f(CWld\fR relocates the sections correctly, using \fBobjdump -\-h\fR to list the file section headers cannot show the correct addresses. +although \f(CW\*(C`ld\*(C'\fR relocates the sections correctly, using \fBobjdump +\&\-h\fR to list the file section headers cannot show the correct addresses. Instead, it shows the usual addresses, which are implicit for the target. -.Ip "\f(CW--help\fR" 4 -Print a summary of the options to \f(CWobjdump\fR and exit. -.Ip "\f(CW-i\fR" 4 -.Ip "\f(CW--info\fR" 4 +.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4 +.IX Item "--help" +Print a summary of the options to \f(CW\*(C`objdump\*(C'\fR and exit. +.Ip "\f(CW\*(C`\-i\*(C'\fR" 4 +.IX Item "-i" +.Ip "\f(CW\*(C`\-\-info\*(C'\fR" 4 +.IX Item "--info" Display a list showing all architectures and object formats available for specification with \fB\-b\fR or \fB\-m\fR. -.Ip "\f(CW-j \fIname\fR\fR" 4 -.Ip "\f(CW--section=\fIname\fR\fR" 4 +.Ip "\f(CW\*(C`\-j \f(CIname\f(CW\*(C'\fR" 4 +.IX Item "-j name" +.Ip "\f(CW\*(C`\-\-section=\f(CIname\f(CW\*(C'\fR" 4 +.IX Item "--section=name" Display information only for section \fIname\fR. -.Ip "\f(CW-l\fR" 4 -.Ip "\f(CW--line-numbers\fR" 4 +.Ip "\f(CW\*(C`\-l\*(C'\fR" 4 +.IX Item "-l" +.Ip "\f(CW\*(C`\-\-line\-numbers\*(C'\fR" 4 +.IX Item "--line-numbers" Label the display (using debugging information) with the filename and source line numbers corresponding to the object code or relocs shown. Only useful with \fB\-d\fR, \fB\-D\fR, or \fB\-r\fR. -.Ip "\f(CW-m \fImachine\fR\fR" 4 -.Ip "\f(CW--architecture=\fImachine\fR\fR" 4 +.Ip "\f(CW\*(C`\-m \f(CImachine\f(CW\*(C'\fR" 4 +.IX Item "-m machine" +.Ip "\f(CW\*(C`\-\-architecture=\f(CImachine\f(CW\*(C'\fR" 4 +.IX Item "--architecture=machine" Specify the architecture to use when disassembling object files. This can be useful when disassembling object files which do not describe -architecture information, such as S\-records. You can list the available +architecture information, such as S-records. You can list the available architectures with the \fB\-i\fR option. -.Ip "\f(CW-M \fIoptions\fR\fR" 4 -.Ip "\f(CW--disassembler-options=\fIoptions\fR\fR" 4 +.Ip "\f(CW\*(C`\-M \f(CIoptions\f(CW\*(C'\fR" 4 +.IX Item "-M options" +.Ip "\f(CW\*(C`\-\-disassembler\-options=\f(CIoptions\f(CW\*(C'\fR" 4 +.IX Item "--disassembler-options=options" Pass target specific information to the disassembler. Only supported on some targets. .Sp If the target is an \s-1ARM\s0 architecture then this switch can be used to select which register name set is used during disassembler. Specifying -\fB\-M reg-name-std\fR (the default) will select the register names as +\&\fB\-M reg-name-std\fR (the default) will select the register names as used in \s-1ARM\s0's instruction set documentation, but with register 13 called -\&'sp\*(R', register 14 called \*(L'lr\*(R' and register 15 called \*(L'pc\*(R'. Specifying -\fB\-M reg-names-apcs\fR will select the name set used by the \s-1ARM\s0 +\&'sp', register 14 called 'lr' and register 15 called 'pc'. Specifying +\&\fB\-M reg-names-apcs\fR will select the name set used by the \s-1ARM\s0 Procedure Call Standard, whilst specifying \fB\-M reg-names-raw\fR will just use \fBr\fR followed by the register number. .Sp There are also two variants on the \s-1APCS\s0 register naming scheme enabled by \fB\-M reg-names-atpcs\fR and \fB\-M reg-names-special-atpcs\fR which -use the \s-1ARM/\s0Thumb Procedure Call Standard naming conventions. (Eiuther +use the ARM/Thumb Procedure Call Standard naming conventions. (Eiuther with the normal register name sor the special register names). .Sp This option can also be used for \s-1ARM\s0 architectures to force the disassembler to interpret all instructions as \s-1THUMB\s0 instructions by -using the switch \fB--disassembler-options=force-thumb\fR. This can be +using the switch \fB\*(--disassembler-options=force-thumb\fR. This can be useful when attempting to disassemble thumb code produced by other compilers. -.Ip "\f(CW-p\fR" 4 -.Ip "\f(CW--private-headers\fR" 4 +.Ip "\f(CW\*(C`\-p\*(C'\fR" 4 +.IX Item "-p" +.Ip "\f(CW\*(C`\-\-private\-headers\*(C'\fR" 4 +.IX Item "--private-headers" Print information that is specific to the object file format. The exact information printed depends upon the object file format. For some object file formats, no additional information is printed. -.Ip "\f(CW-r\fR" 4 -.Ip "\f(CW--reloc\fR" 4 +.Ip "\f(CW\*(C`\-r\*(C'\fR" 4 +.IX Item "-r" +.Ip "\f(CW\*(C`\-\-reloc\*(C'\fR" 4 +.IX Item "--reloc" Print the relocation entries of the file. If used with \fB\-d\fR or -\fB\-D\fR, the relocations are printed interspersed with the +\&\fB\-D\fR, the relocations are printed interspersed with the disassembly. -.Ip "\f(CW-R\fR" 4 -.Ip "\f(CW--dynamic-reloc\fR" 4 +.Ip "\f(CW\*(C`\-R\*(C'\fR" 4 +.IX Item "-R" +.Ip "\f(CW\*(C`\-\-dynamic\-reloc\*(C'\fR" 4 +.IX Item "--dynamic-reloc" Print the dynamic relocation entries of the file. This is only meaningful for dynamic objects, such as certain types of shared libraries. -.Ip "\f(CW-s\fR" 4 -.Ip "\f(CW--full-contents\fR" 4 +.Ip "\f(CW\*(C`\-s\*(C'\fR" 4 +.IX Item "-s" +.Ip "\f(CW\*(C`\-\-full\-contents\*(C'\fR" 4 +.IX Item "--full-contents" Display the full contents of any sections requested. -.Ip "\f(CW-S\fR" 4 -.Ip "\f(CW--source\fR" 4 +.Ip "\f(CW\*(C`\-S\*(C'\fR" 4 +.IX Item "-S" +.Ip "\f(CW\*(C`\-\-source\*(C'\fR" 4 +.IX Item "--source" Display source code intermixed with disassembly, if possible. Implies -\fB\-d\fR. -.Ip "\f(CW--show-raw-insn\fR" 4 +\&\fB\-d\fR. +.Ip "\f(CW\*(C`\-\-show\-raw\-insn\*(C'\fR" 4 +.IX Item "--show-raw-insn" When disassembling instructions, print the instruction in hex as well as in symbolic form. This is the default except when -\f(CW--prefix-addresses\fR is used. -.Ip "\f(CW--no-show-raw-insn\fR" 4 +\&\f(CW\*(C`\-\-prefix\-addresses\*(C'\fR is used. +.Ip "\f(CW\*(C`\-\-no\-show\-raw\-insn\*(C'\fR" 4 +.IX Item "--no-show-raw-insn" When disassembling instructions, do not print the instruction bytes. -This is the default when \f(CW--prefix-addresses\fR is used. -.Ip "\f(CW-G\fR" 4 -.Ip "\f(CW--stabs\fR" 4 +This is the default when \f(CW\*(C`\-\-prefix\-addresses\*(C'\fR is used. +.Ip "\f(CW\*(C`\-G\*(C'\fR" 4 +.IX Item "-G" +.Ip "\f(CW\*(C`\-\-stabs\*(C'\fR" 4 +.IX Item "--stabs" Display the full contents of any sections requested. Display the contents of the .stab and .stab.index and .stab.excl sections from an -\s-1ELF\s0 file. This is only useful on systems (such as Solaris 2.0) in which -\&\f(CW.stab\fR debugging symbol-table entries are carried in an \s-1ELF\s0 +\&\s-1ELF\s0 file. This is only useful on systems (such as Solaris 2.0) in which +\&\f(CW\*(C`.stab\*(C'\fR debugging symbol-table entries are carried in an \s-1ELF\s0 section. In most other file formats, debugging symbol-table entries are -interleaved with linkage symbols, and are visible in the \fB--syms\fR +interleaved with linkage symbols, and are visible in the \fB\*(--syms\fR output. -.Ip "\f(CW--start-address=\fIaddress\fR\fR" 4 +.Ip "\f(CW\*(C`\-\-start\-address=\f(CIaddress\f(CW\*(C'\fR" 4 +.IX Item "--start-address=address" Start displaying data at the specified address. This affects the output -of the \f(CW-d\fR, \f(CW-r\fR and \f(CW-s\fR options. -.Ip "\f(CW--stop-address=\fIaddress\fR\fR" 4 +of the \f(CW\*(C`\-d\*(C'\fR, \f(CW\*(C`\-r\*(C'\fR and \f(CW\*(C`\-s\*(C'\fR options. +.Ip "\f(CW\*(C`\-\-stop\-address=\f(CIaddress\f(CW\*(C'\fR" 4 +.IX Item "--stop-address=address" Stop displaying data at the specified address. This affects the output -of the \f(CW-d\fR, \f(CW-r\fR and \f(CW-s\fR options. -.Ip "\f(CW-t\fR" 4 -.Ip "\f(CW--syms\fR" 4 +of the \f(CW\*(C`\-d\*(C'\fR, \f(CW\*(C`\-r\*(C'\fR and \f(CW\*(C`\-s\*(C'\fR options. +.Ip "\f(CW\*(C`\-t\*(C'\fR" 4 +.IX Item "-t" +.Ip "\f(CW\*(C`\-\-syms\*(C'\fR" 4 +.IX Item "--syms" Print the symbol table entries of the file. This is similar to the information provided by the \fBnm\fR program. -.Ip "\f(CW-T\fR" 4 -.Ip "\f(CW--dynamic-syms\fR" 4 +.Ip "\f(CW\*(C`\-T\*(C'\fR" 4 +.IX Item "-T" +.Ip "\f(CW\*(C`\-\-dynamic\-syms\*(C'\fR" 4 +.IX Item "--dynamic-syms" Print the dynamic symbol table entries of the file. This is only meaningful for dynamic objects, such as certain types of shared libraries. This is similar to the information provided by the \fBnm\fR -program when given the \fB\-D\fR (\fB--dynamic\fR) option. -.Ip "\f(CW--version\fR" 4 -Print the version number of \f(CWobjdump\fR and exit. -.Ip "\f(CW-x\fR" 4 -.Ip "\f(CW--all-header\fR" 4 +program when given the \fB\-D\fR (\fB\*(--dynamic\fR) option. +.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4 +.IX Item "--version" +Print the version number of \f(CW\*(C`objdump\*(C'\fR and exit. +.Ip "\f(CW\*(C`\-x\*(C'\fR" 4 +.IX Item "-x" +.Ip "\f(CW\*(C`\-\-all\-header\*(C'\fR" 4 +.IX Item "--all-header" Display all available header information, including the symbol table and relocation entries. Using \fB\-x\fR is equivalent to specifying all of -\fB\-a \-f \-h \-r \-t\fR. -.Ip "\f(CW-w\fR" 4 -.Ip "\f(CW--wide\fR" 4 +\&\fB\-a \-f \-h \-r \-t\fR. +.Ip "\f(CW\*(C`\-w\*(C'\fR" 4 +.IX Item "-w" +.Ip "\f(CW\*(C`\-\-wide\*(C'\fR" 4 +.IX Item "--wide" Format some lines for output devices that have more than 80 columns. .SH "SEE ALSO" -\fInm\fR\|(1), \fIreadelf\fR\|(1), and the Info entries for \fIbinutils\fR. +.IX Header "SEE ALSO" +\&\fInm\fR\|(1), \fIreadelf\fR\|(1), and the Info entries for \fIbinutils\fR. .SH "COPYRIGHT" +.IX Header "COPYRIGHT" Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. .PP Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.1 +under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the -section entitled \*(L"GNU Free Documentation License\*(R". - -.rn }` '' -.IX Title "OBJDUMP.1 1" -.IX Name "objdump - display information from object files." - -.IX Header "NAME" - -.IX Header "SYNOPSIS" - -.IX Header "DESCRIPTION" - -.IX Header "OPTIONS" - -.IX Item "\f(CW-a\fR" - -.IX Item "\f(CW--archive-header\fR" - -.IX Item "\f(CW--adjust-vma=\fIoffset\fR\fR" - -.IX Item "\f(CW-b \fIbfdname\fR\fR" - -.IX Item "\f(CW--target=\fIbfdname\fR\fR" - -.IX Item "\f(CW-C\fR" - -.IX Item "\f(CW--demangle[=\fIstyle\fR]\fR" - -.IX Item "\f(CW-G\fR" - -.IX Item "\f(CW--debugging\fR" - -.IX Item "\f(CW-d\fR" - -.IX Item "\f(CW--disassemble\fR" - -.IX Item "\f(CW-D\fR" - -.IX Item "\f(CW--disassemble-all\fR" - -.IX Item "\f(CW--prefix-addresses\fR" - -.IX Item "\f(CW--disassemble-zeroes\fR" - -.IX Item "\f(CW-EB\fR" - -.IX Item "\f(CW-EL\fR" - -.IX Item "\f(CW--endian={big|little}\fR" - -.IX Item "\f(CW-f\fR" - -.IX Item "\f(CW--file-header\fR" - -.IX Item "\f(CW--file-start-context\fR" - -.IX Item "\f(CW-h\fR" - -.IX Item "\f(CW--section-header\fR" - -.IX Item "\f(CW--header\fR" - -.IX Item "\f(CW--help\fR" - -.IX Item "\f(CW-i\fR" - -.IX Item "\f(CW--info\fR" - -.IX Item "\f(CW-j \fIname\fR\fR" - -.IX Item "\f(CW--section=\fIname\fR\fR" - -.IX Item "\f(CW-l\fR" - -.IX Item "\f(CW--line-numbers\fR" - -.IX Item "\f(CW-m \fImachine\fR\fR" - -.IX Item "\f(CW--architecture=\fImachine\fR\fR" - -.IX Item "\f(CW-M \fIoptions\fR\fR" - -.IX Item "\f(CW--disassembler-options=\fIoptions\fR\fR" - -.IX Item "\f(CW-p\fR" - -.IX Item "\f(CW--private-headers\fR" - -.IX Item "\f(CW-r\fR" - -.IX Item "\f(CW--reloc\fR" - -.IX Item "\f(CW-R\fR" - -.IX Item "\f(CW--dynamic-reloc\fR" - -.IX Item "\f(CW-s\fR" - -.IX Item "\f(CW--full-contents\fR" - -.IX Item "\f(CW-S\fR" - -.IX Item "\f(CW--source\fR" - -.IX Item "\f(CW--show-raw-insn\fR" - -.IX Item "\f(CW--no-show-raw-insn\fR" - -.IX Item "\f(CW-G\fR" - -.IX Item "\f(CW--stabs\fR" - -.IX Item "\f(CW--start-address=\fIaddress\fR\fR" - -.IX Item "\f(CW--stop-address=\fIaddress\fR\fR" - -.IX Item "\f(CW-t\fR" - -.IX Item "\f(CW--syms\fR" - -.IX Item "\f(CW-T\fR" - -.IX Item "\f(CW--dynamic-syms\fR" - -.IX Item "\f(CW--version\fR" - -.IX Item "\f(CW-x\fR" - -.IX Item "\f(CW--all-header\fR" - -.IX Item "\f(CW-w\fR" - -.IX Item "\f(CW--wide\fR" - -.IX Header "SEE ALSO" - -.IX Header "COPYRIGHT" - +section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R". diff --git a/binutils/po/binutils.pot b/binutils/po/binutils.pot index 1725576..9acd344 100644 --- a/binutils/po/binutils.pot +++ b/binutils/po/binutils.pot @@ -1,13 +1,12 @@ # SOME DESCRIPTIVE TITLE. -# Copyright 1998, 2000, 2001 Free Software Foundation, Inc. -# (C) YEAR +# Copyright (C) YEAR Free Software Foundation, Inc. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2001-02-28 15:31-0800\n" +"POT-Creation-Date: 2001-05-30 12:04+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -23,8 +22,8 @@ msgid "" " [--basenames] [--functions] [addr addr ...]\n" msgstr "" -#: addr2line.c:83 ar.c:288 nlmconv.c:1119 objcopy.c:373 objcopy.c:405 -#: readelf.c:2009 size.c:91 strings.c:530 windres.c:737 +#: addr2line.c:83 ar.c:288 nlmconv.c:1119 objcopy.c:399 objcopy.c:431 +#: readelf.c:2017 size.c:91 strings.c:533 windres.c:737 #, c-format msgid "Report bugs to %s\n" msgstr "" @@ -34,7 +33,7 @@ msgstr "" msgid "%s: can not get addresses from archive" msgstr "" -#: addr2line.c:310 nm.c:436 objdump.c:2857 +#: addr2line.c:310 nm.c:437 objdump.c:2861 #, c-format msgid "unknown demangling style `%s'" msgstr "" @@ -186,7 +185,7 @@ msgstr "" msgid "internal error -- this option not implemented" msgstr "" -#: ar.c:824 ar.c:876 ar.c:1322 objcopy.c:1131 +#: ar.c:824 ar.c:876 ar.c:1322 objcopy.c:1266 #, c-format msgid "internal stat error on %s" msgstr "" @@ -323,12 +322,12 @@ msgstr "" msgid "%s: Print a human readable interpretation of a SYSROFF object file\n" msgstr "" -#: coffdump.c:498 srconv.c:1941 sysdump.c:755 +#: coffdump.c:498 srconv.c:1942 sysdump.c:755 #, c-format msgid "GNU %s version %s\n" msgstr "" -#: coffdump.c:516 srconv.c:1975 sysdump.c:775 +#: coffdump.c:516 srconv.c:1976 sysdump.c:775 msgid "no input file specified" msgstr "" @@ -429,325 +428,325 @@ msgstr "" msgid "debug_write_type: illegal type encountered" msgstr "" -#: dlltool.c:737 dlltool.c:762 dlltool.c:788 +#: dlltool.c:743 dlltool.c:768 dlltool.c:794 #, c-format msgid "Internal error: Unknown machine type: %d" msgstr "" -#: dlltool.c:825 +#: dlltool.c:831 #, c-format msgid "Can't open def file: %s" msgstr "" -#: dlltool.c:830 +#: dlltool.c:836 #, c-format msgid "Processing def file: %s" msgstr "" -#: dlltool.c:834 +#: dlltool.c:840 msgid "Processed def file" msgstr "" -#: dlltool.c:859 +#: dlltool.c:866 #, c-format msgid "Syntax error in def file %s:%d" msgstr "" -#: dlltool.c:892 +#: dlltool.c:905 #, c-format msgid "NAME: %s base: %x" msgstr "" -#: dlltool.c:895 dlltool.c:914 +#: dlltool.c:908 dlltool.c:927 msgid "Can't have LIBRARY and NAME" msgstr "" -#: dlltool.c:911 +#: dlltool.c:924 #, c-format msgid "LIBRARY: %s base: %x" msgstr "" -#: dlltool.c:1169 resrc.c:271 +#: dlltool.c:1182 resrc.c:271 #, c-format msgid "wait: %s" msgstr "" -#: dlltool.c:1174 dllwrap.c:456 resrc.c:276 +#: dlltool.c:1187 dllwrap.c:456 resrc.c:276 #, c-format msgid "subprocess got fatal signal %d" msgstr "" -#: dlltool.c:1180 dllwrap.c:463 resrc.c:283 +#: dlltool.c:1193 dllwrap.c:463 resrc.c:283 #, c-format msgid "%s exited with status %d" msgstr "" -#: dlltool.c:1212 +#: dlltool.c:1225 #, c-format msgid "Sucking in info from %s section in %s" msgstr "" -#: dlltool.c:1336 +#: dlltool.c:1349 #, c-format msgid "Excluding symbol: %s" msgstr "" -#: dlltool.c:1431 dlltool.c:1442 nm.c:946 nm.c:957 objdump.c:443 objdump.c:460 +#: dlltool.c:1444 dlltool.c:1455 nm.c:947 nm.c:958 objdump.c:444 objdump.c:461 #, c-format msgid "%s: no symbols" msgstr "" #. FIXME: we ought to read in and block out the base relocations -#: dlltool.c:1469 +#: dlltool.c:1482 #, c-format msgid "Done reading %s" msgstr "" -#: dlltool.c:1480 +#: dlltool.c:1493 #, c-format msgid "Unable to open object file: %s" msgstr "" -#: dlltool.c:1483 +#: dlltool.c:1496 #, c-format msgid "Scanning object file %s" msgstr "" -#: dlltool.c:1498 +#: dlltool.c:1511 #, c-format msgid "Cannot produce mcore-elf dll from archive file: %s" msgstr "" -#: dlltool.c:1590 +#: dlltool.c:1603 msgid "Adding exports to output file" msgstr "" -#: dlltool.c:1635 +#: dlltool.c:1648 msgid "Added exports to output file" msgstr "" -#: dlltool.c:1759 +#: dlltool.c:1772 #, c-format msgid "Generating export file: %s" msgstr "" -#: dlltool.c:1764 +#: dlltool.c:1777 #, c-format msgid "Unable to open temporary assembler file: %s" msgstr "" -#: dlltool.c:1767 +#: dlltool.c:1780 #, c-format msgid "Opened temporary file: %s" msgstr "" -#: dlltool.c:1981 +#: dlltool.c:2004 msgid "Generated exports file" msgstr "" -#: dlltool.c:2236 +#: dlltool.c:2266 #, c-format msgid "bfd_open failed open stub file: %s" msgstr "" -#: dlltool.c:2239 +#: dlltool.c:2269 #, c-format msgid "Creating stub file: %s" msgstr "" -#: dlltool.c:2626 +#: dlltool.c:2658 #, c-format msgid "failed to open temporary head file: %s" msgstr "" -#: dlltool.c:2685 +#: dlltool.c:2717 #, c-format msgid "failed to open temporary tail file: %s" msgstr "" -#: dlltool.c:2753 +#: dlltool.c:2785 #, c-format msgid "Can't open .lib file: %s" msgstr "" -#: dlltool.c:2756 +#: dlltool.c:2788 #, c-format msgid "Creating library file: %s" msgstr "" -#: dlltool.c:2815 +#: dlltool.c:2847 #, c-format msgid "cannot delete %s: %s" msgstr "" -#: dlltool.c:2819 +#: dlltool.c:2851 msgid "Created lib file" msgstr "" -#: dlltool.c:2924 +#: dlltool.c:2956 #, c-format msgid "Warning, ignoring duplicate EXPORT %s %d,%d" msgstr "" -#: dlltool.c:2930 +#: dlltool.c:2962 #, c-format msgid "Error, duplicate EXPORT with oridinals: %s" msgstr "" -#: dlltool.c:3057 +#: dlltool.c:3089 msgid "Processing definitions" msgstr "" -#: dlltool.c:3095 +#: dlltool.c:3127 msgid "Processed definitions" msgstr "" #. xgetext:c-format -#: dlltool.c:3106 dllwrap.c:520 +#: dlltool.c:3138 dllwrap.c:520 #, c-format msgid "Usage %s \n" msgstr "" #. xgetext:c-format -#: dlltool.c:3108 +#: dlltool.c:3140 #, c-format msgid "" " -m --machine Create as DLL for . [default: %s]\n" msgstr "" -#: dlltool.c:3109 +#: dlltool.c:3141 msgid "" " possible : arm[_interwork], i386, mcore[-elf]{-le|-be}, " "ppc, thumb\n" msgstr "" -#: dlltool.c:3110 +#: dlltool.c:3142 msgid " -e --output-exp Generate an export file.\n" msgstr "" -#: dlltool.c:3111 +#: dlltool.c:3143 msgid " -l --output-lib Generate an interface library.\n" msgstr "" -#: dlltool.c:3112 +#: dlltool.c:3144 msgid " -a --add-indirect Add dll indirects to export file.\n" msgstr "" -#: dlltool.c:3113 +#: dlltool.c:3145 msgid "" " -D --dllname Name of input dll to put into interface lib.\n" msgstr "" -#: dlltool.c:3114 +#: dlltool.c:3146 msgid " -d --input-def Name of .def file to be read in.\n" msgstr "" -#: dlltool.c:3115 +#: dlltool.c:3147 msgid " -z --output-def Name of .def file to be created.\n" msgstr "" -#: dlltool.c:3116 +#: dlltool.c:3148 msgid " --export-all-symbols Export all symbols to .def\n" msgstr "" -#: dlltool.c:3117 +#: dlltool.c:3149 msgid " --no-export-all-symbols Only export listed symbols\n" msgstr "" -#: dlltool.c:3118 +#: dlltool.c:3150 msgid " --exclude-symbols Don't export \n" msgstr "" -#: dlltool.c:3119 +#: dlltool.c:3151 msgid " --no-default-excludes Clear default exclude symbols\n" msgstr "" -#: dlltool.c:3120 +#: dlltool.c:3152 msgid " -b --base-file Read linker generated base file.\n" msgstr "" -#: dlltool.c:3121 +#: dlltool.c:3153 msgid " -x --no-idata4 Don't generate idata$4 section.\n" msgstr "" -#: dlltool.c:3122 +#: dlltool.c:3154 msgid " -c --no-idata5 Don't generate idata$5 section.\n" msgstr "" -#: dlltool.c:3123 +#: dlltool.c:3155 msgid "" " -U --add-underscore Add underscores to symbols in interface " "library.\n" msgstr "" -#: dlltool.c:3124 +#: dlltool.c:3156 msgid " -k --kill-at Kill @ from exported names.\n" msgstr "" -#: dlltool.c:3125 +#: dlltool.c:3157 msgid " -A --add-stdcall-alias Add aliases without @.\n" msgstr "" -#: dlltool.c:3126 +#: dlltool.c:3158 msgid " -S --as Use for assembler.\n" msgstr "" -#: dlltool.c:3127 +#: dlltool.c:3159 msgid " -f --as-flags Pass to the assembler.\n" msgstr "" -#: dlltool.c:3128 +#: dlltool.c:3160 msgid "" " -C --compat-implib Create backward compatible import library.\n" msgstr "" -#: dlltool.c:3129 +#: dlltool.c:3161 msgid "" " -n --no-delete Keep temp files (repeat for extra " "preservation).\n" msgstr "" -#: dlltool.c:3130 +#: dlltool.c:3162 msgid " -v --verbose Be verbose.\n" msgstr "" -#: dlltool.c:3131 +#: dlltool.c:3163 msgid " -V --version Display the program version.\n" msgstr "" -#: dlltool.c:3132 +#: dlltool.c:3164 msgid " -h --help Display this information.\n" msgstr "" -#: dlltool.c:3134 +#: dlltool.c:3166 msgid "" " -M --mcore-elf Process mcore-elf object files into .\n" msgstr "" -#: dlltool.c:3135 +#: dlltool.c:3167 msgid " -L --linker Use as the linker.\n" msgstr "" -#: dlltool.c:3136 +#: dlltool.c:3168 msgid " -F --linker-flags Pass to the linker.\n" msgstr "" -#: dlltool.c:3280 +#: dlltool.c:3312 #, c-format msgid "Unable to open base-file: %s" msgstr "" -#: dlltool.c:3309 +#: dlltool.c:3341 #, c-format msgid "Machine '%s' not supported" msgstr "" -#: dlltool.c:3412 dllwrap.c:241 +#: dlltool.c:3444 dllwrap.c:241 #, c-format msgid "Tried file: %s" msgstr "" -#: dlltool.c:3419 dllwrap.c:248 +#: dlltool.c:3451 dllwrap.c:248 #, c-format msgid "Using file: %s" msgstr "" @@ -1190,7 +1189,7 @@ msgstr "" msgid "IEEE unsupported complex type size %u\n" msgstr "" -#: nlmconv.c:275 srconv.c:1966 +#: nlmconv.c:275 srconv.c:1967 msgid "input and output files must be different" msgstr "" @@ -1369,16 +1368,16 @@ msgstr "" msgid "Execution of %s failed" msgstr "" -#: nm.c:294 +#: nm.c:295 #, c-format msgid "Usage: %s [OPTION]... [FILE]...\n" msgstr "" -#: nm.c:295 +#: nm.c:296 msgid "List symbols from FILEs (a.out by default).\n" msgstr "" -#: nm.c:296 +#: nm.c:297 msgid "" "\n" " -a, --debug-syms Display debugger-only symbols\n" @@ -1416,31 +1415,31 @@ msgid "" "\n" msgstr "" -#: nm.c:328 objdump.c:274 +#: nm.c:329 objdump.c:275 #, c-format msgid "Report bugs to %s.\n" msgstr "" -#: nm.c:361 +#: nm.c:362 #, c-format msgid "%s: invalid radix" msgstr "" -#: nm.c:386 +#: nm.c:387 #, c-format msgid "%s: invalid output format" msgstr "" -#: nm.c:493 +#: nm.c:494 msgid "Only -X 32_64 is supported" msgstr "" -#: nm.c:535 +#: nm.c:536 #, c-format msgid "data size %ld" msgstr "" -#: nm.c:1325 +#: nm.c:1326 #, c-format msgid "" "\n" @@ -1449,7 +1448,7 @@ msgid "" "\n" msgstr "" -#: nm.c:1327 +#: nm.c:1328 #, c-format msgid "" "\n" @@ -1458,14 +1457,14 @@ msgid "" "\n" msgstr "" -#: nm.c:1328 nm.c:1382 +#: nm.c:1329 nm.c:1383 msgid "" "Name Value Class Type Size Line " "Section\n" "\n" msgstr "" -#: nm.c:1379 +#: nm.c:1380 #, c-format msgid "" "\n" @@ -1474,7 +1473,7 @@ msgid "" "\n" msgstr "" -#: nm.c:1381 +#: nm.c:1382 #, c-format msgid "" "\n" @@ -1489,20 +1488,22 @@ msgid "" "Archive index:\n" msgstr "" -#: objcopy.c:322 +#: objcopy.c:341 #, c-format msgid "Usage: %s in-file [out-file]\n" msgstr "" -#: objcopy.c:323 objcopy.c:383 +#: objcopy.c:342 objcopy.c:409 msgid " The switches are:\n" msgstr "" -#: objcopy.c:324 +#: objcopy.c:343 msgid "" " -I --input-target Assume input file is in format \n" " -O --output-target Create an output file in format " "\n" +" -B --binary-architecture Set arch of output file, when input is " +"binary\n" " -F --target Set both input and output format to " "\n" " --debugging Convert debugging information, if " @@ -1520,6 +1521,7 @@ msgid "" " -K --keep-symbol Only copy symbol \n" " -L --localize-symbol Force symbol to be marked as a " "local\n" +" -G --keep-global-symbol Localize all symbols except \n" " -W --weaken-symbol Force symbol to be marked as a " "weak\n" " --weaken Force all global symbols to be marked as " @@ -1564,17 +1566,22 @@ msgid "" "Srecords\n" " --srec-forceS3 Restrict the type of generated Srecords " "to S3\n" +" --strip-symbols -N for all symbols listed in \n" +" --keep-symbols -K for all symbols listed in \n" +" --localize-symbols -L for all symbols listed in \n" +" --keep-global-symbols -G for all symbols listed in \n" +" --weaken-symbols -W for all symbols listed in \n" " -v --verbose List all object files modified\n" " -V --version Display this program's version number\n" " -h --help Display this output\n" msgstr "" -#: objcopy.c:382 +#: objcopy.c:408 #, c-format msgid "Usage: %s in-file(s)\n" msgstr "" -#: objcopy.c:384 +#: objcopy.c:410 msgid "" " -I --input-target Assume input file is in format \n" " -O --output-target Create an output file in format " @@ -1599,182 +1606,197 @@ msgid "" " -o Place stripped output into \n" msgstr "" -#: objcopy.c:454 +#: objcopy.c:480 #, c-format msgid "unrecognized section flag `%s'" msgstr "" -#: objcopy.c:455 +#: objcopy.c:481 #, c-format msgid "supported flags: %s" msgstr "" -#: objcopy.c:712 +#: objcopy.c:556 objcopy.c:2082 +#, c-format +msgid "cannot stat: %s: %s" +msgstr "" + +#: objcopy.c:563 objcopy.c:2100 +#, c-format +msgid "cannot open: %s: %s" +msgstr "" + +#: objcopy.c:566 objcopy.c:2104 +#, c-format +msgid "%s: fread failed" +msgstr "" + +#: objcopy.c:846 #, c-format msgid "%s: Multiple redefinition of symbol \"%s\"" msgstr "" -#: objcopy.c:719 +#: objcopy.c:853 #, c-format msgid "%s: Symbol \"%s\" is target of more than one redefinition" msgstr "" -#: objcopy.c:772 +#: objcopy.c:906 msgid "Unable to change endianness of input file(s)" msgstr "" -#: objcopy.c:780 +#: objcopy.c:914 #, c-format msgid "copy from %s(%s) to %s(%s)\n" msgstr "" -#: objcopy.c:799 +#: objcopy.c:933 #, c-format msgid "Warning: Output file cannot represent architecture %s" msgstr "" -#: objcopy.c:826 +#: objcopy.c:960 #, c-format msgid "can't create section `%s': %s" msgstr "" -#: objcopy.c:912 +#: objcopy.c:1046 #, c-format msgid "Can't fill gap after %s: %s" msgstr "" -#: objcopy.c:937 +#: objcopy.c:1071 #, c-format msgid "Can't add padding to %s: %s" msgstr "" -#: objcopy.c:1075 +#: objcopy.c:1210 #, c-format msgid "%s: error copying private BFD data: %s" msgstr "" -#: objcopy.c:1109 +#: objcopy.c:1244 #, c-format msgid "cannot mkdir %s for archive copying (error: %s)" msgstr "" -#: objcopy.c:1298 +#: objcopy.c:1433 msgid "making" msgstr "" -#: objcopy.c:1307 +#: objcopy.c:1442 msgid "size" msgstr "" -#: objcopy.c:1321 +#: objcopy.c:1456 msgid "vma" msgstr "" -#: objcopy.c:1347 +#: objcopy.c:1482 msgid "alignment" msgstr "" -#: objcopy.c:1356 +#: objcopy.c:1491 msgid "flags" msgstr "" -#: objcopy.c:1370 +#: objcopy.c:1505 msgid "private data" msgstr "" -#: objcopy.c:1378 +#: objcopy.c:1513 #, c-format msgid "%s: section `%s': error in %s: %s" msgstr "" -#: objcopy.c:1652 +#: objcopy.c:1787 #, c-format msgid "%s: can't create debugging section: %s" msgstr "" -#: objcopy.c:1667 +#: objcopy.c:1802 #, c-format msgid "%s: can't set debugging section contents: %s" msgstr "" -#: objcopy.c:1676 +#: objcopy.c:1811 #, c-format msgid "%s: don't know how to write debugging information for %s" msgstr "" -#: objcopy.c:1782 +#: objcopy.c:1917 #, c-format msgid "%s: cannot stat: %s" msgstr "" -#: objcopy.c:1832 +#: objcopy.c:1968 msgid "byte number must be non-negative" msgstr "" -#: objcopy.c:1838 +#: objcopy.c:1978 msgid "interleave must be positive" msgstr "" -#: objcopy.c:1858 objcopy.c:1866 +#: objcopy.c:1998 objcopy.c:2006 #, c-format msgid "%s both copied and removed" msgstr "" -#: objcopy.c:1935 objcopy.c:2005 objcopy.c:2106 objcopy.c:2134 +#: objcopy.c:2079 objcopy.c:2149 objcopy.c:2250 objcopy.c:2278 #, c-format msgid "bad format for %s" msgstr "" -#: objcopy.c:1938 +#: objcopy.c:2218 #, c-format -msgid "cannot stat: %s: %s" +msgid "Warning: truncating gap-fill from 0x%s to 0x%x" msgstr "" -#: objcopy.c:1956 -#, c-format -msgid "cannot open: %s: %s" +#: objcopy.c:2340 +msgid "byte number must be less than interleave" msgstr "" -#: objcopy.c:1960 +#: objcopy.c:2367 #, c-format -msgid "%s: fread failed" +msgid "architecture %s unknown" msgstr "" -#: objcopy.c:2074 -#, c-format -msgid "Warning: truncating gap-fill from 0x%s to 0x%x" +#: objcopy.c:2371 +msgid "" +"Warning: input target 'binary' required for binary architecture parameter." msgstr "" -#: objcopy.c:2176 -msgid "byte number must be less than interleave" +#: objcopy.c:2372 +#, c-format +msgid " Argument %s ignored" msgstr "" -#: objcopy.c:2195 +#: objcopy.c:2378 #, c-format msgid "Cannot stat: %s: %s" msgstr "" -#: objcopy.c:2235 objcopy.c:2249 +#: objcopy.c:2417 objcopy.c:2431 #, c-format msgid "%s %s%c0x%s never used" msgstr "" -#: objdump.c:223 +#: objdump.c:224 #, c-format msgid "Usage: %s OPTION... FILE...\n" msgstr "" -#: objdump.c:224 +#: objdump.c:225 msgid "Display information from object FILE.\n" msgstr "" -#: objdump.c:225 +#: objdump.c:226 msgid "" "\n" " At least one of the following switches must be given:\n" msgstr "" -#: objdump.c:226 +#: objdump.c:227 msgid "" " -a, --archive-headers Display archive header information\n" " -f, --file-headers Display the contents of the overall file header\n" @@ -1800,13 +1822,13 @@ msgid "" " -H, --help Display this information\n" msgstr "" -#: objdump.c:248 +#: objdump.c:249 msgid "" "\n" " The following switches are optional:\n" msgstr "" -#: objdump.c:249 +#: objdump.c:250 msgid "" " -b, --target=BFDNAME Specify the target object format as " "BFDNAME\n" @@ -1839,130 +1861,130 @@ msgid "" "\n" msgstr "" -#: objdump.c:419 +#: objdump.c:420 msgid "Sections:\n" msgstr "" -#: objdump.c:422 +#: objdump.c:423 msgid "Idx Name Size VMA LMA File off Algn" msgstr "" -#: objdump.c:424 +#: objdump.c:425 msgid "" "Idx Name Size VMA LMA File off " "Algn" msgstr "" -#: objdump.c:428 +#: objdump.c:429 msgid " Flags" msgstr "" -#: objdump.c:478 +#: objdump.c:479 #, c-format msgid "%s: not a dynamic object" msgstr "" -#: objdump.c:494 +#: objdump.c:495 #, c-format msgid "%s: No dynamic symbols" msgstr "" -#: objdump.c:1197 +#: objdump.c:1198 msgid "Out of virtual memory" msgstr "" -#: objdump.c:1616 +#: objdump.c:1620 #, c-format msgid "Can't use supplied machine %s" msgstr "" -#: objdump.c:1634 +#: objdump.c:1638 #, c-format msgid "Can't disassemble for architecture %s\n" msgstr "" -#: objdump.c:1716 +#: objdump.c:1720 #, c-format msgid "Disassembly of section %s:\n" msgstr "" -#: objdump.c:1890 +#: objdump.c:1894 #, c-format msgid "" "No %s section present\n" "\n" msgstr "" -#: objdump.c:1897 +#: objdump.c:1901 #, c-format msgid "%s has no %s section" msgstr "" -#: objdump.c:1911 +#: objdump.c:1915 #, c-format msgid "Reading %s section of %s failed: %s" msgstr "" -#: objdump.c:1923 +#: objdump.c:1927 #, c-format msgid "Reading %s section of %s failed: %s\n" msgstr "" -#: objdump.c:1966 +#: objdump.c:1970 #, c-format msgid "" "Contents of %s section:\n" "\n" msgstr "" -#: objdump.c:2066 +#: objdump.c:2070 #, c-format msgid "architecture: %s, " msgstr "" -#: objdump.c:2069 +#: objdump.c:2073 #, c-format msgid "flags 0x%08x:\n" msgstr "" -#: objdump.c:2082 +#: objdump.c:2086 msgid "" "\n" "start address 0x" msgstr "" -#: objdump.c:2114 +#: objdump.c:2118 #, c-format msgid "" "\n" "%s: file format %s\n" msgstr "" -#: objdump.c:2156 +#: objdump.c:2160 #, c-format msgid "%s: printing debugging information failed" msgstr "" -#: objdump.c:2233 +#: objdump.c:2237 #, c-format msgid "In archive %s:\n" msgstr "" -#: objdump.c:2285 +#: objdump.c:2289 #, c-format msgid "Contents of section %s:\n" msgstr "" -#: objdump.c:2798 +#: objdump.c:2802 #, c-format msgid "BFD header file version %s\n" msgstr "" -#: objdump.c:2882 +#: objdump.c:2886 msgid "unrecognized -E option" msgstr "" -#: objdump.c:2893 +#: objdump.c:2897 #, c-format msgid "unrecognized --endian type `%s'" msgstr "" @@ -2001,1010 +2023,991 @@ msgstr "" msgid "Last stabs entries before error:\n" msgstr "" -#: readelf.c:271 -#, c-format -msgid "Unable to seek to start of %s at %x\n" -msgstr "" - -#: readelf.c:279 -#, c-format -msgid "Out of memory allocating %d bytes for %s\n" -msgstr "" - -#: readelf.c:285 -#, c-format -msgid "Unable to read in %d bytes of %s\n" -msgstr "" - -#: readelf.c:295 -#, c-format -msgid "Unable to seek to %x for %s\n" -msgstr "" - -#: readelf.c:300 -#, c-format -msgid "Unable to read data at %x for %s\n" -msgstr "" - -#: readelf.c:315 readelf.c:341 +#: readelf.c:316 readelf.c:342 #, c-format msgid "%s: Error: " msgstr "" -#: readelf.c:327 readelf.c:356 +#: readelf.c:328 readelf.c:357 #, c-format msgid "%s: Warning: " msgstr "" -#: readelf.c:406 readelf.c:544 +#: readelf.c:410 readelf.c:549 #, c-format msgid "Unhandled data length: %d\n" msgstr "" -#: readelf.c:609 +#: readelf.c:615 msgid "Don't know about relocations on this machine architecture\n" msgstr "" -#: readelf.c:640 readelf.c:667 readelf.c:710 readelf.c:735 +#: readelf.c:646 readelf.c:673 readelf.c:716 readelf.c:741 msgid "out of memory parsing relocs" msgstr "" -#: readelf.c:784 +#: readelf.c:790 msgid "" " Offset Info Type Symbol's Value Symbol's Name " "Addend\n" msgstr "" -#: readelf.c:787 +#: readelf.c:793 msgid " Offset Info Type Symbol's Value Symbol's Name\n" msgstr "" -#: readelf.c:951 readelf.c:953 +#: readelf.c:958 readelf.c:960 #, c-format msgid "unrecognised: %-7lx" msgstr "" -#: readelf.c:978 +#: readelf.c:985 #, c-format msgid "" msgstr "" -#: readelf.c:1194 +#: readelf.c:1201 #, c-format msgid "Processor Specific: %lx" msgstr "" -#: readelf.c:1213 +#: readelf.c:1220 #, c-format msgid "Operating System specific: %lx" msgstr "" -#: readelf.c:1216 readelf.c:1791 +#: readelf.c:1223 readelf.c:1799 #, c-format msgid ": %lx" msgstr "" -#: readelf.c:1230 +#: readelf.c:1237 msgid "NONE (None)" msgstr "" -#: readelf.c:1231 +#: readelf.c:1238 msgid "REL (Relocatable file)" msgstr "" -#: readelf.c:1232 +#: readelf.c:1239 msgid "EXEC (Executable file)" msgstr "" -#: readelf.c:1233 +#: readelf.c:1240 msgid "DYN (Shared object file)" msgstr "" -#: readelf.c:1234 +#: readelf.c:1241 msgid "CORE (Core file)" msgstr "" -#: readelf.c:1238 +#: readelf.c:1245 #, c-format msgid "Processor Specific: (%x)" msgstr "" -#: readelf.c:1240 +#: readelf.c:1247 #, c-format msgid "OS Specific: (%x)" msgstr "" -#: readelf.c:1242 readelf.c:1329 readelf.c:1942 +#: readelf.c:1249 readelf.c:1337 readelf.c:1950 #, c-format msgid ": %x" msgstr "" -#: readelf.c:1255 +#: readelf.c:1262 msgid "None" msgstr "" -#: readelf.c:1981 +#: readelf.c:1989 msgid "Usage: readelf {options} elf-file(s)\n" msgstr "" -#: readelf.c:1982 +#: readelf.c:1990 msgid " Options are:\n" msgstr "" -#: readelf.c:1983 +#: readelf.c:1991 msgid " -a or --all Equivalent to: -h -l -S -s -r -d -V -A -I\n" msgstr "" -#: readelf.c:1984 +#: readelf.c:1992 msgid " -h or --file-header Display the ELF file header\n" msgstr "" -#: readelf.c:1985 +#: readelf.c:1993 msgid " -l or --program-headers or --segments\n" msgstr "" -#: readelf.c:1986 +#: readelf.c:1994 msgid " Display the program headers\n" msgstr "" -#: readelf.c:1987 +#: readelf.c:1995 msgid " -S or --section-headers or --sections\n" msgstr "" -#: readelf.c:1988 +#: readelf.c:1996 msgid " Display the sections' header\n" msgstr "" -#: readelf.c:1989 +#: readelf.c:1997 msgid " -e or --headers Equivalent to: -h -l -S\n" msgstr "" -#: readelf.c:1990 +#: readelf.c:1998 msgid " -s or --syms or --symbols Display the symbol table\n" msgstr "" -#: readelf.c:1991 +#: readelf.c:1999 msgid " -n or --notes Display the core notes (if present)\n" msgstr "" -#: readelf.c:1992 +#: readelf.c:2000 msgid " -r or --relocs Display the relocations (if present)\n" msgstr "" -#: readelf.c:1993 +#: readelf.c:2001 msgid " -u or --unwind Display the unwind info (if present)\n" msgstr "" -#: readelf.c:1994 +#: readelf.c:2002 msgid " -d or --dynamic Display the dynamic segment (if present)\n" msgstr "" -#: readelf.c:1995 +#: readelf.c:2003 msgid " -V or --version-info Display the version sections (if present)\n" msgstr "" -#: readelf.c:1996 +#: readelf.c:2004 msgid "" " -A or --arch-specific Display architecture specific information (if " "any).\n" msgstr "" -#: readelf.c:1997 +#: readelf.c:2005 msgid "" " -D or --use-dynamic Use the dynamic section info when displaying " "symbols\n" msgstr "" -#: readelf.c:1998 +#: readelf.c:2006 msgid " -x or --hex-dump=\n" msgstr "" -#: readelf.c:1999 +#: readelf.c:2007 msgid " Dump the contents of section \n" msgstr "" -#: readelf.c:2000 +#: readelf.c:2008 msgid "" " -w[liaprf] or --debug-dump[=line,=info,=abbrev,=pubnames,=ranges,=frames]\n" msgstr "" -#: readelf.c:2001 +#: readelf.c:2009 msgid "" " Display the contents of DWARF2 debug sections\n" msgstr "" -#: readelf.c:2003 +#: readelf.c:2011 msgid " -i or --instruction-dump=\n" msgstr "" -#: readelf.c:2004 +#: readelf.c:2012 msgid "" " Disassemble the contents of section \n" msgstr "" -#: readelf.c:2006 +#: readelf.c:2014 msgid " -I or --histogram Display histogram of bucket list lengths\n" msgstr "" -#: readelf.c:2007 +#: readelf.c:2015 msgid " -v or --version Display the version number of readelf\n" msgstr "" -#: readelf.c:2008 +#: readelf.c:2016 msgid " -H or --help Display this information\n" msgstr "" -#: readelf.c:2026 +#: readelf.c:2034 msgid "Out of memory allocating dump request table." msgstr "" -#: readelf.c:2170 +#: readelf.c:2179 #, c-format msgid "Unrecognised debug option '%s'\n" msgstr "" -#: readelf.c:2195 +#: readelf.c:2204 #, c-format msgid "Invalid option '-%c'\n" msgstr "" -#: readelf.c:2208 +#: readelf.c:2217 msgid "Nothing to do.\n" msgstr "" -#: readelf.c:2221 readelf.c:2238 readelf.c:4234 +#: readelf.c:2230 readelf.c:2247 readelf.c:4310 msgid "none" msgstr "" -#: readelf.c:2222 +#: readelf.c:2231 msgid "ELF32" msgstr "" -#: readelf.c:2223 +#: readelf.c:2232 msgid "ELF64" msgstr "" -#: readelf.c:2225 readelf.c:2242 readelf.c:2270 +#: readelf.c:2234 readelf.c:2251 readelf.c:2279 #, c-format msgid "" msgstr "" -#: readelf.c:2239 +#: readelf.c:2248 msgid "2's complement, little endian" msgstr "" -#: readelf.c:2240 +#: readelf.c:2249 msgid "2's complement, big endian" msgstr "" -#: readelf.c:2255 +#: readelf.c:2264 msgid "UNIX - System V" msgstr "" -#: readelf.c:2256 +#: readelf.c:2265 msgid "UNIX - HP-UX" msgstr "" -#: readelf.c:2257 +#: readelf.c:2266 msgid "UNIX - NetBSD" msgstr "" -#: readelf.c:2258 +#: readelf.c:2267 msgid "UNIX - Linux" msgstr "" -#: readelf.c:2259 +#: readelf.c:2268 msgid "GNU/Hurd" msgstr "" -#: readelf.c:2260 +#: readelf.c:2269 msgid "UNIX - Solaris" msgstr "" -#: readelf.c:2261 +#: readelf.c:2270 msgid "UNIX - AIX" msgstr "" -#: readelf.c:2262 +#: readelf.c:2271 msgid "UNIX - IRIX" msgstr "" -#: readelf.c:2263 +#: readelf.c:2272 msgid "UNIX - FreeBSD" msgstr "" -#: readelf.c:2264 +#: readelf.c:2273 msgid "UNIX - TRU64" msgstr "" -#: readelf.c:2265 +#: readelf.c:2274 msgid "Novell - Modesto" msgstr "" -#: readelf.c:2266 +#: readelf.c:2275 msgid "UNIX - OpenBSD" msgstr "" -#: readelf.c:2267 +#: readelf.c:2276 msgid "Standalone App" msgstr "" -#: readelf.c:2268 +#: readelf.c:2277 msgid "ARM" msgstr "" -#: readelf.c:2285 +#: readelf.c:2294 msgid "Not an ELF file - it has the wrong magic bytes at the start\n" msgstr "" -#: readelf.c:2293 +#: readelf.c:2302 msgid "ELF Header:\n" msgstr "" -#: readelf.c:2294 +#: readelf.c:2303 msgid " Magic: " msgstr "" -#: readelf.c:2298 +#: readelf.c:2307 #, c-format msgid " Class: %s\n" msgstr "" -#: readelf.c:2300 +#: readelf.c:2309 #, c-format msgid " Data: %s\n" msgstr "" -#: readelf.c:2302 +#: readelf.c:2311 #, c-format msgid " Version: %d %s\n" msgstr "" -#: readelf.c:2309 +#: readelf.c:2318 #, c-format msgid " OS/ABI: %s\n" msgstr "" -#: readelf.c:2311 +#: readelf.c:2320 #, c-format msgid " ABI Version: %d\n" msgstr "" -#: readelf.c:2313 +#: readelf.c:2322 #, c-format msgid " Type: %s\n" msgstr "" -#: readelf.c:2315 +#: readelf.c:2324 #, c-format msgid " Machine: %s\n" msgstr "" -#: readelf.c:2317 +#: readelf.c:2326 #, c-format msgid " Version: 0x%lx\n" msgstr "" -#: readelf.c:2320 +#: readelf.c:2329 msgid " Entry point address: " msgstr "" -#: readelf.c:2322 +#: readelf.c:2331 msgid "" "\n" " Start of program headers: " msgstr "" -#: readelf.c:2324 +#: readelf.c:2333 msgid "" " (bytes into file)\n" " Start of section headers: " msgstr "" -#: readelf.c:2326 +#: readelf.c:2335 msgid " (bytes into file)\n" msgstr "" -#: readelf.c:2328 +#: readelf.c:2337 #, c-format msgid " Flags: 0x%lx%s\n" msgstr "" -#: readelf.c:2331 +#: readelf.c:2340 #, c-format msgid " Size of this header: %ld (bytes)\n" msgstr "" -#: readelf.c:2333 +#: readelf.c:2342 #, c-format msgid " Size of program headers: %ld (bytes)\n" msgstr "" -#: readelf.c:2335 +#: readelf.c:2344 #, c-format msgid " Number of program headers: %ld\n" msgstr "" -#: readelf.c:2337 +#: readelf.c:2346 #, c-format msgid " Size of section headers: %ld (bytes)\n" msgstr "" -#: readelf.c:2339 +#: readelf.c:2348 #, c-format msgid " Number of section headers: %ld\n" msgstr "" -#: readelf.c:2341 +#: readelf.c:2350 #, c-format msgid " Section header string table index: %ld\n" msgstr "" -#: readelf.c:2426 +#: readelf.c:2435 msgid "" "\n" "There are no program headers in this file.\n" msgstr "" -#: readelf.c:2432 +#: readelf.c:2441 #, c-format msgid "" "\n" "Elf file type is %s\n" msgstr "" -#: readelf.c:2433 +#: readelf.c:2442 msgid "Entry point " msgstr "" -#: readelf.c:2435 +#: readelf.c:2444 #, c-format msgid "" "\n" "There are %d program headers, starting at offset " msgstr "" -#: readelf.c:2446 readelf.c:2622 readelf.c:2664 readelf.c:2707 readelf.c:2748 -#: readelf.c:3627 readelf.c:3668 readelf.c:3844 readelf.c:4765 readelf.c:4779 -#: readelf.c:8150 readelf.c:8190 +#: readelf.c:2455 readelf.c:2631 readelf.c:2673 readelf.c:2716 readelf.c:2757 +#: readelf.c:3703 readelf.c:3744 readelf.c:3920 readelf.c:4841 readelf.c:4855 +#: readelf.c:8294 readelf.c:8334 msgid "Out of memory\n" msgstr "" -#: readelf.c:2464 +#: readelf.c:2473 #, c-format msgid "" "\n" "Program Header%s:\n" msgstr "" -#: readelf.c:2468 +#: readelf.c:2477 msgid "" " Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align\n" msgstr "" -#: readelf.c:2472 +#: readelf.c:2481 msgid " Type Offset VirtAddr PhysAddr\n" msgstr "" -#: readelf.c:2474 +#: readelf.c:2483 msgid " FileSiz MemSiz Flags Align\n" msgstr "" -#: readelf.c:2532 +#: readelf.c:2541 msgid "more than one dynamic segment\n" msgstr "" -#: readelf.c:2540 +#: readelf.c:2549 msgid "Unable to find program interpreter name\n" msgstr "" -#: readelf.c:2547 +#: readelf.c:2556 #, c-format msgid "" "\n" " [Requesting program interpreter: %s]" msgstr "" -#: readelf.c:2565 +#: readelf.c:2574 msgid "" "\n" " Section to Segment mapping:\n" msgstr "" -#: readelf.c:2566 +#: readelf.c:2575 msgid " Segment Sections...\n" msgstr "" -#: readelf.c:2830 +#: readelf.c:2839 msgid "" "\n" "There are no sections in this file.\n" msgstr "" -#: readelf.c:2836 +#: readelf.c:2845 #, c-format msgid "There are %d section headers, starting at offset 0x%lx:\n" msgstr "" -#: readelf.c:2874 +#: readelf.c:2883 msgid "File contains multiple dynamic symbol tables\n" msgstr "" -#: readelf.c:2887 +#: readelf.c:2896 msgid "File contains multiple dynamic string tables\n" msgstr "" -#: readelf.c:2921 +#: readelf.c:2931 #, c-format msgid "" "\n" "Section Header%s:\n" msgstr "" -#: readelf.c:2925 +#: readelf.c:2935 msgid "" " [Nr] Name Type Addr Off Size ES Flg Lk " "Inf Al\n" msgstr "" -#: readelf.c:2928 +#: readelf.c:2938 msgid " [Nr] Name Type Address Offset\n" msgstr "" -#: readelf.c:2929 +#: readelf.c:2939 msgid " Size EntSize Flags Link Info Align\n" msgstr "" -#: readelf.c:2976 +#: readelf.c:2986 msgid "Key to Flags:\n" msgstr "" -#: readelf.c:2977 +#: readelf.c:2987 msgid " W (write), A (alloc), X (execute), M (merge), S (strings)\n" msgstr "" -#: readelf.c:2978 +#: readelf.c:2988 msgid " I (info), L (link order), G (group), x (unknown)\n" msgstr "" -#: readelf.c:2979 +#: readelf.c:2989 msgid "" " O (extra OS processing required) o (OS specific), p (processor specific)\n" msgstr "" -#: readelf.c:3037 +#: readelf.c:3047 #, c-format msgid "" "\n" "Relocation section at offset 0x%lx contains %ld bytes:\n" msgstr "" -#: readelf.c:3044 +#: readelf.c:3054 msgid "" "\n" "There are no dynamic relocations in this file.\n" msgstr "" -#: readelf.c:3072 +#: readelf.c:3082 msgid "" "\n" "Relocation section " msgstr "" -#: readelf.c:3079 readelf.c:3450 +#: readelf.c:3089 readelf.c:3523 #, c-format msgid " at offset 0x%lx contains %lu entries:\n" msgstr "" -#: readelf.c:3107 +#: readelf.c:3117 msgid "" "\n" "There are no relocations in this file.\n" msgstr "" -#: readelf.c:3351 readelf.c:3363 +#: readelf.c:3361 readelf.c:3373 #, c-format msgid "Skipping unexpected symbol type %u" msgstr "" -#: readelf.c:3371 +#: readelf.c:3381 #, c-format msgid "Skipping unexpected relocation type %s" msgstr "" -#: readelf.c:3443 +#: readelf.c:3426 readelf.c:3451 msgid "" "\n" -"Unwind section " +"There are no unwind sections in this file.\n" msgstr "" -#: readelf.c:3459 +#: readelf.c:3502 msgid "" "\n" -"There are no unwind sections in this file.\n" +"Could not find unwind info section for " +msgstr "" + +#: readelf.c:3516 +msgid "" +"\n" +"Unwind section " msgstr "" -#: readelf.c:3721 +#: readelf.c:3797 msgid "" "\n" "There is no dynamic segment in this file.\n" msgstr "" -#: readelf.c:3755 +#: readelf.c:3831 msgid "Unable to seek to end of file!" msgstr "" -#: readelf.c:3764 +#: readelf.c:3840 msgid "Unable to determine the number of symbols to load\n" msgstr "" -#: readelf.c:3794 +#: readelf.c:3870 msgid "Unable to seek to end of file\n" msgstr "" -#: readelf.c:3800 +#: readelf.c:3876 msgid "Unable to determine the length of the dynamic string table\n" msgstr "" -#: readelf.c:3861 +#: readelf.c:3937 #, c-format msgid "" "\n" "Dynamic segment at offset 0x%x contains %ld entries:\n" msgstr "" -#: readelf.c:3864 +#: readelf.c:3940 msgid " Tag Type Name/Value\n" msgstr "" -#: readelf.c:3900 +#: readelf.c:3976 msgid "Auxiliary library" msgstr "" -#: readelf.c:3904 +#: readelf.c:3980 msgid "Filter library" msgstr "" -#: readelf.c:3908 +#: readelf.c:3984 msgid "Configuration file" msgstr "" -#: readelf.c:3912 +#: readelf.c:3988 msgid "Dependency audit library" msgstr "" -#: readelf.c:3916 +#: readelf.c:3992 msgid "Audit library" msgstr "" -#: readelf.c:3934 readelf.c:3960 readelf.c:3986 +#: readelf.c:4010 readelf.c:4036 readelf.c:4062 msgid "Flags:" msgstr "" -#: readelf.c:3936 readelf.c:3962 readelf.c:3988 +#: readelf.c:4012 readelf.c:4038 readelf.c:4064 msgid " None\n" msgstr "" -#: readelf.c:4107 +#: readelf.c:4183 #, c-format msgid "Shared library: [%s]" msgstr "" -#: readelf.c:4110 +#: readelf.c:4186 msgid " program interpreter" msgstr "" -#: readelf.c:4114 +#: readelf.c:4190 #, c-format msgid "Library soname: [%s]" msgstr "" -#: readelf.c:4118 +#: readelf.c:4194 #, c-format msgid "Library rpath: [%s]" msgstr "" -#: readelf.c:4122 +#: readelf.c:4198 #, c-format msgid "Library runpath: [%s]" msgstr "" -#: readelf.c:4183 +#: readelf.c:4259 #, c-format msgid "Not needed object: [%s]\n" msgstr "" -#: readelf.c:4280 +#: readelf.c:4356 #, c-format msgid "" "\n" "Version definition section '%s' contains %ld entries:\n" msgstr "" -#: readelf.c:4283 +#: readelf.c:4359 msgid " Addr: 0x" msgstr "" -#: readelf.c:4285 readelf.c:4473 +#: readelf.c:4361 readelf.c:4549 #, c-format msgid " Offset: %#08lx Link: %lx (%s)\n" msgstr "" -#: readelf.c:4315 +#: readelf.c:4391 #, c-format msgid " %#06x: Rev: %d Flags: %s" msgstr "" -#: readelf.c:4318 +#: readelf.c:4394 #, c-format msgid " Index: %d Cnt: %d " msgstr "" -#: readelf.c:4329 +#: readelf.c:4405 #, c-format msgid "Name: %s\n" msgstr "" -#: readelf.c:4331 +#: readelf.c:4407 #, c-format msgid "Name index: %ld\n" msgstr "" -#: readelf.c:4346 +#: readelf.c:4422 #, c-format msgid " %#06x: Parent %d: %s\n" msgstr "" -#: readelf.c:4349 +#: readelf.c:4425 #, c-format msgid " %#06x: Parent %d, name index: %ld\n" msgstr "" -#: readelf.c:4368 +#: readelf.c:4444 #, c-format msgid "" "\n" "Version needs section '%s' contains %ld entries:\n" msgstr "" -#: readelf.c:4371 +#: readelf.c:4447 msgid " Addr: 0x" msgstr "" -#: readelf.c:4373 +#: readelf.c:4449 #, c-format msgid " Offset: %#08lx Link to section: %ld (%s)\n" msgstr "" -#: readelf.c:4399 +#: readelf.c:4475 #, c-format msgid " %#06x: Version: %d" msgstr "" -#: readelf.c:4402 +#: readelf.c:4478 #, c-format msgid " File: %s" msgstr "" -#: readelf.c:4404 +#: readelf.c:4480 #, c-format msgid " File: %lx" msgstr "" -#: readelf.c:4406 +#: readelf.c:4482 #, c-format msgid " Cnt: %d\n" msgstr "" -#: readelf.c:4424 +#: readelf.c:4500 #, c-format msgid " %#06x: Name: %s" msgstr "" -#: readelf.c:4427 +#: readelf.c:4503 #, c-format msgid " %#06x: Name index: %lx" msgstr "" -#: readelf.c:4430 +#: readelf.c:4506 #, c-format msgid " Flags: %s Version: %d\n" msgstr "" -#: readelf.c:4468 +#: readelf.c:4544 #, c-format msgid "" "\n" "Version symbols section '%s' contains %d entries:\n" msgstr "" -#: readelf.c:4471 +#: readelf.c:4547 msgid " Addr: " msgstr "" -#: readelf.c:4502 +#: readelf.c:4578 msgid " 0 (*local*) " msgstr "" -#: readelf.c:4506 +#: readelf.c:4582 msgid " 1 (*global*) " msgstr "" -#: readelf.c:4640 +#: readelf.c:4716 msgid "" "\n" "No version information found in this file.\n" msgstr "" -#: readelf.c:4658 readelf.c:4693 +#: readelf.c:4734 readelf.c:4769 #, c-format msgid ": %d" msgstr "" -#: readelf.c:4660 readelf.c:4705 +#: readelf.c:4736 readelf.c:4781 #, c-format msgid ": %d" msgstr "" -#: readelf.c:4662 readelf.c:4708 +#: readelf.c:4738 readelf.c:4784 #, c-format msgid ": %d" msgstr "" -#: readelf.c:4771 +#: readelf.c:4847 msgid "Unable to read in dynamic data\n" msgstr "" -#: readelf.c:4813 +#: readelf.c:4889 msgid "Unable to seek to start of dynamic information" msgstr "" -#: readelf.c:4819 +#: readelf.c:4895 msgid "Failed to read in number of buckets\n" msgstr "" -#: readelf.c:4825 +#: readelf.c:4901 msgid "Failed to read in number of chains\n" msgstr "" -#: readelf.c:4845 +#: readelf.c:4921 msgid "" "\n" "Symbol table for image:\n" msgstr "" -#: readelf.c:4847 +#: readelf.c:4923 msgid " Num Buc: Value Size Type Bind Vis Ndx Name\n" msgstr "" -#: readelf.c:4849 +#: readelf.c:4925 msgid " Num Buc: Value Size Type Bind Vis Ndx Name\n" msgstr "" -#: readelf.c:4893 +#: readelf.c:4969 #, c-format msgid "" "\n" "Symbol table '%s' contains %lu entries:\n" msgstr "" -#: readelf.c:4897 +#: readelf.c:4973 msgid " Num: Value Size Type Bind Vis Ndx Name\n" msgstr "" -#: readelf.c:4899 +#: readelf.c:4975 msgid " Num: Value Size Type Bind Vis Ndx Name\n" msgstr "" -#: readelf.c:5009 +#: readelf.c:5085 msgid "bad dynamic symbol" msgstr "" -#: readelf.c:5069 +#: readelf.c:5145 msgid "" "\n" "Dynamic symbol information is not available for displaying symbols.\n" msgstr "" -#: readelf.c:5081 +#: readelf.c:5157 #, c-format msgid "" "\n" "Histogram for bucket list length (total of %d buckets):\n" msgstr "" -#: readelf.c:5083 +#: readelf.c:5159 msgid " Length Number %% of total Coverage\n" msgstr "" -#: readelf.c:5088 readelf.c:5107 readelf.c:7832 readelf.c:8025 +#: readelf.c:5164 readelf.c:5183 readelf.c:7976 readelf.c:8169 msgid "Out of memory" msgstr "" -#: readelf.c:5156 +#: readelf.c:5232 #, c-format msgid "" "\n" "Dynamic info segment at offset 0x%lx contains %d entries:\n" msgstr "" -#: readelf.c:5159 +#: readelf.c:5235 msgid " Num: Name BoundTo Flags\n" msgstr "" -#: readelf.c:5207 +#: readelf.c:5283 #, c-format msgid "" "\n" "Assembly dump of section %s\n" msgstr "" -#: readelf.c:5230 +#: readelf.c:5306 #, c-format msgid "" "\n" "Section '%s' has no data to dump.\n" msgstr "" -#: readelf.c:5235 +#: readelf.c:5311 #, c-format msgid "" "\n" "Hex dump of section '%s':\n" msgstr "" -#: readelf.c:5387 +#: readelf.c:5463 msgid "badly formed extended line op encountered!" msgstr "" -#: readelf.c:5394 +#: readelf.c:5470 #, c-format msgid " Extended opcode %d: " msgstr "" -#: readelf.c:5399 +#: readelf.c:5475 msgid "" "End of Sequence\n" "\n" msgstr "" -#: readelf.c:5405 +#: readelf.c:5481 #, c-format msgid "set Address to 0x%lx\n" msgstr "" -#: readelf.c:5410 +#: readelf.c:5486 msgid " define new File Table entry\n" msgstr "" -#: readelf.c:5411 readelf.c:5533 +#: readelf.c:5487 readelf.c:5609 msgid " Entry\tDir\tTime\tSize\tName\n" msgstr "" -#: readelf.c:5413 +#: readelf.c:5489 #, c-format msgid " %d\t" msgstr "" -#: readelf.c:5416 readelf.c:5418 readelf.c:5420 readelf.c:5545 readelf.c:5547 -#: readelf.c:5549 +#: readelf.c:5492 readelf.c:5494 readelf.c:5496 readelf.c:5621 readelf.c:5623 +#: readelf.c:5625 #, c-format msgid "%lu\t" msgstr "" -#: readelf.c:5421 +#: readelf.c:5497 #, c-format msgid "" "%s\n" "\n" msgstr "" -#: readelf.c:5425 +#: readelf.c:5501 #, c-format msgid "UNKNOWN: length %d\n" msgstr "" -#: readelf.c:5451 +#: readelf.c:5527 #, c-format msgid "" "\n" @@ -3012,503 +3015,503 @@ msgid "" "\n" msgstr "" -#: readelf.c:5463 +#: readelf.c:5539 msgid "The line info appears to be corrupt - the section is too small\n" msgstr "" -#: readelf.c:5471 +#: readelf.c:5547 msgid "Only DWARF version 2 line info is currently supported.\n" msgstr "" -#: readelf.c:5486 +#: readelf.c:5562 #, c-format msgid " Length: %ld\n" msgstr "" -#: readelf.c:5487 +#: readelf.c:5563 #, c-format msgid " DWARF Version: %d\n" msgstr "" -#: readelf.c:5488 +#: readelf.c:5564 #, c-format -msgid " Prolgue Length: %d\n" +msgid " Prologue Length: %d\n" msgstr "" -#: readelf.c:5489 +#: readelf.c:5565 #, c-format msgid " Minimum Instruction Length: %d\n" msgstr "" -#: readelf.c:5490 +#: readelf.c:5566 #, c-format msgid " Initial value of 'is_stmt': %d\n" msgstr "" -#: readelf.c:5491 +#: readelf.c:5567 #, c-format msgid " Line Base: %d\n" msgstr "" -#: readelf.c:5492 +#: readelf.c:5568 #, c-format msgid " Line Range: %d\n" msgstr "" -#: readelf.c:5493 +#: readelf.c:5569 #, c-format msgid " Opcode Base: %d\n" msgstr "" -#: readelf.c:5502 +#: readelf.c:5578 msgid "" "\n" " Opcodes:\n" msgstr "" -#: readelf.c:5505 +#: readelf.c:5581 #, c-format msgid " Opcode %d has %d args\n" msgstr "" -#: readelf.c:5511 +#: readelf.c:5587 msgid "" "\n" " The Directory Table is empty.\n" msgstr "" -#: readelf.c:5514 +#: readelf.c:5590 msgid "" "\n" " The Directory Table:\n" msgstr "" -#: readelf.c:5518 +#: readelf.c:5594 #, c-format msgid " %s\n" msgstr "" -#: readelf.c:5529 +#: readelf.c:5605 msgid "" "\n" " The File Name Table is empty.\n" msgstr "" -#: readelf.c:5532 +#: readelf.c:5608 msgid "" "\n" " The File Name Table:\n" msgstr "" -#: readelf.c:5540 +#: readelf.c:5616 #, c-format msgid " %d\t" msgstr "" -#: readelf.c:5551 +#: readelf.c:5627 #, c-format msgid "%s\n" msgstr "" #. Now display the statements. -#: readelf.c:5559 +#: readelf.c:5635 msgid "" "\n" " Line Number Statements:\n" msgstr "" -#: readelf.c:5578 +#: readelf.c:5654 msgid " Copy\n" msgstr "" -#: readelf.c:5585 +#: readelf.c:5661 #, c-format msgid " Advance PC by %d to %lx\n" msgstr "" -#: readelf.c:5593 +#: readelf.c:5669 #, c-format msgid " Advance Line by %d to %d\n" msgstr "" -#: readelf.c:5600 +#: readelf.c:5676 #, c-format msgid " Set File Name to entry %d in the File Name Table\n" msgstr "" -#: readelf.c:5608 +#: readelf.c:5684 #, c-format msgid " Set column to %d\n" msgstr "" -#: readelf.c:5615 +#: readelf.c:5691 #, c-format msgid " Set is_stmt to %d\n" msgstr "" -#: readelf.c:5620 +#: readelf.c:5696 msgid " Set basic block\n" msgstr "" -#: readelf.c:5628 +#: readelf.c:5704 #, c-format msgid " Advance PC by constant %d to 0x%lx\n" msgstr "" -#: readelf.c:5636 +#: readelf.c:5712 #, c-format msgid " Advance PC by fixed size amount %d to 0x%lx\n" msgstr "" -#: readelf.c:5644 +#: readelf.c:5720 #, c-format msgid " Special opcode %d: advance Address by %d to 0x%lx" msgstr "" -#: readelf.c:5648 +#: readelf.c:5724 #, c-format msgid " and Line by %d to %d\n" msgstr "" -#: readelf.c:5671 readelf.c:6100 +#: readelf.c:5747 readelf.c:6176 #, c-format msgid "" "Contents of the %s section:\n" "\n" msgstr "" -#: readelf.c:5694 +#: readelf.c:5770 msgid "Only DWARF 2 pubnames are currently supported\n" msgstr "" -#: readelf.c:5701 +#: readelf.c:5777 #, c-format msgid " Length: %ld\n" msgstr "" -#: readelf.c:5703 +#: readelf.c:5779 #, c-format msgid " Version: %d\n" msgstr "" -#: readelf.c:5705 +#: readelf.c:5781 #, c-format msgid " Offset into .debug_info section: %ld\n" msgstr "" -#: readelf.c:5707 +#: readelf.c:5783 #, c-format msgid " Size of area in .debug_info section: %ld\n" msgstr "" -#: readelf.c:5710 +#: readelf.c:5786 msgid "" "\n" " Offset\tName\n" msgstr "" -#: readelf.c:5792 +#: readelf.c:5868 #, c-format msgid "Unknown TAG value: %lx" msgstr "" -#: readelf.c:5887 +#: readelf.c:5963 #, c-format msgid "Unknown AT value: %lx" msgstr "" -#: readelf.c:5924 +#: readelf.c:6000 #, c-format msgid "Unknown FORM value: %lx" msgstr "" -#: readelf.c:6106 +#: readelf.c:6182 msgid " Number TAG\n" msgstr "" -#: readelf.c:6112 +#: readelf.c:6188 #, c-format msgid " %ld %s [%s]\n" msgstr "" -#: readelf.c:6115 +#: readelf.c:6191 msgid "has children" msgstr "" -#: readelf.c:6115 +#: readelf.c:6191 msgid "no children" msgstr "" -#: readelf.c:6119 +#: readelf.c:6195 #, c-format msgid " %-18s %s\n" msgstr "" -#: readelf.c:6138 +#: readelf.c:6214 #, c-format msgid " %lu byte block: " msgstr "" -#: readelf.c:6445 +#: readelf.c:6521 msgid "(User defined location op)" msgstr "" -#: readelf.c:6447 +#: readelf.c:6523 msgid "(Unknown location op)" msgstr "" -#: readelf.c:6574 +#: readelf.c:6650 #, c-format msgid "Unable to handle FORM: %d" msgstr "" -#: readelf.c:6578 +#: readelf.c:6654 #, c-format msgid "Unrecognised form: %d" msgstr "" -#: readelf.c:6591 +#: readelf.c:6667 msgid "(not inlined)" msgstr "" -#: readelf.c:6592 +#: readelf.c:6668 msgid "(inlined)" msgstr "" -#: readelf.c:6593 +#: readelf.c:6669 msgid "(declared as inline but ignored)" msgstr "" -#: readelf.c:6594 +#: readelf.c:6670 msgid "(declared as inline and inlined)" msgstr "" -#: readelf.c:6595 +#: readelf.c:6671 #, c-format msgid " (Unknown inline attribute value: %lx)" msgstr "" -#: readelf.c:6724 readelf.c:6850 +#: readelf.c:6800 readelf.c:6926 #, c-format msgid "" "The section %s contains:\n" "\n" msgstr "" -#: readelf.c:6746 +#: readelf.c:6822 #, c-format msgid " Compilation Unit @ %lx:\n" msgstr "" -#: readelf.c:6747 +#: readelf.c:6823 #, c-format msgid " Length: %ld\n" msgstr "" -#: readelf.c:6748 +#: readelf.c:6824 #, c-format msgid " Version: %d\n" msgstr "" -#: readelf.c:6749 +#: readelf.c:6825 #, c-format msgid " Abbrev Offset: %ld\n" msgstr "" -#: readelf.c:6750 +#: readelf.c:6826 #, c-format msgid " Pointer Size: %d\n" msgstr "" -#: readelf.c:6754 +#: readelf.c:6830 msgid "Only version 2 DWARF debug information is currently supported.\n" msgstr "" -#: readelf.c:6776 +#: readelf.c:6852 msgid "Unable to locate .debug_abbrev section!\n" msgstr "" -#: readelf.c:6816 +#: readelf.c:6892 #, c-format msgid "Unable to locate entry %lu in the abbreviation table\n" msgstr "" -#: readelf.c:6821 +#: readelf.c:6897 #, c-format msgid " <%d><%x>: Abbrev Number: %lu (%s)\n" msgstr "" -#: readelf.c:6871 +#: readelf.c:6947 msgid "Only DWARF 2 aranges are currently supported.\n" msgstr "" -#: readelf.c:6875 +#: readelf.c:6951 #, c-format msgid " Length: %ld\n" msgstr "" -#: readelf.c:6876 +#: readelf.c:6952 #, c-format msgid " Version: %d\n" msgstr "" -#: readelf.c:6877 +#: readelf.c:6953 #, c-format msgid " Offset into .debug_info: %lx\n" msgstr "" -#: readelf.c:6878 +#: readelf.c:6954 #, c-format msgid " Pointer Size: %d\n" msgstr "" -#: readelf.c:6879 +#: readelf.c:6955 #, c-format msgid " Segment Size: %d\n" msgstr "" -#: readelf.c:6881 +#: readelf.c:6957 msgid "" "\n" " Address Length\n" msgstr "" -#: readelf.c:7043 +#: readelf.c:7135 #, c-format msgid "The section %s contains:\n" msgstr "" -#: readelf.c:7518 +#: readelf.c:7663 #, c-format msgid "Displaying the debug contents of section %s is not yet supported.\n" msgstr "" -#: readelf.c:7582 +#: readelf.c:7726 #, c-format msgid "" "\n" "Section '%s' has no debugging data.\n" msgstr "" -#: readelf.c:7601 +#: readelf.c:7745 #, c-format msgid "Unrecognised debug section: %s\n" msgstr "" -#: readelf.c:7673 +#: readelf.c:7817 msgid "Some sections were not dumped because they do not exist!\n" msgstr "" -#: readelf.c:7856 +#: readelf.c:8000 #, c-format msgid "" "\n" "Section '%s' contains %d entries:\n" msgstr "" -#: readelf.c:8018 +#: readelf.c:8162 msgid "conflict list with without table" msgstr "" -#: readelf.c:8046 +#: readelf.c:8190 #, c-format msgid "" "\n" "Section '.conflict' contains %d entries:\n" msgstr "" -#: readelf.c:8047 +#: readelf.c:8191 msgid " Num: Index Value Name" msgstr "" -#: readelf.c:8072 +#: readelf.c:8216 msgid "NT_PRSTATUS (prstatus structure)" msgstr "" -#: readelf.c:8073 +#: readelf.c:8217 msgid "NT_FPREGSET (floating point registers)" msgstr "" -#: readelf.c:8074 +#: readelf.c:8218 msgid "NT_PRPSINFO (prpsinfo structure)" msgstr "" -#: readelf.c:8075 +#: readelf.c:8219 msgid "NT_TASKSTRUCT (task structure)" msgstr "" -#: readelf.c:8076 +#: readelf.c:8220 msgid "NT_PRXFPREG (user_xfpregs structure)" msgstr "" -#: readelf.c:8077 +#: readelf.c:8221 msgid "NT_PSTATUS (pstatus structure)" msgstr "" -#: readelf.c:8078 +#: readelf.c:8222 msgid "NT_FPREGS (floating point registers)" msgstr "" -#: readelf.c:8079 +#: readelf.c:8223 msgid "NT_PSINFO (psinfo structure)" msgstr "" -#: readelf.c:8080 +#: readelf.c:8224 msgid "NT_LWPSTATUS (lwpstatus_t structure)" msgstr "" -#: readelf.c:8081 +#: readelf.c:8225 msgid "NT_LWPSINFO (lwpsinfo_t structure)" msgstr "" -#: readelf.c:8082 +#: readelf.c:8226 msgid "NT_WIN32PSTATUS (win32_pstatus strcuture)" msgstr "" -#: readelf.c:8084 +#: readelf.c:8228 #, c-format msgid "Unknown note type: (0x%08x)" msgstr "" -#: readelf.c:8122 +#: readelf.c:8266 #, c-format msgid "" "\n" "Notes at offset 0x%08lx with length 0x%08lx:\n" msgstr "" -#: readelf.c:8124 +#: readelf.c:8268 msgid " Owner\t\tData size\tDescription\n" msgstr "" -#: readelf.c:8235 +#: readelf.c:8379 msgid "No note segments present in the core file.\n" msgstr "" -#: readelf.c:8313 +#: readelf.c:8457 msgid "This instance of readelf has been built without support for a\n" msgstr "" -#: readelf.c:8314 +#: readelf.c:8458 msgid "64 bit data type and so it cannot read 64 bit ELF files.\n" msgstr "" -#: readelf.c:8349 +#: readelf.c:8493 #, c-format msgid "Cannot stat input file %s.\n" msgstr "" -#: readelf.c:8356 +#: readelf.c:8500 #, c-format msgid "Input file %s not found.\n" msgstr "" -#: readelf.c:8362 +#: readelf.c:8506 #, c-format msgid "%s: Failed to read file header\n" msgstr "" -#: readelf.c:8376 +#: readelf.c:8520 #, c-format msgid "" "\n" @@ -3923,17 +3926,17 @@ msgstr "" msgid "Invalid radix: %s\n" msgstr "" -#: srconv.c:1880 +#: srconv.c:1881 #, c-format msgid "Usage: %s [-dhVq] in-file [out-file]\n" msgstr "" -#: srconv.c:1887 +#: srconv.c:1888 #, c-format msgid "%s: Convert a COFF object file into a SYSROFF object file\n" msgstr "" -#: srconv.c:2020 +#: srconv.c:2021 #, c-format msgid "unable to open output file %s" msgstr "" @@ -4033,17 +4036,17 @@ msgstr "" msgid "no argument types in mangled string\n" msgstr "" -#: strings.c:177 +#: strings.c:180 #, c-format msgid "invalid number %s" msgstr "" -#: strings.c:513 +#: strings.c:516 #, c-format msgid "invalid integer argument %s" msgstr "" -#: strings.c:523 +#: strings.c:526 #, c-format msgid "" "Usage: %s [-afov] [-n min-len] [-min-len] [-t {o,x,d}] [-]\n" @@ -4061,11 +4064,11 @@ msgstr "" msgid "cannot open input file %s" msgstr "" -#: version.c:39 +#: version.c:40 msgid "Copyright 1997, 98, 99, 2000, 2001 Free Software Foundation, Inc.\n" msgstr "" -#: version.c:40 +#: version.c:41 msgid "" "This program is free software; you may redistribute it under the terms of\n" "the GNU General Public License. This program has absolutely no warranty.\n" diff --git a/binutils/ranlib.1 b/binutils/ranlib.1 index c84969f..93fbd30 100644 --- a/binutils/ranlib.1 +++ b/binutils/ranlib.1 @@ -1,12 +1,9 @@ -.rn '' }` -''' $RCSfile$$Revision$$Date$ -''' -''' $Log$ -''' Revision 1.5 2001/03/25 20:32:25 nickc -''' Automate generate on man pages -''' -''' -.de Sh +.\" Automatically generated by Pod::Man version 1.02 +.\" Wed May 30 12:24:28 2001 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading .br .if t .Sp .ne 5 @@ -14,149 +11,105 @@ \fB\\$1\fR .PP .. -.de Sp +.de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. -.de Ip +.de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. -.de Vb +.de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. -.de Ve +.de Ve \" End verbatim text .ft R .fi .. -''' -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' Bell System Logo is used as a dummy character. -''' +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> .tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ -.ds -- \(*W- -.ds PI pi -.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -.ds L" "" -.ds R" "" -''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of -''' \*(L" and \*(R", except that they are used on ".xx" lines, -''' such as .IP and .SH, which do another additional levels of -''' double-quote interpretation -.ds M" """ -.ds S" """ -.ds N" """"" -.ds T" """"" -.ds L' ' -.ds R' ' -.ds M' ' -.ds S' ' -.ds N' ' -.ds T' ' +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` ` +. ds C' ' 'br\} .el\{\ -.ds -- \(em\| -.tr \*(Tr -.ds L" `` -.ds R" '' -.ds M" `` -.ds S" '' -.ds N" `` -.ds T" '' -.ds L' ` -.ds R' ' -.ds M' ` -.ds S' ' -.ds N' ` -.ds T' ' -.ds PI \(*p +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' 'br\} -.\" If the F register is turned on, we'll generate -.\" index entries out stderr for the following things: -.\" TH Title -.\" SH Header -.\" Sh Subsection -.\" Ip Item -.\" X<> Xref (embedded -.\" Of course, you have to process the output yourself -.\" in some meaninful fashion. -.if \nF \{ -.de IX -.tm Index:\\$1\t\\n%\t"\\$2" -.. -.nr % 0 -.rr F +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +. . +. nr % 0 +. rr F .\} -.TH RANLIB.1 1 "binutils-2.11.90" "23/Mar/101" "GNU" -.UC -.if n .hy 0 -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.de CQ \" put $1 in typewriter font -.ft CW -'if n "\c -'if t \\&\\$1\c -'if n \\&\\$1\c -'if n \&" -\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 -'.ft R -.. -.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 -. \" AM - accent mark definitions +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. .bd B 3 -. \" fudge factors for nroff and troff +. \" fudge factors for nroff and troff .if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP .\} .if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& .\} -. \" simple accents for nroff and troff +. \" simple accents for nroff and troff .if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds ? ? -. ds ! ! -. ds / -. ds q +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / .\} .if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' -. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} -. \" troff and (daisy-wheel) nroff accents +. \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] -.ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' -.ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' -.ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' @@ -164,84 +117,66 @@ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E -.ds oe o\h'-(\w'o'u*4/10)'e -.ds Oe O\h'-(\w'O'u*4/10)'E -. \" corrections for vroff +. \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) +. \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ -. ds : e -. ds 8 ss -. ds v \h'-1'\o'\(aa\(ga' -. ds _ \h'-1'^ -. ds . \h'-1'. -. ds 3 3 -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -. ds oe oe -. ds Oe OE +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE .\} .rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "RANLIB.1 1" +.TH RANLIB.1 1 "binutils-2.11.90" "2001-05-30" "GNU" +.UC .SH "NAME" ranlib \- generate index to archive. .SH "SYNOPSIS" +.IX Header "SYNOPSIS" ranlib [\-vV] \fIarchive\fR .SH "DESCRIPTION" -\f(CWranlib\fR generates an index to the contents of an archive and +.IX Header "DESCRIPTION" +\&\f(CW\*(C`ranlib\*(C'\fR generates an index to the contents of an archive and stores it in the archive. The index lists each symbol defined by a member of an archive that is a relocatable object file. .PP -You may use \fBnm \-s\fR or \fBnm --print-armap\fR to list this index. +You may use \fBnm \-s\fR or \fBnm \-\-print-armap\fR to list this index. .PP An archive with such an index speeds up linking to the library and allows routines in the library to call each other without regard to their placement in the archive. .PP -The GNU \f(CWranlib\fR program is another form of GNU \f(CWar\fR; running -\f(CWranlib\fR is completely equivalent to executing \fBar \-s\fR. +The \s-1GNU\s0 \f(CW\*(C`ranlib\*(C'\fR program is another form of \s-1GNU\s0 \f(CW\*(C`ar\*(C'\fR; running +\&\f(CW\*(C`ranlib\*(C'\fR is completely equivalent to executing \fBar \-s\fR. .SH "OPTIONS" -.Ip "\f(CW-v\fR" 4 -.Ip "\f(CW-V\fR" 4 -.Ip "\f(CW--version\fR" 4 -Show the version number of \f(CWranlib\fR. +.IX Header "OPTIONS" +.Ip "\f(CW\*(C`\-v\*(C'\fR" 4 +.IX Item "-v" +.Ip "\f(CW\*(C`\-V\*(C'\fR" 4 +.IX Item "-V" +.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4 +.IX Item "--version" +Show the version number of \f(CW\*(C`ranlib\*(C'\fR. .SH "SEE ALSO" -\fIar\fR\|(1), \fInm\fR\|(1), and the Info entries for \fIbinutils\fR. +.IX Header "SEE ALSO" +\&\fIar\fR\|(1), \fInm\fR\|(1), and the Info entries for \fIbinutils\fR. .SH "COPYRIGHT" +.IX Header "COPYRIGHT" Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. .PP Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.1 +under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the -section entitled \*(L"GNU Free Documentation License\*(R". - -.rn }` '' -.IX Title "RANLIB.1 1" -.IX Name "ranlib - generate index to archive." - -.IX Header "NAME" - -.IX Header "SYNOPSIS" - -.IX Header "DESCRIPTION" - -.IX Header "OPTIONS" - -.IX Item "\f(CW-v\fR" - -.IX Item "\f(CW-V\fR" - -.IX Item "\f(CW--version\fR" - -.IX Header "SEE ALSO" - -.IX Header "COPYRIGHT" - +section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R". diff --git a/binutils/readelf.1 b/binutils/readelf.1 index 52f3c79..bcef986 100644 --- a/binutils/readelf.1 +++ b/binutils/readelf.1 @@ -1,12 +1,9 @@ -.rn '' }` -''' $RCSfile$$Revision$$Date$ -''' -''' $Log$ -''' Revision 1.1 2001/03/25 20:32:25 nickc -''' Automate generate on man pages -''' -''' -.de Sh +.\" Automatically generated by Pod::Man version 1.02 +.\" Wed May 30 12:24:29 2001 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading .br .if t .Sp .ne 5 @@ -14,149 +11,105 @@ \fB\\$1\fR .PP .. -.de Sp +.de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. -.de Ip +.de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. -.de Vb +.de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. -.de Ve +.de Ve \" End verbatim text .ft R .fi .. -''' -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' Bell System Logo is used as a dummy character. -''' +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> .tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ -.ds -- \(*W- -.ds PI pi -.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -.ds L" "" -.ds R" "" -''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of -''' \*(L" and \*(R", except that they are used on ".xx" lines, -''' such as .IP and .SH, which do another additional levels of -''' double-quote interpretation -.ds M" """ -.ds S" """ -.ds N" """"" -.ds T" """"" -.ds L' ' -.ds R' ' -.ds M' ' -.ds S' ' -.ds N' ' -.ds T' ' +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` ` +. ds C' ' 'br\} .el\{\ -.ds -- \(em\| -.tr \*(Tr -.ds L" `` -.ds R" '' -.ds M" `` -.ds S" '' -.ds N" `` -.ds T" '' -.ds L' ` -.ds R' ' -.ds M' ` -.ds S' ' -.ds N' ` -.ds T' ' -.ds PI \(*p +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' 'br\} -.\" If the F register is turned on, we'll generate -.\" index entries out stderr for the following things: -.\" TH Title -.\" SH Header -.\" Sh Subsection -.\" Ip Item -.\" X<> Xref (embedded -.\" Of course, you have to process the output yourself -.\" in some meaninful fashion. -.if \nF \{ -.de IX -.tm Index:\\$1\t\\n%\t"\\$2" -.. -.nr % 0 -.rr F +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +. . +. nr % 0 +. rr F .\} -.TH READELF.1 1 "binutils-2.11.90" "23/Mar/101" "GNU" -.UC -.if n .hy 0 -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.de CQ \" put $1 in typewriter font -.ft CW -'if n "\c -'if t \\&\\$1\c -'if n \\&\\$1\c -'if n \&" -\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 -'.ft R -.. -.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 -. \" AM - accent mark definitions +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. .bd B 3 -. \" fudge factors for nroff and troff +. \" fudge factors for nroff and troff .if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP .\} .if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& .\} -. \" simple accents for nroff and troff +. \" simple accents for nroff and troff .if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds ? ? -. ds ! ! -. ds / -. ds q +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / .\} .if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' -. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} -. \" troff and (daisy-wheel) nroff accents +. \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] -.ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' -.ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' -.ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' @@ -164,226 +117,175 @@ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E -.ds oe o\h'-(\w'o'u*4/10)'e -.ds Oe O\h'-(\w'O'u*4/10)'E -. \" corrections for vroff +. \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) +. \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ -. ds : e -. ds 8 ss -. ds v \h'-1'\o'\(aa\(ga' -. ds _ \h'-1'^ -. ds . \h'-1'. -. ds 3 3 -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -. ds oe oe -. ds Oe OE +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE .\} .rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "READELF.1 1" +.TH READELF.1 1 "binutils-2.11.90" "2001-05-30" "GNU" +.UC .SH "NAME" -readelf \- Displays information about ELF files. +readelf \- Displays information about \s-1ELF\s0 files. .SH "SYNOPSIS" -readelf [ \-a | --all ] - [ \-h | --file-header] - [ \-l | --program-headers | --segments] - [ \-S | --section-headers | --sections] - [ \-e | --headers] - [ \-s | --syms | --symbols] - [ \-n | --notes] - [ \-r | --relocs] - [ \-u | --unwind] - [ \-d | --dynamic] - [ \-V | --version-info] - [ \-D | --use-dynamic] - [ \-x | --hex-dump=] - [ \-w[liaprf] | --debug-dump[=info,=line,=abbrev,=pubnames,=ranges,=frames]] - [ --histogram] - [ \-v | --version] - [ \-H | --help] +.IX Header "SYNOPSIS" +readelf [ \-a | \-\-all ] + [ \-h | \-\-file-header] + [ \-l | \-\-program-headers | \-\-segments] + [ \-S | \-\-section-headers | \-\-sections] + [ \-e | \-\-headers] + [ \-s | \-\-syms | \-\-symbols] + [ \-n | \-\-notes] + [ \-r | \-\-relocs] + [ \-u | \-\-unwind] + [ \-d | \-\-dynamic] + [ \-V | \-\-version-info] + [ \-D | \-\-use-dynamic] + [ \-x | \-\-hex-dump=] + [ \-w[liaprf] | \-\-debug-dump[=info,=line,=abbrev,=pubnames,=ranges,=frames]] + [ \-\-histogram] + [ \-v | \-\-version] + [ \-H | \-\-help] \fIelffile\fR... .SH "DESCRIPTION" -\f(CWreadelf\fR displays information about one or more ELF format object +.IX Header "DESCRIPTION" +\&\f(CW\*(C`readelf\*(C'\fR displays information about one or more \s-1ELF\s0 format object files. The options control what particular information to display. .PP -\fIelffile\fR... are the object files to be examined. At the -moment, \f(CWreadelf\fR does not support examining archives, nor does it -support examing 64 bit ELF files. +\&\fIelffile\fR... are the object files to be examined. At the +moment, \f(CW\*(C`readelf\*(C'\fR does not support examining archives, nor does it +support examing 64 bit \s-1ELF\s0 files. .SH "OPTIONS" +.IX Header "OPTIONS" The long and short forms of options, shown here as alternatives, are equivalent. At least one option besides \fB\-v\fR or \fB\-H\fR must be given. -.Ip "\f(CW-a\fR" 4 -.Ip "\f(CW--all\fR" 4 -Equivalent to specifiying \fB--file-header\fR, -\fB--program-headers\fR, \fB--sections\fR, \fB--symbols\fR, -\fB--relocs\fR, \fB--dynamic\fR, \fB--notes\fR and -\fB--version-info\fR. -.Ip "\f(CW-h\fR" 4 -.Ip "\f(CW--file-header\fR" 4 +.Ip "\f(CW\*(C`\-a\*(C'\fR" 4 +.IX Item "-a" +.Ip "\f(CW\*(C`\-\-all\*(C'\fR" 4 +.IX Item "--all" +Equivalent to specifiying \fB\*(--file-header\fR, +\&\fB\*(--program-headers\fR, \fB\*(--sections\fR, \fB\*(--symbols\fR, +\&\fB\*(--relocs\fR, \fB\*(--dynamic\fR, \fB\*(--notes\fR and +\&\fB\*(--version-info\fR. +.Ip "\f(CW\*(C`\-h\*(C'\fR" 4 +.IX Item "-h" +.Ip "\f(CW\*(C`\-\-file\-header\*(C'\fR" 4 +.IX Item "--file-header" Displays the information contained in the \s-1ELF\s0 header at the start of the file. -.Ip "\f(CW-l\fR" 4 -.Ip "\f(CW--program-headers\fR" 4 -.Ip "\f(CW--segments\fR" 4 +.Ip "\f(CW\*(C`\-l\*(C'\fR" 4 +.IX Item "-l" +.Ip "\f(CW\*(C`\-\-program\-headers\*(C'\fR" 4 +.IX Item "--program-headers" +.Ip "\f(CW\*(C`\-\-segments\*(C'\fR" 4 +.IX Item "--segments" Displays the information contained in the file's segment headers, if it has any. -.Ip "\f(CW-S\fR" 4 -.Ip "\f(CW--sections\fR" 4 -.Ip "\f(CW--section-headers\fR" 4 +.Ip "\f(CW\*(C`\-S\*(C'\fR" 4 +.IX Item "-S" +.Ip "\f(CW\*(C`\-\-sections\*(C'\fR" 4 +.IX Item "--sections" +.Ip "\f(CW\*(C`\-\-section\-headers\*(C'\fR" 4 +.IX Item "--section-headers" Displays the information contained in the file's section headers, if it has any. -.Ip "\f(CW-s\fR" 4 -.Ip "\f(CW--symbols\fR" 4 -.Ip "\f(CW--syms\fR" 4 +.Ip "\f(CW\*(C`\-s\*(C'\fR" 4 +.IX Item "-s" +.Ip "\f(CW\*(C`\-\-symbols\*(C'\fR" 4 +.IX Item "--symbols" +.Ip "\f(CW\*(C`\-\-syms\*(C'\fR" 4 +.IX Item "--syms" Displays the entries in symbol table section of the file, if it has one. -.Ip "\f(CW-e\fR" 4 -.Ip "\f(CW--headers\fR" 4 +.Ip "\f(CW\*(C`\-e\*(C'\fR" 4 +.IX Item "-e" +.Ip "\f(CW\*(C`\-\-headers\*(C'\fR" 4 +.IX Item "--headers" Display all the headers in the file. Equivalent to \fB\-h \-l \-S\fR. -.Ip "\f(CW-n\fR" 4 -.Ip "\f(CW--notes\fR" 4 +.Ip "\f(CW\*(C`\-n\*(C'\fR" 4 +.IX Item "-n" +.Ip "\f(CW\*(C`\-\-notes\*(C'\fR" 4 +.IX Item "--notes" Displays the contents of the \s-1NOTE\s0 segment, if it exists. -.Ip "\f(CW-r\fR" 4 -.Ip "\f(CW--relocs\fR" 4 +.Ip "\f(CW\*(C`\-r\*(C'\fR" 4 +.IX Item "-r" +.Ip "\f(CW\*(C`\-\-relocs\*(C'\fR" 4 +.IX Item "--relocs" Displays the contents of the file's relocation section, if it has one. -.Ip "\f(CW-u\fR" 4 -.Ip "\f(CW--unwind\fR" 4 +.Ip "\f(CW\*(C`\-u\*(C'\fR" 4 +.IX Item "-u" +.Ip "\f(CW\*(C`\-\-unwind\*(C'\fR" 4 +.IX Item "--unwind" Displays the contents of the file's unwind section, if it has one. Only the unwind sections for \s-1IA64\s0 \s-1ELF\s0 files are currently supported. -.Ip "\f(CW-d\fR" 4 -.Ip "\f(CW--dynamic\fR" 4 +.Ip "\f(CW\*(C`\-d\*(C'\fR" 4 +.IX Item "-d" +.Ip "\f(CW\*(C`\-\-dynamic\*(C'\fR" 4 +.IX Item "--dynamic" Displays the contents of the file's dynamic section, if it has one. -.Ip "\f(CW-V\fR" 4 -.Ip "\f(CW--version-info\fR" 4 +.Ip "\f(CW\*(C`\-V\*(C'\fR" 4 +.IX Item "-V" +.Ip "\f(CW\*(C`\-\-version\-info\*(C'\fR" 4 +.IX Item "--version-info" Displays the contents of the version sections in the file, it they exist. -.Ip "\f(CW-D\fR" 4 -.Ip "\f(CW--use-dynamic\fR" 4 -When displaying symbols, this option makes \f(CWreadelf\fR use the +.Ip "\f(CW\*(C`\-D\*(C'\fR" 4 +.IX Item "-D" +.Ip "\f(CW\*(C`\-\-use\-dynamic\*(C'\fR" 4 +.IX Item "--use-dynamic" +When displaying symbols, this option makes \f(CW\*(C`readelf\*(C'\fR use the symbol table in the file's dynamic section, rather than the one in the symbols section. -.Ip "\f(CW-x \fR" 4 -.Ip "\f(CW--hex-dump=\fR" 4 +.Ip "\f(CW\*(C`\-x \*(C'\fR" 4 +.IX Item "-x " +.Ip "\f(CW\*(C`\-\-hex\-dump=\*(C'\fR" 4 +.IX Item "--hex-dump=" Displays the contents of the indicated section as a hexadecimal dump. -.Ip "\f(CW-w[liaprf]\fR" 4 -.Ip "\f(CW--debug-dump[=line,=info,=abbrev,=pubnames,=ranges,=frames]\fR" 4 +.Ip "\f(CW\*(C`\-w[liaprf]\*(C'\fR" 4 +.IX Item "-w[liaprf]" +.Ip "\f(CW\*(C`\-\-debug\-dump[=line,=info,=abbrev,=pubnames,=ranges,=frames]\*(C'\fR" 4 +.IX Item "--debug-dump[=line,=info,=abbrev,=pubnames,=ranges,=frames]" Displays the contents of the debug sections in the file, if any are present. If one of the optional letters or words follows the switch then only data found in those specific sections will be dumped. -.Ip "\f(CW--histogram\fR" 4 +.Ip "\f(CW\*(C`\-\-histogram\*(C'\fR" 4 +.IX Item "--histogram" Display a histogram of bucket list lengths when displaying the contents of the symbol tables. -.Ip "\f(CW-v\fR" 4 -.Ip "\f(CW--version\fR" 4 +.Ip "\f(CW\*(C`\-v\*(C'\fR" 4 +.IX Item "-v" +.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4 +.IX Item "--version" Display the version number of readelf. -.Ip "\f(CW-H\fR" 4 -.Ip "\f(CW--help\fR" 4 -Display the command line options understood by \f(CWreadelf\fR. +.Ip "\f(CW\*(C`\-H\*(C'\fR" 4 +.IX Item "-H" +.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4 +.IX Item "--help" +Display the command line options understood by \f(CW\*(C`readelf\*(C'\fR. .SH "SEE ALSO" -\fIobjdump\fR\|(1), and the Info entries for \fIbinutils\fR. +.IX Header "SEE ALSO" +\&\fIobjdump\fR\|(1), and the Info entries for \fIbinutils\fR. .SH "COPYRIGHT" +.IX Header "COPYRIGHT" Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. .PP Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.1 +under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the -section entitled \*(L"GNU Free Documentation License\*(R". - -.rn }` '' -.IX Title "READELF.1 1" -.IX Name "readelf - Displays information about ELF files." - -.IX Header "NAME" - -.IX Header "SYNOPSIS" - -.IX Header "DESCRIPTION" - -.IX Header "OPTIONS" - -.IX Item "\f(CW-a\fR" - -.IX Item "\f(CW--all\fR" - -.IX Item "\f(CW-h\fR" - -.IX Item "\f(CW--file-header\fR" - -.IX Item "\f(CW-l\fR" - -.IX Item "\f(CW--program-headers\fR" - -.IX Item "\f(CW--segments\fR" - -.IX Item "\f(CW-S\fR" - -.IX Item "\f(CW--sections\fR" - -.IX Item "\f(CW--section-headers\fR" - -.IX Item "\f(CW-s\fR" - -.IX Item "\f(CW--symbols\fR" - -.IX Item "\f(CW--syms\fR" - -.IX Item "\f(CW-e\fR" - -.IX Item "\f(CW--headers\fR" - -.IX Item "\f(CW-n\fR" - -.IX Item "\f(CW--notes\fR" - -.IX Item "\f(CW-r\fR" - -.IX Item "\f(CW--relocs\fR" - -.IX Item "\f(CW-u\fR" - -.IX Item "\f(CW--unwind\fR" - -.IX Item "\f(CW-d\fR" - -.IX Item "\f(CW--dynamic\fR" - -.IX Item "\f(CW-V\fR" - -.IX Item "\f(CW--version-info\fR" - -.IX Item "\f(CW-D\fR" - -.IX Item "\f(CW--use-dynamic\fR" - -.IX Item "\f(CW-x \fR" - -.IX Item "\f(CW--hex-dump=\fR" - -.IX Item "\f(CW-w[liaprf]\fR" - -.IX Item "\f(CW--debug-dump[=line,=info,=abbrev,=pubnames,=ranges,=frames]\fR" - -.IX Item "\f(CW--histogram\fR" - -.IX Item "\f(CW-v\fR" - -.IX Item "\f(CW--version\fR" - -.IX Item "\f(CW-H\fR" - -.IX Item "\f(CW--help\fR" - -.IX Header "SEE ALSO" - -.IX Header "COPYRIGHT" - +section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R". diff --git a/binutils/size.1 b/binutils/size.1 index b319a9c..a8a30b0 100644 --- a/binutils/size.1 +++ b/binutils/size.1 @@ -1,12 +1,9 @@ -.rn '' }` -''' $RCSfile$$Revision$$Date$ -''' -''' $Log$ -''' Revision 1.5 2001/03/25 20:32:25 nickc -''' Automate generate on man pages -''' -''' -.de Sh +.\" Automatically generated by Pod::Man version 1.02 +.\" Wed May 30 12:24:29 2001 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading .br .if t .Sp .ne 5 @@ -14,149 +11,105 @@ \fB\\$1\fR .PP .. -.de Sp +.de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. -.de Ip +.de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. -.de Vb +.de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. -.de Ve +.de Ve \" End verbatim text .ft R .fi .. -''' -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' Bell System Logo is used as a dummy character. -''' +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> .tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ -.ds -- \(*W- -.ds PI pi -.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -.ds L" "" -.ds R" "" -''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of -''' \*(L" and \*(R", except that they are used on ".xx" lines, -''' such as .IP and .SH, which do another additional levels of -''' double-quote interpretation -.ds M" """ -.ds S" """ -.ds N" """"" -.ds T" """"" -.ds L' ' -.ds R' ' -.ds M' ' -.ds S' ' -.ds N' ' -.ds T' ' +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` ` +. ds C' ' 'br\} .el\{\ -.ds -- \(em\| -.tr \*(Tr -.ds L" `` -.ds R" '' -.ds M" `` -.ds S" '' -.ds N" `` -.ds T" '' -.ds L' ` -.ds R' ' -.ds M' ` -.ds S' ' -.ds N' ` -.ds T' ' -.ds PI \(*p +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' 'br\} -.\" If the F register is turned on, we'll generate -.\" index entries out stderr for the following things: -.\" TH Title -.\" SH Header -.\" Sh Subsection -.\" Ip Item -.\" X<> Xref (embedded -.\" Of course, you have to process the output yourself -.\" in some meaninful fashion. -.if \nF \{ -.de IX -.tm Index:\\$1\t\\n%\t"\\$2" -.. -.nr % 0 -.rr F +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +. . +. nr % 0 +. rr F .\} -.TH SIZE.1 1 "binutils-2.11.90" "23/Mar/101" "GNU" -.UC -.if n .hy 0 -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.de CQ \" put $1 in typewriter font -.ft CW -'if n "\c -'if t \\&\\$1\c -'if n \\&\\$1\c -'if n \&" -\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 -'.ft R -.. -.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 -. \" AM - accent mark definitions +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. .bd B 3 -. \" fudge factors for nroff and troff +. \" fudge factors for nroff and troff .if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP .\} .if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& .\} -. \" simple accents for nroff and troff +. \" simple accents for nroff and troff .if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds ? ? -. ds ! ! -. ds / -. ds q +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / .\} .if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' -. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} -. \" troff and (daisy-wheel) nroff accents +. \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] -.ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' -.ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' -.ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' @@ -164,152 +117,126 @@ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E -.ds oe o\h'-(\w'o'u*4/10)'e -.ds Oe O\h'-(\w'O'u*4/10)'E -. \" corrections for vroff +. \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) +. \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ -. ds : e -. ds 8 ss -. ds v \h'-1'\o'\(aa\(ga' -. ds _ \h'-1'^ -. ds . \h'-1'. -. ds 3 3 -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -. ds oe oe -. ds Oe OE +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE .\} .rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "SIZE.1 1" +.TH SIZE.1 1 "binutils-2.11.90" "2001-05-30" "GNU" +.UC .SH "NAME" size \- list section sizes and total size. .SH "SYNOPSIS" -size [ \-A | \-B | --format=\fIcompatibility\fR ] - [ --help ] [ \-d | \-o | \-x | --radix=\fInumber\fR ] - [ --target=\fIbfdname\fR ] [ \-V | --version ] +.IX Header "SYNOPSIS" +size [ \-A | \-B | \-\-format=\fIcompatibility\fR ] + [ \-\-help ] [ \-d | \-o | \-x | \-\-radix=\fInumber\fR ] + [ \-\-target=\fIbfdname\fR ] [ \-V | \-\-version ] [ \fIobjfile\fR... ] .SH "DESCRIPTION" -The GNU \f(CWsize\fR utility lists the section sizes---and the total -size---for each of the object or archive files \fIobjfile\fR in its +.IX Header "DESCRIPTION" +The \s-1GNU\s0 \f(CW\*(C`size\*(C'\fR utility lists the section sizes\-\-\-and the total +size\-\-\-for each of the object or archive files \fIobjfile\fR in its argument list. By default, one line of output is generated for each object file or each module in an archive. .PP -\fIobjfile\fR... are the object files to be examined. -If none are specified, the file \f(CWa.out\fR will be used. +\&\fIobjfile\fR... are the object files to be examined. +If none are specified, the file \f(CW\*(C`a.out\*(C'\fR will be used. .SH "OPTIONS" +.IX Header "OPTIONS" The command line options have the following meanings: -.Ip "\f(CW-A\fR" 4 -.Ip "\f(CW-B\fR" 4 -.Ip "\f(CW--format=\fIcompatibility\fR\fR" 4 +.Ip "\f(CW\*(C`\-A\*(C'\fR" 4 +.IX Item "-A" +.Ip "\f(CW\*(C`\-B\*(C'\fR" 4 +.IX Item "-B" +.Ip "\f(CW\*(C`\-\-format=\f(CIcompatibility\f(CW\*(C'\fR" 4 +.IX Item "--format=compatibility" Using one of these options, you can choose whether the output from \s-1GNU\s0 -\f(CWsize\fR resembles output from System V \f(CWsize\fR (using \fB\-A\fR, -or \fB--format=sysv\fR), or Berkeley \f(CWsize\fR (using \fB\-B\fR, or -\fB--format=berkeley\fR). The default is the one-line format similar to +\&\f(CW\*(C`size\*(C'\fR resembles output from System V \f(CW\*(C`size\*(C'\fR (using \fB\-A\fR, +or \fB\*(--format=sysv\fR), or Berkeley \f(CW\*(C`size\*(C'\fR (using \fB\-B\fR, or +\&\fB\*(--format=berkeley\fR). The default is the one-line format similar to Berkeley's. .Sp Here is an example of the Berkeley (default) format of output from -\f(CWsize\fR: - - $ size --format=Berkeley ranlib size - text data bss dec hex filename - 294880 81920 11592 388392 5ed28 ranlib - 294880 81920 11888 388688 5ee50 size +\&\f(CW\*(C`size\*(C'\fR: .Sp +.Vb 4 +\& $ size --format=Berkeley ranlib size +\& text data bss dec hex filename +\& 294880 81920 11592 388392 5ed28 ranlib +\& 294880 81920 11888 388688 5ee50 size +.Ve This is the same data, but displayed closer to System V conventions: .Sp -.Vb 16 -\& +.Vb 7 \& $ size --format=SysV ranlib size \& ranlib : \& section size addr \& .text 294880 8192 \& .data 81920 303104 \& .bss 11592 385024 -\& Total 388392 -\& -\& +\& Total 388392 +.Ve +.Vb 6 \& size : \& section size addr \& .text 294880 8192 \& .data 81920 303104 \& .bss 11888 385024 -\& Total 388688 +\& Total 388688 .Ve -.Ip "\f(CW--help\fR" 4 +.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4 +.IX Item "--help" Show a summary of acceptable arguments and options. -.Ip "\f(CW-d\fR" 4 -.Ip "\f(CW-o\fR" 4 -.Ip "\f(CW-x\fR" 4 -.Ip "\f(CW--radix=\fInumber\fR\fR" 4 +.Ip "\f(CW\*(C`\-d\*(C'\fR" 4 +.IX Item "-d" +.Ip "\f(CW\*(C`\-o\*(C'\fR" 4 +.IX Item "-o" +.Ip "\f(CW\*(C`\-x\*(C'\fR" 4 +.IX Item "-x" +.Ip "\f(CW\*(C`\-\-radix=\f(CInumber\f(CW\*(C'\fR" 4 +.IX Item "--radix=number" Using one of these options, you can control whether the size of each -section is given in decimal (\fB\-d\fR, or \fB--radix=10\fR); octal -(\fB\-o\fR, or \fB--radix=8\fR); or hexadecimal (\fB\-x\fR, or -\fB--radix=16\fR). In \fB--radix=\fR\fInumber\fR, only the three +section is given in decimal (\fB\-d\fR, or \fB\*(--radix=10\fR); octal +(\fB\-o\fR, or \fB\*(--radix=8\fR); or hexadecimal (\fB\-x\fR, or +\&\fB\*(--radix=16\fR). In \fB\*(--radix=\fR\fInumber\fR, only the three values (8, 10, 16) are supported. The total size is always given in two radices; decimal and hexadecimal for \fB\-d\fR or \fB\-x\fR output, or octal and hexadecimal if you're using \fB\-o\fR. -.Ip "\f(CW--target=\fIbfdname\fR\fR" 4 +.Ip "\f(CW\*(C`\-\-target=\f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "--target=bfdname" Specify that the object-code format for \fIobjfile\fR is -\fIbfdname\fR. This option may not be necessary; \f(CWsize\fR can +\&\fIbfdname\fR. This option may not be necessary; \f(CW\*(C`size\*(C'\fR can automatically recognize many formats. -.Ip "\f(CW-V\fR" 4 -.Ip "\f(CW--version\fR" 4 -Display the version number of \f(CWsize\fR. +.Ip "\f(CW\*(C`\-V\*(C'\fR" 4 +.IX Item "-V" +.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4 +.IX Item "--version" +Display the version number of \f(CW\*(C`size\*(C'\fR. .SH "SEE ALSO" -\fIar\fR\|(1), \fIobjdump\fR\|(1), \fIreadelf\fR\|(1), and the Info entries for \fIbinutils\fR. +.IX Header "SEE ALSO" +\&\fIar\fR\|(1), \fIobjdump\fR\|(1), \fIreadelf\fR\|(1), and the Info entries for \fIbinutils\fR. .SH "COPYRIGHT" +.IX Header "COPYRIGHT" Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. .PP Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.1 +under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the -section entitled \*(L"GNU Free Documentation License\*(R". - -.rn }` '' -.IX Title "SIZE.1 1" -.IX Name "size - list section sizes and total size." - -.IX Header "NAME" - -.IX Header "SYNOPSIS" - -.IX Header "DESCRIPTION" - -.IX Header "OPTIONS" - -.IX Item "\f(CW-A\fR" - -.IX Item "\f(CW-B\fR" - -.IX Item "\f(CW--format=\fIcompatibility\fR\fR" - -.IX Item "\f(CW--help\fR" - -.IX Item "\f(CW-d\fR" - -.IX Item "\f(CW-o\fR" - -.IX Item "\f(CW-x\fR" - -.IX Item "\f(CW--radix=\fInumber\fR\fR" - -.IX Item "\f(CW--target=\fIbfdname\fR\fR" - -.IX Item "\f(CW-V\fR" - -.IX Item "\f(CW--version\fR" - -.IX Header "SEE ALSO" - -.IX Header "COPYRIGHT" - +section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R". diff --git a/binutils/strings.1 b/binutils/strings.1 index 441c087..8fccf65 100644 --- a/binutils/strings.1 +++ b/binutils/strings.1 @@ -1,12 +1,9 @@ -.rn '' }` -''' $RCSfile$$Revision$$Date$ -''' -''' $Log$ -''' Revision 1.7 2001/03/25 20:32:25 nickc -''' Automate generate on man pages -''' -''' -.de Sh +.\" Automatically generated by Pod::Man version 1.02 +.\" Wed May 30 12:24:29 2001 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading .br .if t .Sp .ne 5 @@ -14,149 +11,105 @@ \fB\\$1\fR .PP .. -.de Sp +.de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. -.de Ip +.de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. -.de Vb +.de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. -.de Ve +.de Ve \" End verbatim text .ft R .fi .. -''' -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' Bell System Logo is used as a dummy character. -''' +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> .tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ -.ds -- \(*W- -.ds PI pi -.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -.ds L" "" -.ds R" "" -''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of -''' \*(L" and \*(R", except that they are used on ".xx" lines, -''' such as .IP and .SH, which do another additional levels of -''' double-quote interpretation -.ds M" """ -.ds S" """ -.ds N" """"" -.ds T" """"" -.ds L' ' -.ds R' ' -.ds M' ' -.ds S' ' -.ds N' ' -.ds T' ' +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` ` +. ds C' ' 'br\} .el\{\ -.ds -- \(em\| -.tr \*(Tr -.ds L" `` -.ds R" '' -.ds M" `` -.ds S" '' -.ds N" `` -.ds T" '' -.ds L' ` -.ds R' ' -.ds M' ` -.ds S' ' -.ds N' ` -.ds T' ' -.ds PI \(*p +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' 'br\} -.\" If the F register is turned on, we'll generate -.\" index entries out stderr for the following things: -.\" TH Title -.\" SH Header -.\" Sh Subsection -.\" Ip Item -.\" X<> Xref (embedded -.\" Of course, you have to process the output yourself -.\" in some meaninful fashion. -.if \nF \{ -.de IX -.tm Index:\\$1\t\\n%\t"\\$2" -.. -.nr % 0 -.rr F +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +. . +. nr % 0 +. rr F .\} -.TH STRINGS.1 1 "binutils-2.11.90" "23/Mar/101" "GNU" -.UC -.if n .hy 0 -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.de CQ \" put $1 in typewriter font -.ft CW -'if n "\c -'if t \\&\\$1\c -'if n \\&\\$1\c -'if n \&" -\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 -'.ft R -.. -.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 -. \" AM - accent mark definitions +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. .bd B 3 -. \" fudge factors for nroff and troff +. \" fudge factors for nroff and troff .if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP .\} .if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& .\} -. \" simple accents for nroff and troff +. \" simple accents for nroff and troff .if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds ? ? -. ds ! ! -. ds / -. ds q +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / .\} .if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' -. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} -. \" troff and (daisy-wheel) nroff accents +. \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] -.ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' -.ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' -.ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' @@ -164,134 +117,104 @@ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E -.ds oe o\h'-(\w'o'u*4/10)'e -.ds Oe O\h'-(\w'O'u*4/10)'E -. \" corrections for vroff +. \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) +. \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ -. ds : e -. ds 8 ss -. ds v \h'-1'\o'\(aa\(ga' -. ds _ \h'-1'^ -. ds . \h'-1'. -. ds 3 3 -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -. ds oe oe -. ds Oe OE +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE .\} .rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "STRINGS.1 1" +.TH STRINGS.1 1 "binutils-2.11.90" "2001-05-30" "GNU" +.UC .SH "NAME" strings \- print the strings of printable characters in files. .SH "SYNOPSIS" -strings [\-afov] [\-\fImin-len\fR] [\-n \fImin-len\fR] [\-t \fIradix\fR] [\-] - [--all] [--print-file-name] [--bytes=\fImin-len\fR] - [--radix=\fIradix\fR] [--target=\fIbfdname\fR] - [--help] [--version] \fIfile\fR... +.IX Header "SYNOPSIS" +strings [\-afov] [-\fImin-len\fR] [\-n \fImin-len\fR] [\-t \fIradix\fR] [\-] + [\-\-all] [\-\-print-file-name] [\-\-bytes=\fImin-len\fR] + [\-\-radix=\fIradix\fR] [\-\-target=\fIbfdname\fR] + [\-\-help] [\-\-version] \fIfile\fR... .SH "DESCRIPTION" -For each \fIfile\fR given, GNU \f(CWstrings\fR prints the printable +.IX Header "DESCRIPTION" +For each \fIfile\fR given, \s-1GNU\s0 \f(CW\*(C`strings\*(C'\fR prints the printable character sequences that are at least 4 characters long (or the number given with the options below) and are followed by an unprintable character. By default, it only prints the strings from the initialized and loaded sections of object files; for other types of files, it prints the strings from the whole file. .PP -\f(CWstrings\fR is mainly useful for determining the contents of non-text +\&\f(CW\*(C`strings\*(C'\fR is mainly useful for determining the contents of non-text files. .SH "OPTIONS" -.Ip "\f(CW-a\fR" 4 -.Ip "\f(CW--all\fR" 4 -.Ip "\f(CW-\fR" 4 +.IX Header "OPTIONS" +.Ip "\f(CW\*(C`\-a\*(C'\fR" 4 +.IX Item "-a" +.Ip "\f(CW\*(C`\-\-all\*(C'\fR" 4 +.IX Item "--all" +.Ip "\f(CW\*(C`\-\*(C'\fR" 4 +.IX Item "-" Do not scan only the initialized and loaded sections of object files; scan the whole files. -.Ip "\f(CW-f\fR" 4 -.Ip "\f(CW--print-file-name\fR" 4 +.Ip "\f(CW\*(C`\-f\*(C'\fR" 4 +.IX Item "-f" +.Ip "\f(CW\*(C`\-\-print\-file\-name\*(C'\fR" 4 +.IX Item "--print-file-name" Print the name of the file before each string. -.Ip "\f(CW--help\fR" 4 +.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4 +.IX Item "--help" Print a summary of the program usage on the standard output and exit. -.Ip "\f(CW-\fImin-len\fR\fR" 4 -.Ip "\f(CW-n \fImin-len\fR\fR" 4 -.Ip "\f(CW--bytes=\fImin-len\fR\fR" 4 +.Ip "\f(CW\*(C`\-\f(CImin\-len\f(CW\*(C'\fR" 4 +.IX Item "-min-len" +.Ip "\f(CW\*(C`\-n \f(CImin\-len\f(CW\*(C'\fR" 4 +.IX Item "-n min-len" +.Ip "\f(CW\*(C`\-\-bytes=\f(CImin\-len\f(CW\*(C'\fR" 4 +.IX Item "--bytes=min-len" Print sequences of characters that are at least \fImin-len\fR characters long, instead of the default 4. -.Ip "\f(CW-o\fR" 4 -Like \fB\-t o\fR. Some other versions of \f(CWstrings\fR have \fB\-o\fR +.Ip "\f(CW\*(C`\-o\*(C'\fR" 4 +.IX Item "-o" +Like \fB\-t o\fR. Some other versions of \f(CW\*(C`strings\*(C'\fR have \fB\-o\fR act like \fB\-t d\fR instead. Since we can not be compatible with both ways, we simply chose one. -.Ip "\f(CW-t \fIradix\fR\fR" 4 -.Ip "\f(CW--radix=\fIradix\fR\fR" 4 +.Ip "\f(CW\*(C`\-t \f(CIradix\f(CW\*(C'\fR" 4 +.IX Item "-t radix" +.Ip "\f(CW\*(C`\-\-radix=\f(CIradix\f(CW\*(C'\fR" 4 +.IX Item "--radix=radix" Print the offset within the file before each string. The single -character argument specifies the radix of the offset---\fBo\fR for +character argument specifies the radix of the offset\-\--\fBo\fR for octal, \fBx\fR for hexadecimal, or \fBd\fR for decimal. -.Ip "\f(CW--target=\fIbfdname\fR\fR" 4 +.Ip "\f(CW\*(C`\-\-target=\f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "--target=bfdname" Specify an object code format other than your system's default format. -.Ip "\f(CW-v\fR" 4 -.Ip "\f(CW--version\fR" 4 +.Ip "\f(CW\*(C`\-v\*(C'\fR" 4 +.IX Item "-v" +.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4 +.IX Item "--version" Print the program version number on the standard output and exit. .SH "SEE ALSO" -\fIar\fR\|(1), \fInm\fR\|(1), \fIobjdump\fR\|(1), \fIranlib\fR\|(1), \fIreadelf\fR\|(1) +.IX Header "SEE ALSO" +\&\fIar\fR\|(1), \fInm\fR\|(1), \fIobjdump\fR\|(1), \fIranlib\fR\|(1), \fIreadelf\fR\|(1) and the Info entries for \fIbinutils\fR. .SH "COPYRIGHT" +.IX Header "COPYRIGHT" Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. .PP Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.1 +under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the -section entitled \*(L"GNU Free Documentation License\*(R". - -.rn }` '' -.IX Title "STRINGS.1 1" -.IX Name "strings - print the strings of printable characters in files." - -.IX Header "NAME" - -.IX Header "SYNOPSIS" - -.IX Header "DESCRIPTION" - -.IX Header "OPTIONS" - -.IX Item "\f(CW-a\fR" - -.IX Item "\f(CW--all\fR" - -.IX Item "\f(CW-\fR" - -.IX Item "\f(CW-f\fR" - -.IX Item "\f(CW--print-file-name\fR" - -.IX Item "\f(CW--help\fR" - -.IX Item "\f(CW-\fImin-len\fR\fR" - -.IX Item "\f(CW-n \fImin-len\fR\fR" - -.IX Item "\f(CW--bytes=\fImin-len\fR\fR" - -.IX Item "\f(CW-o\fR" - -.IX Item "\f(CW-t \fIradix\fR\fR" - -.IX Item "\f(CW--radix=\fIradix\fR\fR" - -.IX Item "\f(CW--target=\fIbfdname\fR\fR" - -.IX Item "\f(CW-v\fR" - -.IX Item "\f(CW--version\fR" - -.IX Header "SEE ALSO" - -.IX Header "COPYRIGHT" - +section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R". diff --git a/binutils/strip.1 b/binutils/strip.1 index 0c8d63b..b43db62 100644 --- a/binutils/strip.1 +++ b/binutils/strip.1 @@ -1,12 +1,9 @@ -.rn '' }` -''' $RCSfile$$Revision$$Date$ -''' -''' $Log$ -''' Revision 1.6 2001/03/25 20:32:25 nickc -''' Automate generate on man pages -''' -''' -.de Sh +.\" Automatically generated by Pod::Man version 1.02 +.\" Wed May 30 12:24:29 2001 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading .br .if t .Sp .ne 5 @@ -14,149 +11,105 @@ \fB\\$1\fR .PP .. -.de Sp +.de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. -.de Ip +.de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. -.de Vb +.de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. -.de Ve +.de Ve \" End verbatim text .ft R .fi .. -''' -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' Bell System Logo is used as a dummy character. -''' +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> .tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ -.ds -- \(*W- -.ds PI pi -.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -.ds L" "" -.ds R" "" -''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of -''' \*(L" and \*(R", except that they are used on ".xx" lines, -''' such as .IP and .SH, which do another additional levels of -''' double-quote interpretation -.ds M" """ -.ds S" """ -.ds N" """"" -.ds T" """"" -.ds L' ' -.ds R' ' -.ds M' ' -.ds S' ' -.ds N' ' -.ds T' ' +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` ` +. ds C' ' 'br\} .el\{\ -.ds -- \(em\| -.tr \*(Tr -.ds L" `` -.ds R" '' -.ds M" `` -.ds S" '' -.ds N" `` -.ds T" '' -.ds L' ` -.ds R' ' -.ds M' ` -.ds S' ' -.ds N' ` -.ds T' ' -.ds PI \(*p +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' 'br\} -.\" If the F register is turned on, we'll generate -.\" index entries out stderr for the following things: -.\" TH Title -.\" SH Header -.\" Sh Subsection -.\" Ip Item -.\" X<> Xref (embedded -.\" Of course, you have to process the output yourself -.\" in some meaninful fashion. -.if \nF \{ -.de IX -.tm Index:\\$1\t\\n%\t"\\$2" -.. -.nr % 0 -.rr F +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +. . +. nr % 0 +. rr F .\} -.TH STRIP.1 1 "binutils-2.11.90" "23/Mar/101" "GNU" -.UC -.if n .hy 0 -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.de CQ \" put $1 in typewriter font -.ft CW -'if n "\c -'if t \\&\\$1\c -'if n \\&\\$1\c -'if n \&" -\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 -'.ft R -.. -.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 -. \" AM - accent mark definitions +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. .bd B 3 -. \" fudge factors for nroff and troff +. \" fudge factors for nroff and troff .if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP .\} .if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& .\} -. \" simple accents for nroff and troff +. \" simple accents for nroff and troff .if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds ? ? -. ds ! ! -. ds / -. ds q +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / .\} .if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' -. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} -. \" troff and (daisy-wheel) nroff accents +. \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] -.ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' -.ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' -.ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' @@ -164,195 +117,150 @@ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E -.ds oe o\h'-(\w'o'u*4/10)'e -.ds Oe O\h'-(\w'O'u*4/10)'E -. \" corrections for vroff +. \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) +. \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ -. ds : e -. ds 8 ss -. ds v \h'-1'\o'\(aa\(ga' -. ds _ \h'-1'^ -. ds . \h'-1'. -. ds 3 3 -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -. ds oe oe -. ds Oe OE +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE .\} .rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "STRIP.1 1" +.TH STRIP.1 1 "binutils-2.11.90" "2001-05-30" "GNU" +.UC .SH "NAME" strip \- Discard symbols from object files. .SH "SYNOPSIS" -strip [ \-F \fIbfdname\fR | --target=\fIbfdname\fR ] - [ \-I \fIbfdname\fR | --input-target=\fIbfdname\fR ] - [ \-O \fIbfdname\fR | --output-target=\fIbfdname\fR ] - [ \-s | --strip-all ] [ \-S | \-g | --strip-debug ] - [ \-K \fIsymbolname\fR | --keep-symbol=\fIsymbolname\fR ] - [ \-N \fIsymbolname\fR | --strip-symbol=\fIsymbolname\fR ] - [ \-x | --discard-all ] [ \-X | --discard-locals ] - [ \-R \fIsectionname\fR | --remove-section=\fIsectionname\fR ] - [ \-o \fIfile\fR ] [ \-p | --preserve-dates ] - [ \-v | --verbose ] [ \-V | --version ] [ --help ] +.IX Header "SYNOPSIS" +strip [ \-F \fIbfdname\fR | \-\-target=\fIbfdname\fR ] + [ \-I \fIbfdname\fR | \-\-input-target=\fIbfdname\fR ] + [ \-O \fIbfdname\fR | \-\-output-target=\fIbfdname\fR ] + [ \-s | \-\-strip-all ] [ \-S | \-g | \-\-strip-debug ] + [ \-K \fIsymbolname\fR | \-\-keep-symbol=\fIsymbolname\fR ] + [ \-N \fIsymbolname\fR | \-\-strip-symbol=\fIsymbolname\fR ] + [ \-x | \-\-discard-all ] [ \-X | \-\-discard-locals ] + [ \-R \fIsectionname\fR | \-\-remove-section=\fIsectionname\fR ] + [ \-o \fIfile\fR ] [ \-p | \-\-preserve-dates ] + [ \-v | \-\-verbose ] [ \-V | \-\-version ] [ \-\-help ] \fIobjfile\fR... .SH "DESCRIPTION" -GNU \f(CWstrip\fR discards all symbols from object files -\fIobjfile\fR. The list of object files may include archives. +.IX Header "DESCRIPTION" +\&\s-1GNU\s0 \f(CW\*(C`strip\*(C'\fR discards all symbols from object files +\&\fIobjfile\fR. The list of object files may include archives. At least one object file must be given. .PP -\f(CWstrip\fR modifies the files named in its argument, +\&\f(CW\*(C`strip\*(C'\fR modifies the files named in its argument, rather than writing modified copies under different names. .SH "OPTIONS" -.Ip "\f(CW-F \fIbfdname\fR\fR" 4 -.Ip "\f(CW--target=\fIbfdname\fR\fR" 4 +.IX Header "OPTIONS" +.Ip "\f(CW\*(C`\-F \f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "-F bfdname" +.Ip "\f(CW\*(C`\-\-target=\f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "--target=bfdname" Treat the original \fIobjfile\fR as a file with the object code format \fIbfdname\fR, and rewrite it in the same format. -.Ip "\f(CW--help\fR" 4 -Show a summary of the options to \f(CWstrip\fR and exit. -.Ip "\f(CW-I \fIbfdname\fR \fR" 4 -.Ip "\f(CW--input-target=\fIbfdname\fR\fR" 4 +.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4 +.IX Item "--help" +Show a summary of the options to \f(CW\*(C`strip\*(C'\fR and exit. +.Ip "\f(CW\*(C`\-I \f(CIbfdname\f(CW \*(C'\fR" 4 +.IX Item "-I bfdname " +.Ip "\f(CW\*(C`\-\-input\-target=\f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "--input-target=bfdname" Treat the original \fIobjfile\fR as a file with the object code format \fIbfdname\fR. -.Ip "\f(CW-O \fIbfdname\fR\fR" 4 -.Ip "\f(CW--output-target=\fIbfdname\fR\fR" 4 +.Ip "\f(CW\*(C`\-O \f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "-O bfdname" +.Ip "\f(CW\*(C`\-\-output\-target=\f(CIbfdname\f(CW\*(C'\fR" 4 +.IX Item "--output-target=bfdname" Replace \fIobjfile\fR with a file in the output format \fIbfdname\fR. -.Ip "\f(CW-R \fIsectionname\fR\fR" 4 -.Ip "\f(CW--remove-section=\fIsectionname\fR\fR" 4 +.Ip "\f(CW\*(C`\-R \f(CIsectionname\f(CW\*(C'\fR" 4 +.IX Item "-R sectionname" +.Ip "\f(CW\*(C`\-\-remove\-section=\f(CIsectionname\f(CW\*(C'\fR" 4 +.IX Item "--remove-section=sectionname" Remove any section named \fIsectionname\fR from the output file. This option may be given more than once. Note that using this option inappropriately may make the output file unusable. -.Ip "\f(CW-s\fR" 4 -.Ip "\f(CW--strip-all\fR" 4 +.Ip "\f(CW\*(C`\-s\*(C'\fR" 4 +.IX Item "-s" +.Ip "\f(CW\*(C`\-\-strip\-all\*(C'\fR" 4 +.IX Item "--strip-all" Remove all symbols. -.Ip "\f(CW-g\fR" 4 -.Ip "\f(CW-S\fR" 4 -.Ip "\f(CW--strip-debug\fR" 4 +.Ip "\f(CW\*(C`\-g\*(C'\fR" 4 +.IX Item "-g" +.Ip "\f(CW\*(C`\-S\*(C'\fR" 4 +.IX Item "-S" +.Ip "\f(CW\*(C`\-\-strip\-debug\*(C'\fR" 4 +.IX Item "--strip-debug" Remove debugging symbols only. -.Ip "\f(CW--strip-unneeded\fR" 4 +.Ip "\f(CW\*(C`\-\-strip\-unneeded\*(C'\fR" 4 +.IX Item "--strip-unneeded" Remove all symbols that are not needed for relocation processing. -.Ip "\f(CW-K \fIsymbolname\fR\fR" 4 -.Ip "\f(CW--keep-symbol=\fIsymbolname\fR\fR" 4 +.Ip "\f(CW\*(C`\-K \f(CIsymbolname\f(CW\*(C'\fR" 4 +.IX Item "-K symbolname" +.Ip "\f(CW\*(C`\-\-keep\-symbol=\f(CIsymbolname\f(CW\*(C'\fR" 4 +.IX Item "--keep-symbol=symbolname" Keep only symbol \fIsymbolname\fR from the source file. This option may be given more than once. -.Ip "\f(CW-N \fIsymbolname\fR\fR" 4 -.Ip "\f(CW--strip-symbol=\fIsymbolname\fR\fR" 4 +.Ip "\f(CW\*(C`\-N \f(CIsymbolname\f(CW\*(C'\fR" 4 +.IX Item "-N symbolname" +.Ip "\f(CW\*(C`\-\-strip\-symbol=\f(CIsymbolname\f(CW\*(C'\fR" 4 +.IX Item "--strip-symbol=symbolname" Remove symbol \fIsymbolname\fR from the source file. This option may be given more than once, and may be combined with strip options other than -\f(CW-K\fR. -.Ip "\f(CW-o \fIfile\fR\fR" 4 +\&\f(CW\*(C`\-K\*(C'\fR. +.Ip "\f(CW\*(C`\-o \f(CIfile\f(CW\*(C'\fR" 4 +.IX Item "-o file" Put the stripped output in \fIfile\fR, rather than replacing the existing file. When this argument is used, only one \fIobjfile\fR argument may be specified. -.Ip "\f(CW-p\fR" 4 -.Ip "\f(CW--preserve-dates\fR" 4 +.Ip "\f(CW\*(C`\-p\*(C'\fR" 4 +.IX Item "-p" +.Ip "\f(CW\*(C`\-\-preserve\-dates\*(C'\fR" 4 +.IX Item "--preserve-dates" Preserve the access and modification dates of the file. -.Ip "\f(CW-x\fR" 4 -.Ip "\f(CW--discard-all\fR" 4 +.Ip "\f(CW\*(C`\-x\*(C'\fR" 4 +.IX Item "-x" +.Ip "\f(CW\*(C`\-\-discard\-all\*(C'\fR" 4 +.IX Item "--discard-all" Remove non-global symbols. -.Ip "\f(CW-X\fR" 4 -.Ip "\f(CW--discard-locals\fR" 4 +.Ip "\f(CW\*(C`\-X\*(C'\fR" 4 +.IX Item "-X" +.Ip "\f(CW\*(C`\-\-discard\-locals\*(C'\fR" 4 +.IX Item "--discard-locals" Remove compiler-generated local symbols. (These usually start with \fBL\fR or \fB.\fR.) -.Ip "\f(CW-V\fR" 4 -.Ip "\f(CW--version\fR" 4 -Show the version number for \f(CWstrip\fR. -.Ip "\f(CW-v\fR" 4 -.Ip "\f(CW--verbose\fR" 4 +.Ip "\f(CW\*(C`\-V\*(C'\fR" 4 +.IX Item "-V" +.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4 +.IX Item "--version" +Show the version number for \f(CW\*(C`strip\*(C'\fR. +.Ip "\f(CW\*(C`\-v\*(C'\fR" 4 +.IX Item "-v" +.Ip "\f(CW\*(C`\-\-verbose\*(C'\fR" 4 +.IX Item "--verbose" Verbose output: list all object files modified. In the case of archives, \fBstrip \-v\fR lists all members of the archive. .SH "SEE ALSO" +.IX Header "SEE ALSO" the Info entries for \fIbinutils\fR. .SH "COPYRIGHT" +.IX Header "COPYRIGHT" Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. .PP Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.1 +under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the -section entitled \*(L"GNU Free Documentation License\*(R". - -.rn }` '' -.IX Title "STRIP.1 1" -.IX Name "strip - Discard symbols from object files." - -.IX Header "NAME" - -.IX Header "SYNOPSIS" - -.IX Header "DESCRIPTION" - -.IX Header "OPTIONS" - -.IX Item "\f(CW-F \fIbfdname\fR\fR" - -.IX Item "\f(CW--target=\fIbfdname\fR\fR" - -.IX Item "\f(CW--help\fR" - -.IX Item "\f(CW-I \fIbfdname\fR \fR" - -.IX Item "\f(CW--input-target=\fIbfdname\fR\fR" - -.IX Item "\f(CW-O \fIbfdname\fR\fR" - -.IX Item "\f(CW--output-target=\fIbfdname\fR\fR" - -.IX Item "\f(CW-R \fIsectionname\fR\fR" - -.IX Item "\f(CW--remove-section=\fIsectionname\fR\fR" - -.IX Item "\f(CW-s\fR" - -.IX Item "\f(CW--strip-all\fR" - -.IX Item "\f(CW-g\fR" - -.IX Item "\f(CW-S\fR" - -.IX Item "\f(CW--strip-debug\fR" - -.IX Item "\f(CW--strip-unneeded\fR" - -.IX Item "\f(CW-K \fIsymbolname\fR\fR" - -.IX Item "\f(CW--keep-symbol=\fIsymbolname\fR\fR" - -.IX Item "\f(CW-N \fIsymbolname\fR\fR" - -.IX Item "\f(CW--strip-symbol=\fIsymbolname\fR\fR" - -.IX Item "\f(CW-o \fIfile\fR\fR" - -.IX Item "\f(CW-p\fR" - -.IX Item "\f(CW--preserve-dates\fR" - -.IX Item "\f(CW-x\fR" - -.IX Item "\f(CW--discard-all\fR" - -.IX Item "\f(CW-X\fR" - -.IX Item "\f(CW--discard-locals\fR" - -.IX Item "\f(CW-V\fR" - -.IX Item "\f(CW--version\fR" - -.IX Item "\f(CW-v\fR" - -.IX Item "\f(CW--verbose\fR" - -.IX Header "SEE ALSO" - -.IX Header "COPYRIGHT" - +section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R". diff --git a/binutils/windres.1 b/binutils/windres.1 index 998e2ae..ac0366a 100644 --- a/binutils/windres.1 +++ b/binutils/windres.1 @@ -1,12 +1,9 @@ -.rn '' }` -''' $RCSfile$$Revision$$Date$ -''' -''' $Log$ -''' Revision 1.1 2001/03/25 20:32:25 nickc -''' Automate generate on man pages -''' -''' -.de Sh +.\" Automatically generated by Pod::Man version 1.02 +.\" Wed May 30 12:24:30 2001 +.\" +.\" Standard preamble: +.\" ====================================================================== +.de Sh \" Subsection heading .br .if t .Sp .ne 5 @@ -14,149 +11,105 @@ \fB\\$1\fR .PP .. -.de Sp +.de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. -.de Ip +.de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. -.de Vb +.de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. -.de Ve +.de Ve \" End verbatim text .ft R .fi .. -''' -''' -''' Set up \*(-- to give an unbreakable dash; -''' string Tr holds user defined translation string. -''' Bell System Logo is used as a dummy character. -''' +.\" Set up some character translations and predefined strings. \*(-- will +.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left +.\" double quote, and \*(R" will give a right double quote. | will give a +.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used +.\" to do unbreakable dashes and therefore won't be available. \*(C` and +.\" \*(C' expand to `' in nroff, nothing in troff, for use with C<> .tr \(*W-|\(bv\*(Tr +.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ -.ds -- \(*W- -.ds PI pi -.if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch -.if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch -.ds L" "" -.ds R" "" -''' \*(M", \*(S", \*(N" and \*(T" are the equivalent of -''' \*(L" and \*(R", except that they are used on ".xx" lines, -''' such as .IP and .SH, which do another additional levels of -''' double-quote interpretation -.ds M" """ -.ds S" """ -.ds N" """"" -.ds T" """"" -.ds L' ' -.ds R' ' -.ds M' ' -.ds S' ' -.ds N' ' -.ds T' ' +. ds -- \(*W- +. ds PI pi +. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch +. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch +. ds L" "" +. ds R" "" +. ds C` ` +. ds C' ' 'br\} .el\{\ -.ds -- \(em\| -.tr \*(Tr -.ds L" `` -.ds R" '' -.ds M" `` -.ds S" '' -.ds N" `` -.ds T" '' -.ds L' ` -.ds R' ' -.ds M' ` -.ds S' ' -.ds N' ` -.ds T' ' -.ds PI \(*p +. ds -- \|\(em\| +. ds PI \(*p +. ds L" `` +. ds R" '' 'br\} -.\" If the F register is turned on, we'll generate -.\" index entries out stderr for the following things: -.\" TH Title -.\" SH Header -.\" Sh Subsection -.\" Ip Item -.\" X<> Xref (embedded -.\" Of course, you have to process the output yourself -.\" in some meaninful fashion. -.if \nF \{ -.de IX -.tm Index:\\$1\t\\n%\t"\\$2" -.. -.nr % 0 -.rr F +.\" +.\" If the F register is turned on, we'll generate index entries on stderr +.\" for titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and +.\" index entries marked with X<> in POD. Of course, you'll have to process +.\" the output yourself in some meaningful fashion. +.if \nF \{\ +. de IX +. tm Index:\\$1\t\\n%\t"\\$2" +. . +. nr % 0 +. rr F .\} -.TH WINDRES.1 1 "binutils-2.11.90" "23/Mar/101" "GNU" -.UC -.if n .hy 0 -.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' -.de CQ \" put $1 in typewriter font -.ft CW -'if n "\c -'if t \\&\\$1\c -'if n \\&\\$1\c -'if n \&" -\\&\\$2 \\$3 \\$4 \\$5 \\$6 \\$7 -'.ft R -.. -.\" @(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2 -. \" AM - accent mark definitions +.\" +.\" For nroff, turn off justification. Always turn off hyphenation; it +.\" makes way too many mistakes in technical documents. +.hy 0 +.\" +.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2). +.\" Fear. Run. Save yourself. No user-serviceable parts. .bd B 3 -. \" fudge factors for nroff and troff +. \" fudge factors for nroff and troff .if n \{\ -. ds #H 0 -. ds #V .8m -. ds #F .3m -. ds #[ \f1 -. ds #] \fP +. ds #H 0 +. ds #V .8m +. ds #F .3m +. ds #[ \f1 +. ds #] \fP .\} .if t \{\ -. ds #H ((1u-(\\\\n(.fu%2u))*.13m) -. ds #V .6m -. ds #F 0 -. ds #[ \& -. ds #] \& +. ds #H ((1u-(\\\\n(.fu%2u))*.13m) +. ds #V .6m +. ds #F 0 +. ds #[ \& +. ds #] \& .\} -. \" simple accents for nroff and troff +. \" simple accents for nroff and troff .if n \{\ -. ds ' \& -. ds ` \& -. ds ^ \& -. ds , \& -. ds ~ ~ -. ds ? ? -. ds ! ! -. ds / -. ds q +. ds ' \& +. ds ` \& +. ds ^ \& +. ds , \& +. ds ~ ~ +. ds / .\} .if t \{\ -. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" -. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' -. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' -. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' -. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' -. ds ? \s-2c\h'-\w'c'u*7/10'\u\h'\*(#H'\zi\d\s+2\h'\w'c'u*8/10' -. ds ! \s-2\(or\s+2\h'-\w'\(or'u'\v'-.8m'.\v'.8m' -. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' -. ds q o\h'-\w'o'u*8/10'\s-4\v'.4m'\z\(*i\v'-.4m'\s+4\h'\w'o'u*8/10' +. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u" +. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u' +. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u' +. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u' +. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u' +. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u' .\} -. \" troff and (daisy-wheel) nroff accents +. \" troff and (daisy-wheel) nroff accents .ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V' .ds 8 \h'\*(#H'\(*b\h'-\*(#H' -.ds v \\k:\h'-(\\n(.wu*9/10-\*(#H)'\v'-\*(#V'\*(#[\s-4v\s0\v'\*(#V'\h'|\\n:u'\*(#] -.ds _ \\k:\h'-(\\n(.wu*9/10-\*(#H+(\*(#F*2/3))'\v'-.4m'\z\(hy\v'.4m'\h'|\\n:u' -.ds . \\k:\h'-(\\n(.wu*8/10)'\v'\*(#V*4/10'\z.\v'-\*(#V*4/10'\h'|\\n:u' -.ds 3 \*(#[\v'.2m'\s-2\&3\s0\v'-.2m'\*(#] .ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#] .ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H' .ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u' @@ -164,214 +117,175 @@ .ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#] .ds ae a\h'-(\w'a'u*4/10)'e .ds Ae A\h'-(\w'A'u*4/10)'E -.ds oe o\h'-(\w'o'u*4/10)'e -.ds Oe O\h'-(\w'O'u*4/10)'E -. \" corrections for vroff +. \" corrections for vroff .if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u' .if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u' -. \" for low resolution devices (crt and lpr) +. \" for low resolution devices (crt and lpr) .if \n(.H>23 .if \n(.V>19 \ \{\ -. ds : e -. ds 8 ss -. ds v \h'-1'\o'\(aa\(ga' -. ds _ \h'-1'^ -. ds . \h'-1'. -. ds 3 3 -. ds o a -. ds d- d\h'-1'\(ga -. ds D- D\h'-1'\(hy -. ds th \o'bp' -. ds Th \o'LP' -. ds ae ae -. ds Ae AE -. ds oe oe -. ds Oe OE +. ds : e +. ds 8 ss +. ds o a +. ds d- d\h'-1'\(ga +. ds D- D\h'-1'\(hy +. ds th \o'bp' +. ds Th \o'LP' +. ds ae ae +. ds Ae AE .\} .rm #[ #] #H #V #F C +.\" ====================================================================== +.\" +.IX Title "WINDRES.1 1" +.TH WINDRES.1 1 "binutils-2.11.90" "2001-05-30" "GNU" +.UC .SH "NAME" windres \- manipulate Windows resources. .SH "SYNOPSIS" +.IX Header "SYNOPSIS" windres [options] [input-file] [output-file] .SH "DESCRIPTION" -\f(CWwindres\fR reads resources from an input file and copies them into +.IX Header "DESCRIPTION" +\&\f(CW\*(C`windres\*(C'\fR reads resources from an input file and copies them into an output file. Either file may be in one of three formats: -.Ip "\f(CWrc\fR" 4 +.Ip "\f(CW\*(C`rc\*(C'\fR" 4 +.IX Item "rc" A text format read by the Resource Compiler. -.Ip "\f(CWres\fR" 4 +.Ip "\f(CW\*(C`res\*(C'\fR" 4 +.IX Item "res" A binary format generated by the Resource Compiler. -.Ip "\f(CWcoff\fR" 4 +.Ip "\f(CW\*(C`coff\*(C'\fR" 4 +.IX Item "coff" A \s-1COFF\s0 object or executable. .PP The exact description of these different formats is available in documentation from Microsoft. .PP -When \f(CWwindres\fR converts from the \f(CWrc\fR format to the \f(CWres\fR +When \f(CW\*(C`windres\*(C'\fR converts from the \f(CW\*(C`rc\*(C'\fR format to the \f(CW\*(C`res\*(C'\fR format, it is acting like the Windows Resource Compiler. When -\f(CWwindres\fR converts from the \f(CWres\fR format to the \f(CWcoff\fR -format, it is acting like the Windows \f(CWCVTRES\fR program. +\&\f(CW\*(C`windres\*(C'\fR converts from the \f(CW\*(C`res\*(C'\fR format to the \f(CW\*(C`coff\*(C'\fR +format, it is acting like the Windows \f(CW\*(C`CVTRES\*(C'\fR program. .PP -When \f(CWwindres\fR generates an \f(CWrc\fR file, the output is similar +When \f(CW\*(C`windres\*(C'\fR generates an \f(CW\*(C`rc\*(C'\fR file, the output is similar but not identical to the format expected for the input. When an input -\f(CWrc\fR file refers to an external filename, an output \f(CWrc\fR file +\&\f(CW\*(C`rc\*(C'\fR file refers to an external filename, an output \f(CW\*(C`rc\*(C'\fR file will instead include the file contents. .PP -If the input or output format is not specified, \f(CWwindres\fR will +If the input or output format is not specified, \f(CW\*(C`windres\*(C'\fR will guess based on the file name, or, for the input file, the file contents. -A file with an extension of \fI.rc\fR will be treated as an \f(CWrc\fR +A file with an extension of \fI.rc\fR will be treated as an \f(CW\*(C`rc\*(C'\fR file, a file with an extension of \fI.res\fR will be treated as a -\f(CWres\fR file, and a file with an extension of \fI.o\fR or -\&\fI.exe\fR will be treated as a \f(CWcoff\fR file. +\&\f(CW\*(C`res\*(C'\fR file, and a file with an extension of \fI.o\fR or +\&\fI.exe\fR will be treated as a \f(CW\*(C`coff\*(C'\fR file. .PP -If no output file is specified, \f(CWwindres\fR will print the resources -in \f(CWrc\fR format to standard output. +If no output file is specified, \f(CW\*(C`windres\*(C'\fR will print the resources +in \f(CW\*(C`rc\*(C'\fR format to standard output. .PP -The normal use is for you to write an \f(CWrc\fR file, use \f(CWwindres\fR +The normal use is for you to write an \f(CW\*(C`rc\*(C'\fR file, use \f(CW\*(C`windres\*(C'\fR to convert it to a \s-1COFF\s0 object file, and then link the \s-1COFF\s0 file into your application. This will make the resources described in the -\f(CWrc\fR file available to Windows. +\&\f(CW\*(C`rc\*(C'\fR file available to Windows. .SH "OPTIONS" -.Ip "\f(CW-i \fIfilename\fR\fR" 4 -.Ip "\f(CW--input \fIfilename\fR\fR" 4 +.IX Header "OPTIONS" +.Ip "\f(CW\*(C`\-i \f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "-i filename" +.Ip "\f(CW\*(C`\-\-input \f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "--input filename" The name of the input file. If this option is not used, then -\f(CWwindres\fR will use the first non-option argument as the input file -name. If there are no non-option arguments, then \f(CWwindres\fR will -read from standard input. \f(CWwindres\fR can not read a \s-1COFF\s0 file from +\&\f(CW\*(C`windres\*(C'\fR will use the first non-option argument as the input file +name. If there are no non-option arguments, then \f(CW\*(C`windres\*(C'\fR will +read from standard input. \f(CW\*(C`windres\*(C'\fR can not read a \s-1COFF\s0 file from standard input. -.Ip "\f(CW-o \fIfilename\fR\fR" 4 -.Ip "\f(CW--output \fIfilename\fR\fR" 4 +.Ip "\f(CW\*(C`\-o \f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "-o filename" +.Ip "\f(CW\*(C`\-\-output \f(CIfilename\f(CW\*(C'\fR" 4 +.IX Item "--output filename" The name of the output file. If this option is not used, then -\f(CWwindres\fR will use the first non-option argument, after any used +\&\f(CW\*(C`windres\*(C'\fR will use the first non-option argument, after any used for the input file name, as the output file name. If there is no -non-option argument, then \f(CWwindres\fR will write to standard output. -\f(CWwindres\fR can not write a \s-1COFF\s0 file to standard output. -.Ip "\f(CW-I \fIformat\fR\fR" 4 -.Ip "\f(CW--input-format \fIformat\fR\fR" 4 +non-option argument, then \f(CW\*(C`windres\*(C'\fR will write to standard output. +\&\f(CW\*(C`windres\*(C'\fR can not write a \s-1COFF\s0 file to standard output. +.Ip "\f(CW\*(C`\-I \f(CIformat\f(CW\*(C'\fR" 4 +.IX Item "-I format" +.Ip "\f(CW\*(C`\-\-input\-format \f(CIformat\f(CW\*(C'\fR" 4 +.IX Item "--input-format format" The input format to read. \fIformat\fR may be \fBres\fR, \fBrc\fR, or -\fBcoff\fR. If no input format is specified, \f(CWwindres\fR will +\&\fBcoff\fR. If no input format is specified, \f(CW\*(C`windres\*(C'\fR will guess, as described above. -.Ip "\f(CW-O \fIformat\fR\fR" 4 -.Ip "\f(CW--output-format \fIformat\fR\fR" 4 +.Ip "\f(CW\*(C`\-O \f(CIformat\f(CW\*(C'\fR" 4 +.IX Item "-O format" +.Ip "\f(CW\*(C`\-\-output\-format \f(CIformat\f(CW\*(C'\fR" 4 +.IX Item "--output-format format" The output format to generate. \fIformat\fR may be \fBres\fR, -\fBrc\fR, or \fBcoff\fR. If no output format is specified, -\f(CWwindres\fR will guess, as described above. -.Ip "\f(CW-F \fItarget\fR\fR" 4 -.Ip "\f(CW--target \fItarget\fR\fR" 4 +\&\fBrc\fR, or \fBcoff\fR. If no output format is specified, +\&\f(CW\*(C`windres\*(C'\fR will guess, as described above. +.Ip "\f(CW\*(C`\-F \f(CItarget\f(CW\*(C'\fR" 4 +.IX Item "-F target" +.Ip "\f(CW\*(C`\-\-target \f(CItarget\f(CW\*(C'\fR" 4 +.IX Item "--target target" Specify the \s-1BFD\s0 format to use for a \s-1COFF\s0 file as input or output. This -is a \s-1BFD\s0 target name; you can use the \f(CW--help\fR option to see a list -of supported targets. Normally \f(CWwindres\fR will use the default -format, which is the first one listed by the \f(CW--help\fR option. -\f(CW@ref\fR{Target Selection}. -.Ip "\f(CW--preprocessor \fIprogram\fR\fR" 4 -When \f(CWwindres\fR reads an \f(CWrc\fR file, it runs it through the C +is a \s-1BFD\s0 target name; you can use the \f(CW\*(C`\-\-help\*(C'\fR option to see a list +of supported targets. Normally \f(CW\*(C`windres\*(C'\fR will use the default +format, which is the first one listed by the \f(CW\*(C`\-\-help\*(C'\fR option. +\&\f(CW@ref\fR{Target Selection}. +.Ip "\f(CW\*(C`\-\-preprocessor \f(CIprogram\f(CW\*(C'\fR" 4 +.IX Item "--preprocessor program" +When \f(CW\*(C`windres\*(C'\fR reads an \f(CW\*(C`rc\*(C'\fR file, it runs it through the C preprocessor first. This option may be used to specify the preprocessor to use, including any leading arguments. The default preprocessor -argument is \f(CWgcc -E -xc-header -DRC_INVOKED\fR. -.Ip "\f(CW--include-dir \fIdirectory\fR\fR" 4 -Specify an include directory to use when reading an \f(CWrc\fR file. -\f(CWwindres\fR will pass this to the preprocessor as an \f(CW-I\fR -option. \f(CWwindres\fR will also search this directory when looking for -files named in the \f(CWrc\fR file. -.Ip "\f(CW-D \fItarget\fR\fR" 4 -.Ip "\f(CW--define \fIsym\fR[=\fIval\fR]\fR" 4 -Specify a \f(CW-D\fR option to pass to the preprocessor when reading an -\f(CWrc\fR file. -.Ip "\f(CW-v\fR" 4 +argument is \f(CW\*(C`gcc \-E \-xc\-header \-DRC_INVOKED\*(C'\fR. +.Ip "\f(CW\*(C`\-\-include\-dir \f(CIdirectory\f(CW\*(C'\fR" 4 +.IX Item "--include-dir directory" +Specify an include directory to use when reading an \f(CW\*(C`rc\*(C'\fR file. +\&\f(CW\*(C`windres\*(C'\fR will pass this to the preprocessor as an \f(CW\*(C`\-I\*(C'\fR +option. \f(CW\*(C`windres\*(C'\fR will also search this directory when looking for +files named in the \f(CW\*(C`rc\*(C'\fR file. +.Ip "\f(CW\*(C`\-D \f(CItarget\f(CW\*(C'\fR" 4 +.IX Item "-D target" +.Ip "\f(CW\*(C`\-\-define \f(CIsym\f(CW[=\f(CIval\f(CW]\*(C'\fR" 4 +.IX Item "--define sym[=val]" +Specify a \f(CW\*(C`\-D\*(C'\fR option to pass to the preprocessor when reading an +\&\f(CW\*(C`rc\*(C'\fR file. +.Ip "\f(CW\*(C`\-v\*(C'\fR" 4 +.IX Item "-v" Enable verbose mode. This tells you what the preprocessor is if you didn't specify one. -.Ip "\f(CW--language \fIval\fR\fR" 4 -Specify the default language to use when reading an \f(CWrc\fR file. -\fIval\fR should be a hexadecimal language code. The low eight bits are +.Ip "\f(CW\*(C`\-\-language \f(CIval\f(CW\*(C'\fR" 4 +.IX Item "--language val" +Specify the default language to use when reading an \f(CW\*(C`rc\*(C'\fR file. +\&\fIval\fR should be a hexadecimal language code. The low eight bits are the language, and the high eight bits are the sublanguage. -.Ip "\f(CW--use-temp-file\fR" 4 +.Ip "\f(CW\*(C`\-\-use\-temp\-file\*(C'\fR" 4 +.IX Item "--use-temp-file" Use a temporary file to instead of using popen to read the output of the preprocessor. Use this option if the popen implementation is buggy on the host (eg., certain non-English language versions of Windows 95 and Windows 98 are known to have buggy popen where the output will instead go the console). -.Ip "\f(CW--no-use-temp-file\fR" 4 +.Ip "\f(CW\*(C`\-\-no\-use\-temp\-file\*(C'\fR" 4 +.IX Item "--no-use-temp-file" Use popen, not a temporary file, to read the output of the preprocessor. This is the default behaviour. -.Ip "\f(CW--help\fR" 4 +.Ip "\f(CW\*(C`\-\-help\*(C'\fR" 4 +.IX Item "--help" Prints a usage summary. -.Ip "\f(CW--version\fR" 4 -Prints the version number for \f(CWwindres\fR. -.Ip "\f(CW--yydebug\fR" 4 -If \f(CWwindres\fR is compiled with \f(CWYYDEBUG\fR defined as \f(CW1\fR, +.Ip "\f(CW\*(C`\-\-version\*(C'\fR" 4 +.IX Item "--version" +Prints the version number for \f(CW\*(C`windres\*(C'\fR. +.Ip "\f(CW\*(C`\-\-yydebug\*(C'\fR" 4 +.IX Item "--yydebug" +If \f(CW\*(C`windres\*(C'\fR is compiled with \f(CW\*(C`YYDEBUG\*(C'\fR defined as \f(CW\*(C`1\*(C'\fR, this will turn on parser debugging. .SH "SEE ALSO" +.IX Header "SEE ALSO" the Info entries for \fIbinutils\fR. .SH "COPYRIGHT" +.IX Header "COPYRIGHT" Copyright (c) 1991, 92, 93, 94, 95, 96, 97, 98, 99, 2000, 2001 Free Software Foundation, Inc. .PP Permission is granted to copy, distribute and/or modify this document -under the terms of the GNU Free Documentation License, Version 1.1 +under the terms of the \s-1GNU\s0 Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the -section entitled \*(L"GNU Free Documentation License\*(R". - -.rn }` '' -.IX Title "WINDRES.1 1" -.IX Name "windres - manipulate Windows resources." - -.IX Header "NAME" - -.IX Header "SYNOPSIS" - -.IX Header "DESCRIPTION" - -.IX Item "\f(CWrc\fR" - -.IX Item "\f(CWres\fR" - -.IX Item "\f(CWcoff\fR" - -.IX Header "OPTIONS" - -.IX Item "\f(CW-i \fIfilename\fR\fR" - -.IX Item "\f(CW--input \fIfilename\fR\fR" - -.IX Item "\f(CW-o \fIfilename\fR\fR" - -.IX Item "\f(CW--output \fIfilename\fR\fR" - -.IX Item "\f(CW-I \fIformat\fR\fR" - -.IX Item "\f(CW--input-format \fIformat\fR\fR" - -.IX Item "\f(CW-O \fIformat\fR\fR" - -.IX Item "\f(CW--output-format \fIformat\fR\fR" - -.IX Item "\f(CW-F \fItarget\fR\fR" - -.IX Item "\f(CW--target \fItarget\fR\fR" - -.IX Item "\f(CW--preprocessor \fIprogram\fR\fR" - -.IX Item "\f(CW--include-dir \fIdirectory\fR\fR" - -.IX Item "\f(CW-D \fItarget\fR\fR" - -.IX Item "\f(CW--define \fIsym\fR[=\fIval\fR]\fR" - -.IX Item "\f(CW-v\fR" - -.IX Item "\f(CW--language \fIval\fR\fR" - -.IX Item "\f(CW--use-temp-file\fR" - -.IX Item "\f(CW--no-use-temp-file\fR" - -.IX Item "\f(CW--help\fR" - -.IX Item "\f(CW--version\fR" - -.IX Item "\f(CW--yydebug\fR" - -.IX Header "SEE ALSO" - -.IX Header "COPYRIGHT" - +section entitled \*(L"\s-1GNU\s0 Free Documentation License\*(R".