* objdump.c (display_file_offsets): New variable.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
index 9b8978e1ca66c50c182776cc223066a07e116d58..d0333bb6aa622187931b07a22c3e3b0d5a0f5b26 100644 (file)
@@ -1,3 +1,130 @@
+2008-02-22  Nick Clifton  <nickc@redhat.com>
+
+       * objdump.c (display_file_offsets): New variable.
+       (long_options): Add -F/--file-offsets.
+       (objdump_print_addr_with_sym): If displaying file offsets, print
+       the offset of the given address.
+       (disassemble_bytes): If displaying file offsets, tell the user how
+       many zeroes are skipped and the file offset of the point where
+       dumping resumes.
+       (disassemble_section): Only display the name of the section if
+       data is going to be dumped from it.
+       (main): Handle new option.  Produce error messages if the start or
+       stop addresses do not make sense.
+       * doc/binutils.texi: Document the new feature.
+       * NEWS: Mention the new feature.
+
+2008-02-15  Chu Li  <chul@cn.fujitsu.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/5713
+       * strings.c (integer_arg): Delete function.
+       (string_min): Initialise to 4.
+       (main): Use strtoul to parse integer arguments.
+       Move check for an invalid string length to after all the arguments
+       have been parsed.
+       (usage): Use indentation to indicate that -<n> is a another form
+       of the --bytes= command line option.
+
+2008-02-12  Nick Clifton  <nickc@redhat.com>
+
+       * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
+       the argument.
+       (scan_obj_filename): Do not drop the const qualifier when calling
+       mcore_elf_cache_filename.
+       (struct fname_cache): Add const qualifier to filename field.
+
+2008-02-08  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutils/5713
+       * strings.c (main): Set string_min to 4 if it is <= 0.
+
+2008-02-07  Alan Modra  <amodra@bigpond.net.au>
+
+       * objdump.c (main): Don't pass unadorned NULL to concat.
+
+2008-02-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR 5715
+       * configure: Regenerated.
+
+2008-02-03  Adam Nemet  <anemet@caviumnetworks.com>
+
+       * readelf.c (get_machine_flags): Handle Octeon.
+
+2008-01-30  Tristan Gingold  <gingold@adacore.com>
+
+       * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
+       (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
+       (get_dynamic_type): Handle IA64-specific tags.
+       (get_ia64_section_type_name): Handle OpenVMS-specific sections.
+       (get_section_type_name): Handle OS-specific sections (and
+       particularly IA64 OpenVMS one).
+       (get_elf_section_flags): Makes flags static.  Add entries for IA64 and
+       decode them.
+
+2008-01-29  Nick Clifton  <nickc@redhat.com>
+
+       * dwarf.c (print_dwarf_vma): New function.  Display the value of a
+       dwarf_vma type at a specified precision.  Use mingw field type
+       specifier if necessary.
+       (display_debug_loc): Use dwarf_vma type for begin and end values.
+       Use print_dwarf_vma to display their values.  Use byte_get_signed
+       in order to correctly detect the -1 escape value.
+       (display_debug_aranges): Likewise.
+       (display_debug_ranges): Likewise.
+
+2008-01-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * dwarf.c (display_debug_loc): Correct test for base address
+       entry when 64-bit host dumping 32-bit object.
+
+2008-01-29  Alan Modra  <amodra@bigpond.net.au>
+
+       * MAINTAINERS: Remove myself as ix86 maintainer.  Add for SPU.
+
+2008-01-28  Nick Clifton  <nickc@redhat.com>
+
+       PR binutils/5529
+       * rclex.c (yylex): Also allow the hypen character.
+
+2008-01-28  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * dwarf.c: Include "elf/common.h".
+       (eh_addr_size): Changed to int.
+       (dwarf_regnames_i386): New.
+       (dwarf_regnames_x86_64): Likewise.
+       (dwarf_regnames): Likewise.
+       (dwarf_regnames_count): Likewise.
+       (init_dwarf_regnames): Likewise.
+       (regname): Likewise.
+       (frame_display_row): Properly support different address size.
+       Call regname to get register name.
+       (display_debug_frames): Call regname to get register name.
+       Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
+       instead of DW_CFA_def_cfa_reg.
+
+       * dwarf.h (init_dwarf_regnames): New.
+
+       * objdump.c: Include "elf-bfd.h".
+       (dump_dwarf): Call init_dwarf_regnames on ELF input.
+
+       * readelf.c (guess_is_rela): Change argument to int.
+       (parse_args): Remove the undocumented upper case options for
+       -wX.
+       (process_file_header): Call init_dwarf_regnames.
+
+2008-01-25  DJ Delorie  <dj@redhat.com>
+
+       * readelf.c (process_section_headers): Add m16c handler.
+       (is_16bit_abs_reloc): Recognize R_M32C_16.
+
+2008-01-25  Kai Tietz  <kai.tietz@onevision.com>
+
+       * prdbg.c: Correct formatter style use.
+       * readelf.c: Likewise.
+       * strings.c: Likewise.
+
 2008-01-25  Nick Clifton  <nickc@redhat.com>
 
        * po/ru.po: Updated Russian translation.
 
 2008-01-08  Kai Tietz  <kai.tietz@onevision.com>
 
+       PR binutils/5529
        * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
-       characters for name tokens. PR/5529.
+       characters for name tokens.
 
 2008-01-04  Greg McGary  <greg@mcgary.org>
 
This page took 0.026292 seconds and 4 git commands to generate.