Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>

* nm.c (print_symname): Don't try to demangle an empty name.
* objdump.c (slurp_symtab): Reset symcount if there are no symbols.
(slurp_dynamic_symtab): Likewise, for dynsymcount.
(disassemble_data): Fix memory leak: free sorted_syms when done.
(display_bfd): Likewise, for syms and dynsyms.
(dump_relocs): Don't print header before possibly generating an error message.
(dump_dynamic_relocs): Likewise.

* ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and formatting
bugs.
This commit is contained in:
Ken Raeburn 1995-10-06 20:48:58 +00:00
parent 8016553585
commit 5740d9dfb6
7 changed files with 34 additions and 24 deletions

View File

@ -3,6 +3,22 @@ Fri Oct 6 14:08:51 1995 Ken Raeburn <raeburn@cygnus.com>
* sysinfo.y: Eliminate unused terminals "[" and "]" and unused * sysinfo.y: Eliminate unused terminals "[" and "]" and unused
nonterminal "name". One s/r conflict remains. nonterminal "name". One s/r conflict remains.
Mon Sep 25 22:49:32 1995 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* nm.c (print_symname): Don't try to demangle an empty
name.
* objdump.c (slurp_symtab): Reset symcount if there are
no symbols.
(slurp_dynamic_symtab): Likewise, for dynsymcount.
(disassemble_data): Fix memory leak: free sorted_syms when done.
(display_bfd): Likewise, for syms and dynsyms.
(dump_relocs): Don't print header before possibly generating an
error message.
(dump_dynamic_relocs): Likewise.
* ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and
formatting bugs.
Fri Oct 6 12:00:25 1995 Ian Lance Taylor <ian@cygnus.com> Fri Oct 6 12:00:25 1995 Ian Lance Taylor <ian@cygnus.com>
* ar.c (do_quick_append): Comment out. * ar.c (do_quick_append): Comment out.

View File

@ -465,7 +465,7 @@ The GNU Binary Utilities\c
, Roland H. Pesch (October 1991). , Roland H. Pesch (October 1991).
.BR nm ( 1 )\c .BR nm ( 1 )\c
\&, \&,
.BR ranlib( 1 )\c .BR ranlib ( 1 )\c
\&. \&.
.SH COPYING .SH COPYING

View File

