aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
AgeCommit message (Collapse)AuthorFilesLines
2002-01-292002-01-29 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz1-1/+1
* objdump.c: Include "getopt.h" after "bucomm.h" so that __GNU_LIBRARY__ will be defined. * size.c: Likewise.
2002-01-23Tidy up formatting of --help output.Nick Clifton1-9/+10
2001-12-18 * addr2line.c (main): Protoype.Thiemo Seufer1-0/+2
* ar.c (main): Protoype. * nm.c (main): Protoype. * objcopy.c (main): Protoype. * objdump.c (main): Protoype. * size.c (main): Protoype. * strings.c (main): Protoype. * gasp.c (main): Protoype.
2001-10-02 * coffdump.c (PROGRAM_VERSION): Delete.Alan Modra1-1/+1
(main <'V'>): Call print_version. * srconv.c: Likewise. * sysdump.c: Likewise. * version.c (program_version): Remove. (print_version): Use BFD_VERSION_STRING. Just print the current year in copyright message. * addr2line.c (program_version): Remove unused declaration. * objdump.c (display_target_tables): Use BFD_VERSION_STRING in place of BFD_VERSION. * Makefile.am (Makefile): Depend on bfd/configure.in (cplus-dem.o): Depend on Makefile. Run "make dep-am" * Makefile.in: Regenerate.
2001-09-28 * objdump.c (dump_section_header): Dump SEC_ARCH_BIT_0.Richard Henderson1-3/+1
2001-09-26 * bucomm.c (fatal): Define using VPARAMS, VA_OPEN, VA_FIXEDARG,Alan Modra1-20/+6
VA_CLOSE. (non_fatal): Likewise. * objdump.c (objdump_sprintf): Likewise. * readelf.c (error): Likewise. (warn): Likewise.
2001-09-19Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu1-4/+7
2001-09-18 * ar.c (print_contents): Cast args of bfd_seek to the right types.Alan Modra1-1/+1
Replace bfd_read call with call to bfd_bread. (extract_file): Likewise. * objdump.c (dump_section_header): Cast section->filepos to unsigned long to suit printf format string. * readelf.c (process_section_headers): Similarly for sh_offset. (process_unwind): Likewise.
2001-08-102001-08-10 H.J. Lu <hjl@gnu.org>H.J. Lu1-13/+17
* nm.c (print_value): Add one arg, bfd *. (print_value): Replace fprintf_vma with bfd_fprintf_vma. (print_symbol_info_bsd): Also pass `abfd' to print_value (). (print_symbol_info_sysv): Likewise. (print_symbol_info_posix): Likewise. * objdump.c (dump_section_header): Replace printf_vma with bfd_printf_vma. (print_section_stabs): Likewise. (dump_bfd_header): Likewise. (objdump_print_value): Replace sprintf_vma with bfd_sprintf_vma. (disassemble_bytes): Likewise. (dump_reloc_set): Likewise.
2001-08-09 * readelf.c: Add missing prototypes.Alan Modra1-107/+47
* objdump.c: Likewise. Format existing prototypes.
2001-08-032001-08-03 John Healy <jhealy@redhat.com>John Healy1-0/+1
Patch suggested by Frank Eigler <fche@redhat.com>. * objdump.c (disassemble_data): Fill in section member of the disasm_info structure.
2001-07-29 * bucomm.c (list_supported_architectures): New function.Alan Modra1-0/+1
* bucomm.h (list_supported_architectures): Declare. * objdump.c (usage): Call the above.
2001-07-252001-07-25 Dave Brolley <brolley@redhat.com>Dave Brolley1-0/+4
* 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-05-28Remove section VMA adjustment when computing the address of the line to show.Nick Clifton1-1/+4
2001-03-13Fix typos in ChangeLogs and update copyright noticesNick Clifton1-1/+2
2001-02-07Change bfd_target_vector from an array to a pointerNick Clifton1-5/+5
2001-01-09Add OBJDUMP_DEFS to configure and makefileNick Clifton1-5/+18
Check for DISASSEMBLER_NEEDS_RELOCS in objdump and read in relocs if set.
2000-08-182000-08-17 Christopher C. Chimelis <chris@debian.org>H.J. Lu1-1/+1
* objdump.c (LONGEST_ARCH): Set to sizeof("powerpc:common").
2000-07-20Add optional style argument to --demangle switch.Nick Clifton1-2/+15
2000-07-12* objdump.c (usage): Make output of `objdump --help' moreMark Kettenis1-33/+34
consistent with the rest of the GNU world. Add a line describing the purpose of the program.
2000-06-24Fix description of --stabs switchNick Clifton1-1/+1
2000-05-30Fix my inept 2000-05-24 change.Alan Modra1-3/+3
2000-05-25Ensure bfd_close after bfd_openw so we don't get multiple bfd_openwAlan Modra1-0/+4
calls for same file.
2000-05-132000-05-12 H.J. Lu <hjl@gnu.org>H.J. Lu1-2/+2
* 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-04-18Fix bug disassmbling binary files for non-octet byte targets.Timothy Wall1-2/+4
2000-04-14Portability fixes.Alan Modra1-6/+0
2000-04-07A mostly cosmetic tidy up of warnings and error message reporting.Alan Modra1-31/+21
2000-04-07SEC_BLOCK, SEC_CLINK, and C_STATLAB added (TI COFF support).Timothy Wall1-0/+2
2000-04-04Move translated part of bug report string back into .c files soAlan Modra1-1/+1
xgettext can find it. Regnerate .pot files.
2000-04-03Move bug report string to one place.Alan Modra1-1/+1
2000-02-21This lot mainly cleans up `comparison between signed and unsigned' gccAlan Modra1-7/+7
warnings. One usused var, and a macro parenthesis fix too. Also check input sections are elf when doing gc in elflink.h.
2000-02-08Fix bug in interlisting option, added --file-start-context option.Timothy Wall1-5/+11
2000-02-03octets vs bytes changes for binutilsTimothy Wall1-100/+111
2000-01-27Add support for documenting target specific disassembler optionsNick Clifton1-0/+2
1999-11-21Overhaul --help outputNick Clifton1-84/+137
1999-10-281999-10-27 Fred Fish <fnf@cygnus.com>Ian Lance Taylor1-14/+44
* 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-09-19comment fixIan Lance Taylor1-1/+4
1999-09-121999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor1-2/+8
* objdump.c (dump_headers): If wide_output, print Flags header.
1999-09-121999-09-12 Donn Terry <donn@interix.com>Ian Lance Taylor1-0/+5
* objdump.c (dump_section_header): Print any comdat information.
1999-08-09 * objdump.c (exit_status): New static variable.Ian Lance Taylor1-13/+34
(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 * objdump.c (dump_section_header): Update for renaming ofIan Lance Taylor1-1/+2
SEC_SHORT to SEC_SMALL_DATA. Print SEC_SHARED flag.
1999-07-14 * objdump.c (dump_section_header): Print SEC_SHORT.Richard Henderson1-0/+1
1999-07-11 * Many files: Changes to avoid gcc warnings: Add ATTRIBUTE_UNUSEDIan Lance Taylor1-8/+8
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-06-16Add -M command line switch to objdump - text of switch is passed on to ↵Nick Clifton1-2/+12
disassembler Add support for register name set selection ot ARM disassembler.
1999-06-13 * objdump.c (disassemble_bytes): If the disassembler returns anIan Lance Taylor1-1/+6
error, print out anything it may have printed to the buffer. From H.J. Lu <hjl@gnu.org>.
1999-05-111999-05-10 DJ Delorie <dj@cygnus.com>DJ Delorie1-1/+4
* 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-06Set display_endian based on target endianism.Nick Clifton1-2/+2
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+2829