aboutsummaryrefslogtreecommitdiff
path: root/binutils/size.c
AgeCommit message (Collapse)AuthorFilesLines
1994-02-03 More changes to print ambiguous matches and use theDavid MacKenzie1-2/+2
abstracting macros.
1994-02-03 * nlmconv.c (main): Use bfd_get_flavour instead of struct member.David MacKenzie1-2/+2
* ar.c (print_contents, extract_file), size.c (print_berkeley_format): Use bfd_get_filename and bfd_my_archive instead of dereferencing the structs directly.
1994-02-03 * nlmconv.c (main), objcopy.c (copy_file): Print matching formatsDavid MacKenzie1-182/+248
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-39/+35
Add program name to some error messages.
1992-12-16 * Makefile.in (dist): Fix permissions before release.Per Bothner1-20/+28
* size.c: Use bfd_size_type (and long) where appropriate. * ar.c: Make writing a map the default, to be compatible with SYSV and Posix.2. Remove some bogus kludges that handled __.SYMDEF directly. * NEWS: New file.
1992-06-13LintJohn Gilmore1-31/+67
1991-03-21Initial revisionDavid Henkel-Wallace1-0/+320