diff --git a/binutils/ChangeLog b/binutils/ChangeLog index fb20f4d035..4ea60759e3 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -3,6 +3,22 @@ Fri Oct 6 14:08:51 1995 Ken Raeburn * sysinfo.y: Eliminate unused terminals "[" and "]" and unused nonterminal "name". One s/r conflict remains. + Mon Sep 25 22:49:32 1995 Andreas Schwab + + * 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 * ar.c (do_quick_append): Comment out. diff --git a/binutils/ar.1 b/binutils/ar.1 index fac6223bbf..a138e4ac06 100644 --- a/binutils/ar.1 +++ b/binutils/ar.1 @@ -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 diff --git a/binutils/nm.1 b/binutils/nm.1 index 4d3b3da49d..13681bea9a 100644 --- a/binutils/nm.1 +++ b/binutils/nm.1 @@ -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 ), diff --git a/binutils/objdump.1 b/binutils/objdump.1 index 6b73cb9d82..1f39a35842 100644 --- a/binutils/objdump.1 +++ b/binutils/objdump.1 @@ -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 diff --git a/binutils/size.1 b/binutils/size.1 index abb4bb141d..3b19bd2593 100644 --- a/binutils/size.1 +++ b/binutils/size.1 @@ -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 ). diff --git a/binutils/strings.1 b/binutils/strings.1 index 88ab1d8315..408de29400 100644 --- a/binutils/strings.1 +++ b/binutils/strings.1 @@ -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 ), diff --git a/binutils/strip.1 b/binutils/strip.1 index c021a83f90..7ecadaa1fd 100644 --- a/binutils/strip.1 +++ b/binutils/strip.1 @@ -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