1 2008-02-22 Nick Clifton <nickc@redhat.com>
3 * objdump.c (display_file_offsets): New variable.
4 (long_options): Add -F/--file-offsets.
5 (objdump_print_addr_with_sym): If displaying file offsets, print
6 the offset of the given address.
7 (disassemble_bytes): If displaying file offsets, tell the user how
8 many zeroes are skipped and the file offset of the point where
10 (disassemble_section): Only display the name of the section if
11 data is going to be dumped from it.
12 (main): Handle new option. Produce error messages if the start or
13 stop addresses do not make sense.
14 * doc/binutils.texi: Document the new feature.
15 * NEWS: Mention the new feature.
17 2008-02-15 Chu Li <chul@cn.fujitsu.com>
18 Nick Clifton <nickc@redhat.com>
21 * strings.c (integer_arg): Delete function.
22 (string_min): Initialise to 4.
23 (main): Use strtoul to parse integer arguments.
24 Move check for an invalid string length to after all the arguments
26 (usage): Use indentation to indicate that -<n> is a another form
27 of the --bytes= command line option.
29 2008-02-12 Nick Clifton <nickc@redhat.com>
31 * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
33 (scan_obj_filename): Do not drop the const qualifier when calling
34 mcore_elf_cache_filename.
35 (struct fname_cache): Add const qualifier to filename field.
37 2008-02-08 H.J. Lu <hongjiu.lu@intel.com>
40 * strings.c (main): Set string_min to 4 if it is <= 0.
42 2008-02-07 Alan Modra <amodra@bigpond.net.au>
44 * objdump.c (main): Don't pass unadorned NULL to concat.
46 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
49 * configure: Regenerated.
51 2008-02-03 Adam Nemet <anemet@caviumnetworks.com>
53 * readelf.c (get_machine_flags): Handle Octeon.
55 2008-01-30 Tristan Gingold <gingold@adacore.com>
57 * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
58 (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
59 (get_dynamic_type): Handle IA64-specific tags.
60 (get_ia64_section_type_name): Handle OpenVMS-specific sections.
61 (get_section_type_name): Handle OS-specific sections (and
62 particularly IA64 OpenVMS one).
63 (get_elf_section_flags): Makes flags static. Add entries for IA64 and
66 2008-01-29 Nick Clifton <nickc@redhat.com>
68 * dwarf.c (print_dwarf_vma): New function. Display the value of a
69 dwarf_vma type at a specified precision. Use mingw field type
70 specifier if necessary.
71 (display_debug_loc): Use dwarf_vma type for begin and end values.
72 Use print_dwarf_vma to display their values. Use byte_get_signed
73 in order to correctly detect the -1 escape value.
74 (display_debug_aranges): Likewise.
75 (display_debug_ranges): Likewise.
77 2008-01-29 Alan Modra <amodra@bigpond.net.au>
79 * dwarf.c (display_debug_loc): Correct test for base address
80 entry when 64-bit host dumping 32-bit object.
82 2008-01-29 Alan Modra <amodra@bigpond.net.au>
84 * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
86 2008-01-28 Nick Clifton <nickc@redhat.com>
89 * rclex.c (yylex): Also allow the hypen character.
91 2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
93 * dwarf.c: Include "elf/common.h".
94 (eh_addr_size): Changed to int.
95 (dwarf_regnames_i386): New.
96 (dwarf_regnames_x86_64): Likewise.
97 (dwarf_regnames): Likewise.
98 (dwarf_regnames_count): Likewise.
99 (init_dwarf_regnames): Likewise.
101 (frame_display_row): Properly support different address size.
102 Call regname to get register name.
103 (display_debug_frames): Call regname to get register name.
104 Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
105 instead of DW_CFA_def_cfa_reg.
107 * dwarf.h (init_dwarf_regnames): New.
109 * objdump.c: Include "elf-bfd.h".
110 (dump_dwarf): Call init_dwarf_regnames on ELF input.
112 * readelf.c (guess_is_rela): Change argument to int.
113 (parse_args): Remove the undocumented upper case options for
115 (process_file_header): Call init_dwarf_regnames.
117 2008-01-25 DJ Delorie <dj@redhat.com>
119 * readelf.c (process_section_headers): Add m16c handler.
120 (is_16bit_abs_reloc): Recognize R_M32C_16.
122 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
124 * prdbg.c: Correct formatter style use.
125 * readelf.c: Likewise.
126 * strings.c: Likewise.
128 2008-01-25 Nick Clifton <nickc@redhat.com>
130 * po/ru.po: Updated Russian translation.
132 2008-01-17 H.J. Lu <hjl.tools@gmail.com>
134 * MAINTAINERS: Update my email address.
136 2008-01-14 Nick Clifton <nickc@redhat.com>
138 * dwarf.c (process_debug_info): Include the CU offset and corrupt
139 version value when reporting unrecognised DWARF version numbers.
140 (load_debug_info): Remember a failed attempt to load and parse the
141 .debug_info section and do not repeat such attempts.
142 (display_debug_lines): Check the return value from load_debug_info
143 and return whilst displaying a warning message if the load failed.
144 (display_debug_loc): Likewise.
145 (display_debug_ranges): Likewise.
146 (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
147 when the .debug_info section could not be loaded/parsed.
148 (process_debug_info): Display the length of the compilation unit
149 in hex, so that it corresponds with the offsets that will follow.
150 Tell the user if the length was 32-bit or 64-bit.
151 If a DIE abbreviation could not be found, tell the user the offset
153 (free_debug_memory): Do not attempt to free any entries in the
154 debug_information array if num_debug_info_entries is set to
155 DEBUG_INFO_UNAVAILABLE.
157 2008-01-10 Andreas Schwab <schwab@suse.de>
159 * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
161 2008-01-09 Jakub Zawadzki <darkjames@darkjames.ath.cx>
164 * bucomm.c (list_supported_architectures): Free architecture list
166 * windres.c (set_endianess): Likewise.
167 * windmc.c (set_endianess): Likewise.
169 2008-01-08 Kai Tietz <kai.tietz@onevision.com>
172 * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
173 characters for name tokens.
175 2008-01-04 Greg McGary <greg@mcgary.org>
177 * prdbg.c (print_vma): Print as long long, if host supports it.
179 2008-01-03 Nick Clifton <nickc@redhat.com>
181 * dwarf.c (read_and_display_attr_value): Prefix values that are
182 displayed in hexadecimal with 0x.
183 For the DW_AT_import attribute display the abbreviation number and
184 tag of the imported DIE.
185 (process_debug_info): Warn about lengths that reserved by the
186 DWARF3 specification.
187 Provide more information when corrupted DIEs are detected.
188 Warn if DIE corruption makes the sibling level negative.
190 For older changes see ChangeLog-2007
196 version-control: never