aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog25
-rw-r--r--binutils/binutils.texi13
-rw-r--r--binutils/nm.16
3 files changed, 40 insertions, 4 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 35fc5fb..fe65555 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,26 @@
+Mon Aug 2 11:28:23 1993 David J. Mackenzie (djm@thepub.cygnus.com)
+
+ * nm.c: Add -B option, like --format=bsd.
+
+Tue Jul 27 16:29:54 1993 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+
+ * objcopy.c (copy_file): If the file is neither an object nor an
+ archive, give an error rather than returning success.
+
+Mon Jul 19 16:13:40 1993 Ken Raeburn (raeburn@rtl.cygnus.com)
+
+ * objdump.c (objdump_print_address): Prefer non-local symbols over
+ local ones, and especially discriminate against debugging symbols.
+ Also, for relocateable files, try to find a symbol in the current
+ section, instead of picking one from some random section with a
+ convenient value (read, section offset).
+ (disassemble_data): Cast argument to malloc to size_t first.
+ (dump_data): Likewise.
+ (dump_relocs): If a single section name is specified, show relocs
+ only for that section. Otherwise, silently omit sections without
+ relocs. Format table nicely even if values are printed using 16
+ digits instead of 8.
+
Fri Jul 16 15:19:59 1993 David J. Mackenzie (djm@thepub.cygnus.com)
* nm.c: Changes for final version of POSIX.2.
@@ -50,7 +73,7 @@ Fri Jun 25 23:12:12 1993 David J. Mackenzie (djm@thepub.cygnus.com)
Fri Jun 25 20:44:43 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
- * objdump.c: Use size-independend bfd elf section names.
+ * objdump.c: Use size-independent bfd elf section names.
Sun Jun 20 23:09:06 1993 Ken Raeburn (raeburn@poseidon.cygnus.com)
diff --git a/binutils/binutils.texi b/binutils/binutils.texi
index bf7f444..ef245c6 100644
--- a/binutils/binutils.texi
+++ b/binutils/binutils.texi
@@ -639,7 +639,7 @@ The GNU linker @code{ld} is now described in a separate manual.
@kindex nm
@smallexample
-nm [ -a | --debug-syms ] [ -g | --extern-only ]
+nm [ -a | --debug-syms ] [ -g | --extern-only ] [ -B ]
[ -s | --print-armap ] [ -A | -o | --print-file-name ]
[ -n | -v | --numeric-sort ] [ -p | --no-sort ]
[ -r | --reverse-sort ] [ -u | --undefined-only ]
@@ -713,8 +713,15 @@ before all of its symbols.
Display all symbols, even debugger-only symbols; normally these are not
listed.
+@item -B
+@cindex @code{nm} format
+@cindex @code{nm} compatibility
+The same as @samp{--format=bsd}.
+
@item -f @var{format}
@itemx --format=@var{format}
+@cindex @code{nm} format
+@cindex @code{nm} compatibility
Use the output format @var{format}, which can be @code{bsd},
@code{sysv}, or @code{posix}. The default is @code{bsd}.
Only the first character of @var{format} is significant; it can be
@@ -972,7 +979,7 @@ The command line options have the following meanings:
@item -A
@itemx -B
@itemx --format=@var{compatibility}
-@cindex size display format
+@cindex @code{size} display format
Using one of these options, you can choose whether the output from GNU
@code{size} resembles output from System V @code{size} (using @samp{-A},
or @samp{--format=sysv}), or Berkeley @code{size} (using @samp{-B}, or
@@ -1019,7 +1026,7 @@ Show a summary of acceptable arguments and options.
@itemx -o
@itemx -x
@itemx --radix=@var{number}
-@cindex size number format
+@cindex @code{size} number format
@cindex radix for section sizes
Using one of these options, you can control whether the size of each
section is given in decimal (@samp{-d}, or @samp{--radix=10}); octal
diff --git a/binutils/nm.1 b/binutils/nm.1
index f2d629a..e62586b 100644
--- a/binutils/nm.1
+++ b/binutils/nm.1
@@ -66,6 +66,12 @@ symbols.
Display debugger-only symbols; normally these are not listed.
.TP
+.B \-B
+The same as
+.B \-\-format=bsd
+(for compatibility with the MIPS \fBnm\fP).
+
+.TP
.B "\-f \fIformat"
Use the output format \fIformat\fP, which can be ``bsd'',
``sysv'', or ``posix''. The default is `bsd''.