Commit Graph

11 Commits

Author SHA1 Message Date
Ian Lance Taylor
9f191108c1 * nm.c (display_archive): Close each archive element after it has
been displayed.
1994-03-29 20:00:09 +00:00
David MacKenzie
6f9dff07e1 More changes to print ambiguous matches and use the
abstracting macros.
1994-02-03 13:08:29 +00:00
David MacKenzie
cef35d4882 * nlmconv.c (main), objcopy.c (copy_file): Print matching formats
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.
1994-02-03 00:25:30 +00:00
David MacKenzie
d244269886 Clean up usage messages and option parsers.
Add program name to some error messages.
1993-04-29 06:45:39 +00:00
Rob Savoye
249c6fc0d6 Added +version (-V) option to print version number. 1992-08-19 03:25:51 +00:00
Per Bothner
96cc09a0c4 * nm.c (valueof macro): Add missing parentheses.
(Their lack screwed up numeric_forward().)
1992-06-24 20:58:17 +00:00
Steve Chamberlain
d20f480f8a * copy.c, nm.c, objdump.c, size.c : changed to use the
new reloc scheme.
1992-01-24 22:49:24 +00:00
Steve Chamberlain
4aa58a0a29 Updated to point to where the header files are now 1991-12-01 02:58:37 +00:00
Steve Chamberlain
7e3091046d * nm.c: now doesn't crash if a symbol with no section and no
SEC_ABS appears.
1991-10-21 16:48:10 +00:00
Steve Chamberlain
fc5d607456 Mon May 20 16:14:07 1991 Steve Chamberlain (steve at cygint.cygnus.com)
* Changed some types to work with 64 bit object files
1991-05-20 23:15:15 +00:00
David Henkel-Wallace
2fa0b342a5 Initial revision 1991-03-21 21:29:06 +00:00