1 2008-04-08 Alan Modra <amodra@bigpond.net.au>
3 * dwarf.c: Remove trailing whitespace throughout file.
5 2008-04-04 Nick Clifton <nickc@redhat.com>
7 * po/sk.po: Updated Slovak translation.
9 2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
11 * dwarf.c (dwarf_regnames_i386): Add AVX registers.
12 (dwarf_regnames_x86_64): Likewise.
14 2008-03-27 Cary Coutant <ccoutant@google.com>
16 Add support for thin archives.
17 * ar.c (make_thin_archive): New global flag.
18 (map_over_members): Deal with full pathnames in thin archives.
19 (usage, main): Add 'T' option for building thin archives.
20 (replace_members): Pass thin archive flag to ar_emul_append.
21 * arsup.c (ar_open): Initialize new flag.
22 * binemul.c (ar_emul_append): Add new parameter for
23 flattening nested archives.
24 (do_ar_emul_default_append): New function.
25 (ar_emul_default_append): Factored out recursive code.
26 * binutils/binemul.h (ar_emul_default_append): Add new parameter.
27 (struct bin_emulation_xfer_struct): New parameter for ar_append.
28 * dlltool.c (gen_lib_file): Initialize thin archive flag.
29 * emul_aix.c (ar_emul_aix_internal): Add new flatten
30 parameter, currently unimplemented.
32 * objcopy.c (copy_archive): Preserve thin archive flag.
33 * doc/binutils.texi: Update ar documentation.
34 * NEWS: Mention the new feature.
36 2008-03-20 H.J. Lu <hongjiu.lu@intel.com>
38 * readelf.c (process_mips_specific): Declare addr_size as int.
40 2008-03-20 Richard Sandiford <rsandifo@nildram.co.uk>
42 * readelf.c (print_mips_got_entry): New function.
43 (process_mips_specific): Print GOT information.
45 2008-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
47 * aclocal.m4: Regenerate.
48 * configure: Likewise.
49 * Makefile.in: Likewise.
50 * doc/Makefile.in: Likewise.
52 2008-03-16 Brian Dessent <brian@dessent.net>
54 * rcparse.y (resid): Allow control text to span multiple lines.
56 2008-03-13 Alan Modra <amodra@bigpond.net.au>
58 * readelf.c: Use %u throughout when printing sh_link or sh_info,
59 %lu when printing sh_addralign.
60 (process_version_sections): Use identical formats when printing
61 all offset and sh_link fields.
63 2008-03-13 Alan Modra <amodra@bigpond.net.au>
65 * Makefile.am: Run "make dep-am".
66 * Makefile.in: Regenerate.
67 * doc/Makefile.in: Regenerate.
68 * configure: Regenerate.
70 2008-03-12 Alan Modra <amodra@bigpond.net.au>
73 * readelf.c (SECTION_HEADER_INDEX, SECTION_HEADER_NUM): Delete.
74 Remove use throughout file.
75 (SECTION_HEADER): Likewise.
76 (dump_relocations): Don't adjust st_shndx for reserved range.
77 (process_file_header): Mask SHN_XINDEX to values seen in external
78 elf structs. Simplify valid section index tests.
79 (get_32bit_elf_symbols, get_64bit_elf_symbols): Mask SHN_XINDEX.
80 Map reserved st_shndx to internal form.
81 (process_section_groups): Test that group symbol st_shndx is in
82 range, not just non-zero. Delete reserved range check.
83 (get_symbol_index_type): Mask "type" to 16 bits when printing PRC,
86 2008-03-09 Paul Brook <paul@codesourcery.com>
88 * readelf.c (arm_attr_tag_VFP_arch): Add "VFPv3-D16".
90 2008-03-03 James E. Wilson <wilson@tuliptree.org>
92 * MAINTAINERS: Update my email address.
94 2008-03-03 Nick Clifton <nickc@redhat.com>
96 * dwarf.c (decode_location_expression): Handle
97 DW_OP_PGI_omp_thread_num.
99 2008-03-01 Alan Modra <amodra@bigpond.net.au>
101 * objdump.c (objdump_print_addr): Initialise "sym".
103 2008-02-27 Justin Pryzby <justinpryzby@users.sourceforge.net>
104 Nick Clifton <nickc@redhat.com>
106 * ar.c (usage): Mention -t command line switch.
107 * doc/binutils.texi (ranlib): Document -t command line switch.
109 2008-02-26 Nick Clifton <nickc@redhat.com>
111 * objdump.c (objdump_print_addr): If displaying file offsets, show
112 the offset even if there are no symbols available.
113 (dump_section): Display nothing if none of the section is going to
114 be dumped. Display the file offset, if requested, of the location
115 from where the dump starts.
116 * doc/binutils.texi (objdump): Mention that dumping via the -s
117 switch is also affected by the -F option.
119 2008-02-26 Nick Clifton <nickc@redhat.com>
121 Re-apply this patch which was accidentally deleted:
122 2006-05-16 Carlos O'Donell <carlos@codesourcery.com>
124 * doc/binutils.texi: Use "Binutils Index" for index name.
126 2008-02-22 Nick Clifton <nickc@redhat.com>
128 * objdump.c (display_file_offsets): New variable.
129 (long_options): Add -F/--file-offsets.
130 (objdump_print_addr_with_sym): If displaying file offsets, print
131 the offset of the given address.
132 (disassemble_bytes): If displaying file offsets, tell the user how
133 many zeroes are skipped and the file offset of the point where
135 (disassemble_section): Only display the name of the section if
136 data is going to be dumped from it.
137 (main): Handle new option. Produce error messages if the start or
138 stop addresses do not make sense.
139 * doc/binutils.texi: Document the new feature.
140 * NEWS: Mention the new feature.
142 2008-02-15 Chu Li <chul@cn.fujitsu.com>
143 Nick Clifton <nickc@redhat.com>
146 * strings.c (integer_arg): Delete function.
147 (string_min): Initialise to 4.
148 (main): Use strtoul to parse integer arguments.
149 Move check for an invalid string length to after all the arguments
151 (usage): Use indentation to indicate that -<n> is a another form
152 of the --bytes= command line option.
154 2008-02-12 Nick Clifton <nickc@redhat.com>
156 * dlltool.c (mcore_elf_cache_filename): Add a const qualifier to
158 (scan_obj_filename): Do not drop the const qualifier when calling
159 mcore_elf_cache_filename.
160 (struct fname_cache): Add const qualifier to filename field.
162 2008-02-08 H.J. Lu <hongjiu.lu@intel.com>
165 * strings.c (main): Set string_min to 4 if it is <= 0.
167 2008-02-07 Alan Modra <amodra@bigpond.net.au>
169 * objdump.c (main): Don't pass unadorned NULL to concat.
171 2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
174 * configure: Regenerated.
176 2008-02-03 Adam Nemet <anemet@caviumnetworks.com>
178 * readelf.c (get_machine_flags): Handle Octeon.
180 2008-01-30 Tristan Gingold <gingold@adacore.com>
182 * readelf.c (dump_relocations): Decode OpenVMS-specific sections.
183 (get_ia64_dynamic_type): Decode OpenVMS-specific tags.
184 (get_dynamic_type): Handle IA64-specific tags.
185 (get_ia64_section_type_name): Handle OpenVMS-specific sections.
186 (get_section_type_name): Handle OS-specific sections (and
187 particularly IA64 OpenVMS one).
188 (get_elf_section_flags): Makes flags static. Add entries for IA64 and
191 2008-01-29 Nick Clifton <nickc@redhat.com>
193 * dwarf.c (print_dwarf_vma): New function. Display the value of a
194 dwarf_vma type at a specified precision. Use mingw field type
195 specifier if necessary.
196 (display_debug_loc): Use dwarf_vma type for begin and end values.
197 Use print_dwarf_vma to display their values. Use byte_get_signed
198 in order to correctly detect the -1 escape value.
199 (display_debug_aranges): Likewise.
200 (display_debug_ranges): Likewise.
202 2008-01-29 Alan Modra <amodra@bigpond.net.au>
204 * dwarf.c (display_debug_loc): Correct test for base address
205 entry when 64-bit host dumping 32-bit object.
207 2008-01-29 Alan Modra <amodra@bigpond.net.au>
209 * MAINTAINERS: Remove myself as ix86 maintainer. Add for SPU.
211 2008-01-28 Nick Clifton <nickc@redhat.com>
214 * rclex.c (yylex): Also allow the hypen character.
216 2008-01-28 H.J. Lu <hongjiu.lu@intel.com>
218 * dwarf.c: Include "elf/common.h".
219 (eh_addr_size): Changed to int.
220 (dwarf_regnames_i386): New.
221 (dwarf_regnames_x86_64): Likewise.
222 (dwarf_regnames): Likewise.
223 (dwarf_regnames_count): Likewise.
224 (init_dwarf_regnames): Likewise.
226 (frame_display_row): Properly support different address size.
227 Call regname to get register name.
228 (display_debug_frames): Call regname to get register name.
229 Display DW_CFA_def_cfa_register as DW_CFA_def_cfa_register
230 instead of DW_CFA_def_cfa_reg.
232 * dwarf.h (init_dwarf_regnames): New.
234 * objdump.c: Include "elf-bfd.h".
235 (dump_dwarf): Call init_dwarf_regnames on ELF input.
237 * readelf.c (guess_is_rela): Change argument to int.
238 (parse_args): Remove the undocumented upper case options for
240 (process_file_header): Call init_dwarf_regnames.
242 2008-01-25 DJ Delorie <dj@redhat.com>
244 * readelf.c (process_section_headers): Add m16c handler.
245 (is_16bit_abs_reloc): Recognize R_M32C_16.
247 2008-01-25 Kai Tietz <kai.tietz@onevision.com>
249 * prdbg.c: Correct formatter style use.
250 * readelf.c: Likewise.
251 * strings.c: Likewise.
253 2008-01-25 Nick Clifton <nickc@redhat.com>
255 * po/ru.po: Updated Russian translation.
257 2008-01-17 H.J. Lu <hjl.tools@gmail.com>
259 * MAINTAINERS: Update my email address.
261 2008-01-14 Nick Clifton <nickc@redhat.com>
263 * dwarf.c (process_debug_info): Include the CU offset and corrupt
264 version value when reporting unrecognised DWARF version numbers.
265 (load_debug_info): Remember a failed attempt to load and parse the
266 .debug_info section and do not repeat such attempts.
267 (display_debug_lines): Check the return value from load_debug_info
268 and return whilst displaying a warning message if the load failed.
269 (display_debug_loc): Likewise.
270 (display_debug_ranges): Likewise.
271 (DEBUG_INFO_UNAVAILABLE): Value stored in num_debug_info_entries
272 when the .debug_info section could not be loaded/parsed.
273 (process_debug_info): Display the length of the compilation unit
274 in hex, so that it corresponds with the offsets that will follow.
275 Tell the user if the length was 32-bit or 64-bit.
276 If a DIE abbreviation could not be found, tell the user the offset
278 (free_debug_memory): Do not attempt to free any entries in the
279 debug_information array if num_debug_info_entries is set to
280 DEBUG_INFO_UNAVAILABLE.
282 2008-01-10 Andreas Schwab <schwab@suse.de>
284 * readelf.c (is_64bit_abs_reloc): Handle R_S390_64.
286 2008-01-09 Jakub Zawadzki <darkjames@darkjames.ath.cx>
289 * bucomm.c (list_supported_architectures): Free architecture list
291 * windres.c (set_endianess): Likewise.
292 * windmc.c (set_endianess): Likewise.
294 2008-01-08 Kai Tietz <kai.tietz@onevision.com>
297 * binutils/rclex.c: (yylex): Add ':', '_', '\\', and '/' to post
298 characters for name tokens.
300 2008-01-04 Greg McGary <greg@mcgary.org>
302 * prdbg.c (print_vma): Print as long long, if host supports it.
304 2008-01-03 Nick Clifton <nickc@redhat.com>
306 * dwarf.c (read_and_display_attr_value): Prefix values that are
307 displayed in hexadecimal with 0x.
308 For the DW_AT_import attribute display the abbreviation number and
309 tag of the imported DIE.
310 (process_debug_info): Warn about lengths that reserved by the
311 DWARF3 specification.
312 Provide more information when corrupted DIEs are detected.
313 Warn if DIE corruption makes the sibling level negative.
315 For older changes see ChangeLog-2007
321 version-control: never