@ -94,7 +94,7 @@ libraries.
.TP .TP
.B "\-f \fIformat" .B "\-f \fIformat"
Use the output format \fIformat\fP, which can be ``bsd'', Use the output format \fIformat\fP, which can be ``bsd'',
``sysv'', or ``posix''. The default is `bsd''. ``sysv'', or ``posix''. The default is ``bsd''.
Only the first character of \fIformat\fP is significant; it can be Only the first character of \fIformat\fP is significant; it can be
either upper or lower case. either upper or lower case.
@ -160,8 +160,7 @@ Use \fIradix\fP as the radix for printing the symbol values. It must be
``d'' for decimal, ``o'' for octal, or ``x'' for hexadecimal. ``d'' for decimal, ``o'' for octal, or ``x'' for hexadecimal.
.TP .TP
.BI "\-\-target=" "bfdname"\c .BI "\-\-target=" "bfdname"
\&
Specify an object code format other than your system's default format. Specify an object code format other than your system's default format.
See See
.BR objdump ( 1 ), .BR objdump ( 1 ),

View File

@ -99,8 +99,7 @@ the object file format of each archive member.
.TP .TP
.BI "\-b " "bfdname"\c .BI "\-b " "bfdname"\c
.TP .TP
.BI "\-\-target=" "bfdname"\c .BI "\-\-target=" "bfdname"
\&
Specify the object-code format for the object files to be Specify the object-code format for the object files to be
\c \c
.I bfdname\c .I bfdname\c
@ -113,7 +112,6 @@ automatically recognize many formats. For example,
objdump\ \-b\ oasys\ \-m\ vax\ \-h\ fu.o objdump\ \-b\ oasys\ \-m\ vax\ \-h\ fu.o
.br .br
.sp .sp
display summary information from the section headers (`\|\c display summary information from the section headers (`\|\c
.B \-h\c .B \-h\c
\|') of \|') of
@ -183,11 +181,10 @@ for specification with \c
.TP .TP
.BI "\-j " "name"\c .BI "\-j " "name"\c
.TP .TP
.BI "\-\-section=" "name"\c .BI "\-\-section=" "name"
\&
Display information only for section \c Display information only for section \c
.I name\c .I name\c
\& \&.
.TP .TP
.B \-l .B \-l
@ -200,8 +197,7 @@ Only useful with \fB\-d\fP or \fB\-D\fP.
.TP .TP
.BI "\-m " "machine"\c .BI "\-m " "machine"\c
.TP .TP
.BI "\-\-architecture=" "machine"\c .BI "\-\-architecture=" "machine"
\&
Specify the object files \c Specify the object files \c
.I objfile\c .I objfile\c
\& are for architecture \& are for architecture

View File

@ -47,8 +47,7 @@ module in an archive.
.TP .TP
.B \-B .B \-B
.TP .TP
.BI "\-\-format " "compatibility"\c .BI "\-\-format " "compatibility"
\&
Using one of these options, you can choose whether the output from GNU Using one of these options, you can choose whether the output from GNU
\c \c
.B size\c .B size\c
@ -80,8 +79,7 @@ Show a summary of acceptable arguments and options.
.TP .TP
.B \-x .B \-x
.TP .TP
.BI "\-\-radix " "number"\c .BI "\-\-radix " "number"
\&
Using one of these options, you can control whether the size of each Using one of these options, you can control whether the size of each
section is given in decimal (`\|\c section is given in decimal (`\|\c
.B \-d\c .B \-d\c
@ -113,8 +111,7 @@ octal and hexadecimal if you're using `\|\c
\|'. \|'.
.TP .TP
.BI "\-\-target " "bfdname"\c .BI "\-\-target " "bfdname"
\&
You can specify a particular object-code format for \c You can specify a particular object-code format for \c
.I objfile\c .I objfile\c
\& as \& as
@ -140,7 +137,7 @@ Display version number information on \c
.RB "`\|" binutils "\|'" .RB "`\|" binutils "\|'"
entry in entry in
.BR info ; .BR info ;
.IR The GNU Binary Utilities , .IR "The GNU Binary Utilities" ,
Roland H. Pesch (October 1991); Roland H. Pesch (October 1991);
.BR ar "(" 1 ")," .BR ar "(" 1 "),"
.BR objdump ( 1 ). .BR objdump ( 1 ).

View File

@ -87,6 +87,7 @@ on the standard output and exit.
.TP .TP
.B "\-n \fImin\-len\fP" .B "\-n \fImin\-len\fP"
.TP
.B "\-\fImin\-len\fP" .B "\-\fImin\-len\fP"
.TP .TP
.B "\-bytes=\fImin\-len\fP" .B "\-bytes=\fImin\-len\fP"
@ -103,8 +104,7 @@ character argument specifies the radix of the offset\(emoctal,
hexadecimal, or decimal. hexadecimal, or decimal.
.TP .TP
.BI "\-\-target=" "bfdname"\c .BI "\-\-target=" "bfdname"
\&
Specify an object code format other than your system's default format. Specify an object code format other than your system's default format.
See See
.BR objdump ( 1 ), .BR objdump ( 1 ),

View File

@ -89,7 +89,7 @@ Remove all symbols.
.TP .TP
.B \-S .B \-S
.TP .TP
.B -g .B \-g
.TP .TP
.B \-\-strip\-debug .B \-\-strip\-debug
Remove debugging symbols only. Remove debugging symbols only.
@ -113,7 +113,9 @@ options.
Remove non-global symbols. Remove non-global symbols.
.TP .TP
.B "\-X \-\-discard\-locals" .B \-X
.TP
.B \-\-discard\-locals
Remove compiler-generated local symbols. Remove compiler-generated local symbols.
(These usually start with ``L'' or ``.''.) (These usually start with ``L'' or ``.''.)
@ -147,7 +149,7 @@ Show the version number for \fBstrip\fP and exit.
.RB "`\|" binutils "\|'" .RB "`\|" binutils "\|'"
entry in entry in
.BR info ; .BR info ;
.IR "The GNU Binary Utilities , .IR "The GNU Binary Utilities" ,
Roland H. Pesch (October 1991). Roland H. Pesch (October 1991).
.SH COPYING .SH COPYING