Commit Graph

9 Commits

Author SHA1 Message Date
Ian Lance Taylor 75cd796a72 * 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.
1999-08-09 05:23:29 +00:00
Ian Lance Taylor 24c411edf7 * objdump.c (dump_section_header): Update for renaming of
SEC_SHORT to SEC_SMALL_DATA.  Print SEC_SHARED flag.
1999-08-09 03:23:37 +00:00
Richard Henderson c235b8f824 * objdump.c (dump_section_header): Print SEC_SHORT. 1999-07-14 17:24:46 +00:00
Ian Lance Taylor b4c96d0d37 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSED
as appropriate.  Add variable initializations.  Add casts.
	* objdump.c (disassemble_bytes): Change j to bfd_vma.
	* readelf.c (process_syminfo): Change i to unsigned int.
	(display_debug_info): Change abbrev_number to unsigned long.
	(process_mips_specific): Change fcnt to size_t.
1999-07-11 20:02:30 +00:00
Nick Clifton dd92f63977 Add -M command line switch to objdump - text of switch is passed on to disassembler
Add support for register name set selection ot ARM disassembler.
1999-06-16 02:24:36 +00:00
Ian Lance Taylor e07bf1ac47 * objdump.c (disassemble_bytes): If the disassembler returns an
error, print out anything it may have printed to the buffer.  From
	H.J. Lu <hjl@gnu.org>.
1999-06-13 19:02:25 +00:00
DJ Delorie 09cda596de 1999-05-10 DJ Delorie <dj@cygnus.com>
* windres.c (quot): Quote shell metacharacters in a string
	(main): quote parameters to cpp that might have metacharacters in
	them.  Allow -D as an alias for --define to allow for sharing make
	macros with gcc.
	* objdump.c (dump_reloc_set): don't core if howto->name is NULL
	* Makefile.am: Give rescoff.c a cpu-specific -D so it can set
	the correct BFD.
	* Makefile.in: ditto
	* rescoff.c (write_coff_file): Set the correct BFD
1999-05-11 21:06:16 +00:00
Nick Clifton a8a9050d4a Set display_endian based on target endianism. 1999-05-06 07:41:56 +00:00
Richard Henderson 252b5132c7 19990502 sourceware import 1999-05-03 07:29:11 +00:00