aboutsummaryrefslogtreecommitdiff
path: root/binutils/nm.c
AgeCommit message (Collapse)AuthorFilesLines
1994-06-15 * nm.c (long_options): Add --no-demangle to turn off --demangle,Ian Lance Taylor1-1/+4
and --no-cplus for Linux compatibility. (usage): Mention --no-demangle. * binutils.texi: Document --no-demangle.
1994-06-10 * nm.c: HOST_64_BIT was renamed to BFD_HOST_64_BIT.Ian Lance Taylor1-15/+41
1994-03-30 Update for recent BFD changes to symbol and reloc reading. RenameIan Lance Taylor1-3/+7
all uses of get_symtab_upper_bound to bfd_get_symtab_upper_bound. Also: * coffgrok.c (symcount): Change to long. (do_sections_p1): Check for error return from bfd_get_reloc_upper_bound. Change relcount to long, and check for error from bfd_canonicalize_reloc. (coff_grok): Change storage to long. Check for error from bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. * nlmconv.c (main): Change symcount, newsymalloc, newsymcount, and i to long. Check for error from bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. (copy_sections): Change reloc_size and reloc_count to long. Check for error from bfd_get_reloc_upper_bound and bfd_canonicalize_reloc. (mangle_relocs, i386_mangle_relocs, alpha_mangle_relocs): Change reloc_count_ptr argument to long *. Make corresponding changes to variables loaded from *reloc_count_ptr. * nm.c (display_rel_file): Change storage and symcount to long. Check for errors from bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. * objcopy.c (filter_symbols): Change symcount, src_count and dst_count to long. (copy_object): Change symcount to long. Pass another argument to fprintf. Check for errors from bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. (copy_section): Change relcount to long. Check for errors from bfd_get_reloc_upper_bound and bfd_canonicalize_reloc. (mark_symbols_used_in_relocations): Change relcount and i to long. Check for errors form bfd_get_reloc_upper_bound and bfd_canonicalize_reloc. * objdump.c (storage): Remove global variable. (symcount): Changed to long. (slurp_symtab): New local variable storage. Check for errors from bfd_get_symtab_upper_bound and bfd_canonicalize_symtab. (remove_useless_symbols): Change return value and count to long. (objdump_print_address): Change min, max, thisplace and i to long. (disassemble_data): Change i to long. (dump_symbols): Change count to long. (dump_relocs): Change relcount to long. Check for errors from bfd_ret_reloc_upper_bound and bfd_canonicalize_reloc. (display_info_table): Add casts when passing LONGEST_ARCH for printf %* argument.
1994-03-29Fix last patch.Ian Lance Taylor1-1/+7
1994-03-29 * nm.c (display_archive): Close each archive element after it hasIan Lance Taylor1-3/+6
been displayed.
1994-02-03 More changes to print ambiguous matches and use theDavid MacKenzie1-2/+10
abstracting macros.
1994-02-03 * nlmconv.c (main), objcopy.c (copy_file): Print matching formatsDavid MacKenzie1-211/+692
if ambiguous match. * nm.c (display_file), size.c (display_bfd): Eliminate gotos. Print matching formats if there is an ambiguous match. Use bfd_nonfatal instead of hardcoded error message if nothing matches. * arsup.c, ar.c, objdump.c: Use bfd_get_filename instead of abfd->filename. * nm.c (display_archive): New function, from code in display_file. (display_rel_file): Renamed from do_one_rel_file. * size.c: Indent. (display_archive): New function from code in display_file. (display_file): Check bfd_close error return. * strings.c (strings_object_file): Check bfd_check_format error return. * strings.c, objdump.c, size.c: Use bfd_nonfatal instead of bfd_perror. * bucomm.c: Delete references to exit_handler. It wasn't set anywhere, and now that we're using the libiberty xmalloc, it wouldn't always get called before exiting. (list_matching_formats): Function moved from objdump.c. * bucomm.h: Declare it. * objdump.c (disassemble_data): Move some variable decls closer to their use. Add some comments. Replace a nested block with a return.
1993-04-29Clean up usage messages and option parsers.David MacKenzie1-28/+44
Add program name to some error messages.
1992-08-19Added +version (-V) option to print version number.Rob Savoye1-88/+84
1992-06-24 * nm.c (valueof macro): Add missing parentheses.Per Bothner1-20/+26
(Their lack screwed up numeric_forward().)
1992-01-24 * copy.c, nm.c, objdump.c, size.c : changed to use theSteve Chamberlain1-3/+3
new reloc scheme.
1991-12-01Updated to point to where the header files are nowSteve Chamberlain1-56/+4
1991-10-21 * nm.c: now doesn't crash if a symbol with no section and noSteve Chamberlain1-40/+84
SEC_ABS appears.
1991-05-20Mon May 20 16:14:07 1991 Steve Chamberlain (steve at cygint.cygnus.com)Steve Chamberlain1-7/+7
* Changed some types to work with 64 bit object files
1991-03-21Initial revisionDavid Henkel-Wallace1-0/+387