aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog31
-rw-r--r--binutils/binutils.texi2
-rw-r--r--binutils/nm.c41
3 files changed, 62 insertions, 12 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index b098ba6..a17a32d 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,34 @@
+2000-10-14 Philip Blundell <philb@gnu.org>
+
+ From 2000-07-01 Alexander Aganichev <AAganichev@hypercom.com>
+
+ * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils
+ struct debug_type stores size in bytes.
+
+ From 2000-08-17 Christopher C. Chimelis <chris@debian.org>
+
+ * objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
+
+ From 2000-07-11 Mark Kettenis <kettenis@gnu.org>
+
+ * objdump.c (usage): Make output of `objdump --help' more
+ consistent with the rest of the GNU world. Add a line describing
+ the purpose of the program.
+
+ From 2000-06-24 Nick Clifton <nickc@cygnus.com>
+
+ * objdump.c (usage): Fix description of --stabs switch.
+
+ From 2000-07-18 Nick Clifton <nickc@cygnus.com>
+
+ * binutils.texi (readelf): Fix spelling typo.
+
+ From 2000-07-19 Mark Kettenis <kettenis@gnu.org>
+
+ * nm.c (usage): Change output of `nm --help' to include a
+ description of the purpose of the program and a detailed
+ description of the accepted options.
+
2000-09-05 Todd Vierling <tv@wasabisystems.com>
From 2000-08-14 Todd Vierling <tv@wasabisystems.com>
diff --git a/binutils/binutils.texi b/binutils/binutils.texi
index 1820d66..c2232e3 100644
--- a/binutils/binutils.texi
+++ b/binutils/binutils.texi
@@ -2530,7 +2530,7 @@ exist.
@item -D
@itemx --use-dynamic
When displaying symbols, this option makes @code{readelf} use the
-symblol table in the file's dynamic section, rather than the one in the
+symbol table in the file's dynamic section, rather than the one in the
symbols section.
@item -x <number>
diff --git a/binutils/nm.c b/binutils/nm.c
index 2ee4873..ad5a00d 100644
--- a/binutils/nm.c
+++ b/binutils/nm.c
@@ -291,19 +291,38 @@ usage (stream, status)
FILE *stream;
int status;
{
- fprintf (stream, _("\
-Usage: %s [-aABCDglnopPrsuvV] [-t radix] [--radix=radix] [--target=bfdname]\n\
- [--debug-syms] [--extern-only] [--print-armap] [--print-file-name]\n\
- [--numeric-sort] [--no-sort] [--reverse-sort] [--size-sort]\n\
- [--undefined-only] [--portability] [-f {bsd,sysv,posix}]\n\
- [--format={bsd,sysv,posix}] [--demangle] [--no-demangle] [--dynamic]\n\
- [--defined-only] [--line-numbers]\n\
- [--version] [--help]\n\
- [file...]\n"),
- program_name);
+ fprintf (stream, _("Usage: %s [OPTION]... [FILE]...\n"), program_name);
+ fprintf (stream, _("List symbols from FILEs (a.out by default).\n"));
+ fprintf (stream, _("\n\
+ -a, --debug-syms Display debugger-only symbols\n\
+ -A, --print-file-name Print name of the input file before every symbol\n\
+ -B Same as --format=bsd\n\
+ -C, --demangle Decode low-level symbol names into user-level names\n\
+ --no-demangle Do not demangle low-level symbol names\n\
+ -D, --dynamic Display dynamic symbols instead of normal symbols\n\
+ --defined-only Display only defined symbols\n\
+ -e (ignored)\n\
+ -f, --format=FORMAT Use the output format FORMAT. FORMAT can be `bsd',\n\
+ `sysv' or `posix'. The default is `bsd'\n\
+ -g, --extern-only Display only external symbols\n\
+ -h, --help Display this information\n\
+ -l, --line-numbers Use debugging information to find a filename and\n\
+ line number for each symbol\n\
+ -n, --numeric-sort Sort symbols numerically by address\n\
+ -o Same as -A\n\
+ -p, --no-sort Do not sort the symbols\n\
+ -P, --portability Same as --format=posix\n\
+ -r, --reverse-sort Reverse the sense of the sort\n\
+ -s, --print-armap Include index for symbols from archive members\n\
+ --size-sort Sort symbols by size\n\
+ -t, --radix=RADIX Use RADIX for printing symbol values\n\
+ --target=BFDNAME Specify the target object format as BFDNAME\n\
+ -u, --undefined-only Display only undefined symbols\n\
+ -V, --version Display this program's version number\n\
+\n"));
list_supported_targets (program_name, stream);
if (status == 0)
- fprintf (stream, _("Report bugs to %s\n"), REPORT_BUGS_TO);
+ fprintf (stream, _("Report bugs to %s.\n"), REPORT_BUGS_TO);
exit (status);
}