aboutsummaryrefslogtreecommitdiff
path: root/binutils/nm.1
AgeCommit message (Collapse)AuthorFilesLines
1994-09-14 * nm.c: Include libiberty.h.Ian Lance Taylor1-0/+7
(sort_by_size): New static variable. (long_options): Add --size-sort. (usage): Mention --size-sort. (numeric_forward): Make static. Change from void * to PTR. (numeric_reverse): Likewise. (non_numeric_forward, non_numeric_reverse): Likewise. (sorters): Change declaration from void * to PTR. (size_forward, sort_symbol_by_size): New static functions. (display_rel_file): Handle sort_by_size. (filter_symbols): If sort_by_size, discard absolute and undefined symbols. * binutils.texi (nm): Document --size-sort. * nm.1: Document --size-sort. PR 3611.
1994-04-07 Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -RIan Lance Taylor1-0/+9
(--dynamic-reloc) arguments to objdump. * nm.c (dynamic): New static variable. (long_options): Added "dynamic". (usage): Mention -D and --dynamic. (main): Add D to getopt string. Handle -D by setting dynamic. (display_rel_file): If dynamic is non-zero, read dynamic symbols rather than normal symbols. * nm.1: Updated for -D (--dynamic) option. * objdump.c (dump_dynamic_symtab): New global variable. (dump_dynamic_reloc_info): New global variable. (dynsyms, dynsymcount): New global variables. (usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc. (long_options): Added "dynamic-reloc" and "dynamic-syms". (slurp_symtab): If no symbols, return rather than exit. (slurp_dynamic_symtab): New function. (display_bfd): Handle dump_dynamic_symtab and dump_dynamic_reloc_info. (dump_symbols): Take new dynamic argument, indicating whether to display dynamic symbols. (dump_relocs): Move most printing into dump_reloc_set. (dump_dynamic_relocs): New function. (dump_reloc_set): New function, extracted from dump_relocs. (main): Add R and T to getopt string. Handle -T by setting dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info. * objdump.1: Updated for -R (--dynamic-reloc) and -T (--dynamic-syms) options. * binutils.texi: Updated for new nm and objdump options.
1993-11-13fix NAME hyphenDavid MacKenzie1-1/+1
1993-08-13 * Makefile.in ($(NM_PROG)): Depend on demangle.o.David MacKenzie1-0/+10
(demangle.o): New target. (cplus-dem.o): Depend on it, to force compilation order when doing parallel compiles. * nm.c (print_symbol_info_{bsd,sysv,posix}): Take a bfd arg. (struct output_fns print_symbol_info): Ditto. (long_options, usage, main): Add -C --demangle option. (print_symname): New function, demangling if requested. (print_symbols, print_symbol_info_{bsd,sysv,posix}): Use it.
1993-08-02add nm -BDavid MacKenzie1-0/+6
1993-06-28 * Makefile.in: Note dependencies on bucomm.h.David MacKenzie1-26/+61
(cplus-dem.o): Link c++filt with version.o. * strings.c: Include bucomm.h and add prototypes to other decls. Remove -h option. * bucomm.h: Declare xrealloc. * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add --help option. Put "GNU" in the version message. (usage): Take stream and exit status as args. (main): Pass new args to usage.
1993-04-29Document missing options. Use -- instead of + for long options.David MacKenzie1-21/+21
1992-07-18removed rcsidsK. Richard Pixley1-1/+0
1991-11-05Initial revisionRoland Pesch1-0/+154