Commit Graph

87 Commits

Author SHA1 Message Date
Alan Modra 2f83960e2c * bucomm.c (list_supported_architectures): New function.
* bucomm.h (list_supported_architectures): Declare.
	* objdump.c (usage): Call the above.
2001-07-29 05:31:43 +00:00
Dave Brolley 20fe064957 2001-07-25 Dave Brolley <brolley@redhat.com>
* objdump.c (SKIP_ZEROES): Only define it if it is not already defined.
	(SKIP_ZEROES_AT_END): Only define it if it is not already defined.
2001-07-25 15:25:11 +00:00
Nick Clifton 76a406e5b0 Remove section VMA adjustment when computing the address of the line to show. 2001-05-28 10:03:19 +00:00
Nick Clifton 8c2bc6877d Fix typos in ChangeLogs and update copyright notices 2001-03-13 06:43:59 +00:00
Nick Clifton 7340082dc8 Change bfd_target_vector from an array to a pointer 2001-02-07 23:16:22 +00:00
Nick Clifton 8b1e6df337 Add OBJDUMP_DEFS to configure and makefile
Check for DISASSEMBLER_NEEDS_RELOCS in objdump and read in relocs if set.
2001-01-09 20:25:31 +00:00
H.J. Lu 2ac374c471 2000-08-17 Christopher C. Chimelis <chris@debian.org>
* objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2000-08-18 01:58:12 +00:00
Nick Clifton 28c309a287 Add optional style argument to --demangle switch. 2000-07-20 18:02:56 +00:00
Mark Kettenis 86d65c94b2 * objdump.c (usage): Make output of `objdump --help' more
consistent with the rest of the GNU world.  Add a line describing
the purpose of the program.
2000-07-12 19:52:17 +00:00
Nick Clifton d1cdf50144 Fix description of --stabs switch 2000-06-24 19:53:12 +00:00
Alan Modra fb101eadc0 Fix my inept 2000-05-24 change. 2000-05-30 07:47:56 +00:00
Alan Modra f190c5c4e9 Ensure bfd_close after bfd_openw so we don't get multiple bfd_openw
calls for same file.
2000-05-25 02:05:08 +00:00
H.J. Lu 5ee1baa27d 2000-05-12 H.J. Lu <hjl@gnu.org>
* nlmconv.c (temp_filename): Removed.

	* nlmconv.c (link_inputs): Use make_temp_file () instead of
	choose_temp_base ().
	* objdump.c (display_target_list): Likewise.
	(display_info_table): Likewise.
2000-05-13 06:38:34 +00:00
Timothy Wall ea58412531 Fix bug disassmbling binary files for non-octet byte targets. 2000-04-18 17:16:59 +00:00
Alan Modra 12ff5d5690 Portability fixes. 2000-04-14 04:14:25 +00:00
Alan Modra 37cc8ec1be A mostly cosmetic tidy up of warnings and error message reporting. 2000-04-07 04:34:50 +00:00
Timothy Wall 34cbe64ecf SEC_BLOCK, SEC_CLINK, and C_STATLAB added (TI COFF support). 2000-04-07 00:58:07 +00:00
Alan Modra 8ad3436c79 Move translated part of bug report string back into .c files so
xgettext can find it.  Regnerate .pot files.
2000-04-04 14:32:35 +00:00
Alan Modra c20f4f8c21 Move bug report string to one place. 2000-04-03 14:10:05 +00:00
Alan Modra f6af82bd44 This lot mainly cleans up `comparison between signed and unsigned' gcc
warnings.  One usused var, and a macro parenthesis fix too.  Also check
input sections are elf when doing gc in elflink.h.
2000-02-21 12:01:27 +00:00
Timothy Wall f15632584b Fix bug in interlisting option, added --file-start-context option. 2000-02-08 18:38:13 +00:00
Timothy Wall 940b2b788c octets vs bytes changes for binutils 2000-02-03 18:12:55 +00:00
Nick Clifton 94470b237b Add support for documenting target specific disassembler options 2000-01-27 21:44:26 +00:00
Nick Clifton 1dada9c5d3 Overhaul --help output 1999-11-21 11:37:21 +00:00
Ian Lance Taylor d24de309df 1999-10-27 Fred Fish <fnf@cygnus.com>
* objdump.c (display_bfd): Break into two functions.  The
	actual dumping code moves to dump_bfd.  If bfd is not
	unambiguously recognized as a bfd_object, attempt to dump
	it as a bfd_core.
	(dump_bfd): New function.
1999-10-28 03:30:13 +00:00
Ian Lance Taylor f1f8ce075e comment fix 1999-09-19 22:39:49 +00:00
Ian Lance Taylor 8bea4d5c6c 1999-09-12 Donn Terry <donn@interix.com>
* objdump.c (dump_headers): If wide_output, print Flags header.
1999-09-12 18:49:47 +00:00
Ian Lance Taylor deecf979f6 1999-09-12 Donn Terry <donn@interix.com>
* objdump.c (dump_section_header): Print any comdat information.
1999-09-12 18:39:32 +00:00
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