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
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>
* ar.c (do_quick_append): Comment out.

View File

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

View File

@ -94,7 +94,7 @@ libraries.
.TP
.B "\-f \fIformat"
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
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.
.TP
.BI "\-\-target=" "bfdname"\c
\&
.BI "\-\-target=" "bfdname"
Specify an object code format other than your system's default format.
See
.BR objdump ( 1 ),

View File

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

View File

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

View File

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

View File

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