1 2008-02-26 Nick Clifton <nickc@redhat.com>
3 * objdump.c (objdump_print_addr): If displaying file offsets, show
4 the offset even if there are no symbols available.
5 (dump_section): Display nothing if none of the section is going to
6 be dumped. Display the file offset, if requested, of the location
7 from where the dump starts.
8 * doc/binutils.texi (objdump): Mention that dumping via the -s
9 switch is also affected by the -F option.
11 2008-02-26 Nick Clifton <nickc@redhat.com>
13 Re-apply this patch which was accidentally deleted:
14 2006-05-16 Carlos O'Donell <carlos@codesourcery.com>
16 * doc/binutils.texi: Use "Binutils Index" for index name.
18 2008-02-22 Nick Clifton <nickc@redhat.com>
20 * objdump.c (display_file_offsets): New variable.
21 (long_options): Add -F/--file-offsets.
22 (objdump_print_addr_with_sym): If displaying file offsets, print
23 the offset of the given address.
24 (disassemble_bytes): If displaying file offsets, tell the user how
25 many zeroes are skipped and the file offset of the point where
27 (disassemble_section): Only display the name of the section if
28 data is going to be dumped from it.
29 (main): Handle new option. Produce error messages if the start or
30 stop addresses do not make sense.
31 * doc/binutils.texi: Document the new feature.
32 * NEWS: Mention the new feature.
34 2008-02-15 Chu Li <chul@cn.fujitsu.com>
35 Nick Clifton <nickc@redhat.com>
38 * strings.c (integer_arg): Delete function.
39 (string_min): Initialise to 4.
40 (main): Use strtoul to parse integer arguments.
41 Move check for an invalid string length to after all the arguments
43 (usage): Use indentation to indicate that -<n> is a another form
44 of the --bytes= command line option.
46 2008-02-12 Nick Clifton <nickc@redhat.com>
48 * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
50 (scan_obj_filename): Do not drop the const qualifier when calling
51 mcore_elf_cache_filename.
52 (struct fname_cache): Add const qualifier to filename field.
54 2008-02-08 H.J. Lu <hongjiu.lu@intel.com>
57 * strings.c (main): Set string_min to 4 if it is <= 0.
59 2008-02-07 Alan Modra <amodra@bigpond.net.au>
61 * objdump.c (main): Don't pass unadorned NULL to concat.
63 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
66 * configure: Regenerated.
68 2008-02-03 Adam Nemet <anemet@caviumnetworks.com>
70 * readelf.c (get_machine_flags): Handle Octeon.
72 2008-01-30 Tristan Gingold <gingold@adacore.com>
74 * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
75 (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
76 (get_dynamic_type): Handle IA64-specific tags.
77 (get_ia64_section_type_name): Handle OpenVMS-specific sections.
78 (get_section_type_name): Handle OS-specific sections (and
79 particularly IA64 OpenVMS one).
80 (get_elf_section_flags): Makes flags static. Add entries for IA64 and
83 2008-01-29 Nick Clifton <nickc@redhat.com>
85 * dwarf.c (print_dwarf_vma): New function. Display the value of a
86 dwarf_vma type at a specified precision. Use mingw field type
87 specifier if necessary.
88 (display_debug_loc): Use dwarf_vma type for begin and end values.
89 Use print_dwarf_vma to display their values. Use byte_get_signed
90 in order to correctly detect the -1 escape value.
91 (display_debug_aranges): Likewise.
92 (display_debug_ranges): Likewise.
94 2008-01-29 Alan Modra <amodra@bigpond.net.au>
96 * dwarf.c (display_debug_loc): Correct test for base address
97 entry when 64-bit host dumping 32-bit object.
99 2008-01-29 Alan Modra <amodra@bigpond.net.au>
101 * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
103 2008-01-28 Nick Clifton <nickc@redhat.com>
106 * rclex.c (yylex): Also allow the hypen character.
108 2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
110 * dwarf.c: Include "elf/common.h".
111 (eh_addr_size): Changed to int.
112 (dwarf_regnames_i386): New.
113 (dwarf_regnames_x86_64): Likewise.
114 (dwarf_regnames): Likewise.
115 (dwarf_regnames_count): Likewise.
116 (init_dwarf_regnames): Likewise.
118 (frame_display_row): Properly support different address size.
119 Call regname to get register name.
120 (display_debug_frames): Call regname to get register name.
121 Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
122 instead of DW_CFA_def_cfa_reg.
124 * dwarf.h (init_dwarf_regnames): New.
126 * objdump.c: Include "elf-bfd.h".
127 (dump_dwarf): Call init_dwarf_regnames on ELF input.
129 * readelf.c (guess_is_rela): Change argument to int.
130 (parse_args): Remove the undocumented upper case options for
132 (process_file_header): Call init_dwarf_regnames.
134 2008-01-25 DJ Delorie <dj@redhat.com>
136 * readelf.c (process_section_headers): Add m16c handler.
137 (is_16bit_abs_reloc): Recognize R_M32C_16.
139 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
141 * prdbg.c: Correct formatter style use.
142 * readelf.c: Likewise.
143 * strings.c: Likewise.
145 2008-01-25 Nick Clifton <nickc@redhat.com>
147 * po/ru.po: Updated Russian translation.
149 2008-01-17 H.J. Lu <hjl.tools@gmail.com>
151 * MAINTAINERS: Update my email address.
153 2008-01-14 Nick Clifton <nickc@redhat.com>
155 * dwarf.c (process_debug_info): Include the CU offset and corrupt
156 version value when reporting unrecognised DWARF version numbers.
157 (load_debug_info): Remember a failed attempt to load and parse the
158 .debug_info section and do not repeat such attempts.
159 (display_debug_lines): Check the return value from load_debug_info
160 and return whilst displaying a warning message if the load failed.
161 (display_debug_loc): Likewise.
162 (display_debug_ranges): Likewise.
163 (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
164 when the .debug_info section could not be loaded/parsed.
165 (process_debug_info): Display the length of the compilation unit
166 in hex, so that it corresponds with the offsets that will follow.
167 Tell the user if the length was 32-bit or 64-bit.
168 If a DIE abbreviation could not be found, tell the user the offset
170 (free_debug_memory): Do not attempt to free any entries in the
171 debug_information array if num_debug_info_entries is set to
172 DEBUG_INFO_UNAVAILABLE.
174 2008-01-10 Andreas Schwab <schwab@suse.de>
176 * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
178 2008-01-09 Jakub Zawadzki <darkjames@darkjames.ath.cx>
181 * bucomm.c (list_supported_architectures): Free architecture list
183 * windres.c (set_endianess): Likewise.
184 * windmc.c (set_endianess): Likewise.
186 2008-01-08 Kai Tietz <kai.tietz@onevision.com>
189 * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
190 characters for name tokens.
192 2008-01-04 Greg McGary <greg@mcgary.org>
194 * prdbg.c (print_vma): Print as long long, if host supports it.
196 2008-01-03 Nick Clifton <nickc@redhat.com>
198 * dwarf.c (read_and_display_attr_value): Prefix values that are
199 displayed in hexadecimal with 0x.
200 For the DW_AT_import attribute display the abbreviation number and
201 tag of the imported DIE.
202 (process_debug_info): Warn about lengths that reserved by the
203 DWARF3 specification.
204 Provide more information when corrupted DIEs are detected.
205 Warn if DIE corruption makes the sibling level negative.
207 For older changes see ChangeLog-2007
213 version-control: never