aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.1
AgeCommit message (Collapse)AuthorFilesLines
1996-06-24 * objdump.c (endian): New static variable.Ian Lance Taylor1-9/+17
(usage): Mention -EB/-EL/--endian. (long_options): Add "endian". (disassemble_data): If endianness was specified, replace abfd->xvec with a copy of itself with the given endianness. (main): Handle -EB/-EL/--endian. * binutils.texi, objdump.1: Mention -EB/-EL/--endian.
1996-06-12 * objdump.c (dump_reloc_set): Add sec parameter. Change allIan Lance Taylor1-1/+1
callers. If with_line_numbers is set, display line numbers of relocation entries. * binutils.texi, objdump.1: Document -l with -r.
1996-01-23 Add new option --show-raw-insn.David Edelsohn1-1/+7
* objdump.c (show_raw_insn): New global. (usage): Update. (long_options): Update. (disassemble_data): Set disasm_info.flags if --show-raw-insn. * objdump.c (disassemble_data): Set new arch,mach,endian fields in disasm_info.
1996-01-08update copyrightIan Lance Taylor1-1/+1
1996-01-02 Implement generic debugging support. Implement a stabs reader andIan Lance Taylor1-0/+7
a generic printer. * budbg.h, debug.c, debug.h, prdbg.c, rddbg.c, stabs.c: New files. * objdump.c: Include "debug.h" and "budbg.h". (dump_debugging): New global variable. (usage): Mention --debugging. (long_options): Add "debugging". (display_bfd): Handle --debugging. * Makefile.in (OBJDUMP_OBJS): New variable. ($(OBJDUMP_PROG)): Use $(OBJDUMP_OBJS). * binutils.texi, objdump.1: Document --debugging.
1995-10-06Mon Sep 25 22:49:32 1995 Andreas Schwab ↵Ken Raeburn1-8/+4
<schwab@issan.informatik.uni-dortmund.de> * nm.c (print_symname): Don't try to demangle an empty name. * objdump.c (slurp_symtab): Reset symcount if there are no symbols. (slurp_dynamic_symtab): Likewise, for dynsymcount. (disassemble_data): Fix memory leak: free sorted_syms when done. (display_bfd): Likewise, for syms and dynsyms. (dump_relocs): Don't print header before possibly generating an error message. (dump_dynamic_relocs): Likewise. * ar.1, nm.1, objdump.1, size.1, strings.1, strip.1: Fix typos and formatting bugs.
1995-09-13 * objdump.c (start_address): New variable.Ian Lance Taylor1-0/+28
(stop_address): New variable. (usage): Mention --start-address and --stop-address. (OPTION_START_ADDRESS, OPTION_STOP_ADDRESS): Define. (long_options): Add "start-address" and "stop-address". (disassemble_data): Handle start_address and stop_address. (dump_data, dump_reloc_set): Likewise. (main): Don't set seenflag for -l. Handle OPTION_START_ADDRESS and OPTION_STOP_ADDRESS. * objcopy.c (parse_vma): Move to bucomm.c. * bucomm.c (parse_vma): New function, moved in from objcopy.c. * bucomm.h (parse_vma): Declare. * binutils.texi, objdump.1: Document new objdump options. PR 7983.
1995-02-14 * objdump.c (with_source_code): New global variable.Ian Lance Taylor1-0/+8
(usage): Mention -S/--source. (long_options): Add --source. (prev_functionname, prev_line): New static variables. (struct print_file_list): Define. (print_files): New static variable. (skip_to_line, show_line): New static functions. (disassemble_data): Call show_line to handle -l and -S. (main): Handle -S. * binutils.texi, objdump.1: Document -S/--source.
1994-09-16 * objdump.c (disassemble_all): New global variable.Ian Lance Taylor1-2/+14
(usage): Document --disassemble-all. (long_options): Add disassemble-all as a synonym for -D. (compare_symbols): Make pointers const. (compare_relocs): New static function. (disassemble_data): Rename disassemble to disassemble_fn to avoid shadowing. If dump_reloc_info, print relocs along with disassembly. Skip sections which are not SEC_CODE unless disassemble_all or only is set. (display_bfd): Don't call dump_relocs if disassemble is set. (main): Accept and handle -D. * binutils.texi: Document -D/--disassemble-all. * objdump.1: Likewise. PR 5059.
1994-04-07 Added -D (--dynamic) option to nm and -T (--dynamic-syms) and -RIan Lance Taylor1-0/+23
(--dynamic-reloc) arguments to objdump. * nm.c (dynamic): New static variable. (long_options): Added "dynamic". (usage): Mention -D and --dynamic. (main): Add D to getopt string. Handle -D by setting dynamic. (display_rel_file): If dynamic is non-zero, read dynamic symbols rather than normal symbols. * nm.1: Updated for -D (--dynamic) option. * objdump.c (dump_dynamic_symtab): New global variable. (dump_dynamic_reloc_info): New global variable. (dynsyms, dynsymcount): New global variables. (usage): Mention -R, -T, --dynamic-syms and --dynamic-reloc. (long_options): Added "dynamic-reloc" and "dynamic-syms". (slurp_symtab): If no symbols, return rather than exit. (slurp_dynamic_symtab): New function. (display_bfd): Handle dump_dynamic_symtab and dump_dynamic_reloc_info. (dump_symbols): Take new dynamic argument, indicating whether to display dynamic symbols. (dump_relocs): Move most printing into dump_reloc_set. (dump_dynamic_relocs): New function. (dump_reloc_set): New function, extracted from dump_relocs. (main): Add R and T to getopt string. Handle -T by setting dump_dynamic_symtab and -R by setting dump_dynamic_reloc_info. * objdump.1: Updated for -R (--dynamic-reloc) and -T (--dynamic-syms) options. * binutils.texi: Updated for new nm and objdump options.
1994-01-06 * binutils.texi: Add a chapter summarizing the ways to selectDavid MacKenzie1-19/+49
aspects of the target for each program. * objdump.c (long_options, usage): Add long equivalents for all remaining short options that lacked them. * binutils.texi objdump.1: Document them. * size.c (usage): Tweak usage message. * size.1: Add missing `=' in examples. * binutils.texi strip.1 objcopy.1 nlmconv.1 objcopy.c nlmconv.c: Use "--target=bfdname" as the option to select the BFD target, like nm and size already do. Reserve "--format=format" for textual output selection options, but for now keep old option names as obsolete for backward compatibility. * strings.c (main, strings_object_file, usage): Add --target option. * binutils.texi strings.1: Document it.
1993-11-13fix NAME hyphenDavid MacKenzie1-1/+1
1993-08-04fix doc bugDavid MacKenzie1-1/+3
1993-06-28 * Makefile.in: Note dependencies on bucomm.h.David MacKenzie1-11/+23
(cplus-dem.o): Link c++filt with version.o. * strings.c: Include bucomm.h and add prototypes to other decls. Remove -h option. * bucomm.h: Declare xrealloc. * nm.c, objcopy.c, objdump.c, size.c, strings.c (main, usage): Add --help option. Put "GNU" in the version message. (usage): Take stream and exit status as args. (main): Pass new args to usage.
1993-04-29Document missing options. Use -- instead of + for long options.David MacKenzie1-15/+15
1992-07-18removed rcsidsK. Richard Pixley1-1/+0
1992-06-14* objdump.c (dump_elf_stabs): Also dump .stab.index and .stab.excl sections.John Gilmore1-5/+5
(dump_elf_stabs_1): Split out main body of old dump_elf_stabs. * objdump.1, binutils.texi: Document new sections dumped.
1992-06-11* objdump.1, binutils.texi: Update for --stabs. Also fixJohn Gilmore1-6/+16
objdump's doc to use -- rather than + for long options. (FIXME: Not yet fixed everywhere in binutils.texinfo.)
1991-11-05Initial revisionRoland Pesch1-0/+218