* objdump.c (exit_status): New static variable.
authorIan Lance Taylor <ian@airs.com>
Mon, 9 Aug 1999 05:23:29 +0000 (05:23 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 9 Aug 1999 05:23:29 +0000 (05:23 +0000)
commit75cd796a724c93df977df90b9fa8ebc448265c4a
treea563ca23c21ee3712c45bdbb5c592dcdeb3542c6
parent1a1ae23e5220efb755aeccf0a094eba4245e1816
* objdump.c (exit_status): New static variable.
(nonfatal): New static function.
(disassemble_data): Set exit_status on error.
(read_section_stabs): Likewise.
(display_bfd): Likewise.  Call nonfatal rather than bfd_nonfatal.
(display_file): Call nonfatal rather than bfd_nonfatal.
(display_target_list, display_info_table): Likewise.
(main): Return exit_status rather than 0.
binutils/ChangeLog
binutils/objdump.c