1 2011-06-07 Cary Coutant <ccoutant@google.com>
3 * dwarf.c: Fix conversion to TU number.
5 2011-06-02 Nick Clifton <nickc@redhat.com>
7 * resres.c: Fix spelling typo.
10 * windres.c: Likewise.
11 * po/POTFILES.in: Regenerate.
12 * po/binutils.pot: Regenerate.
14 2011-06-01 Daniel Jacobowitz <drow@false.org>
16 * MAINTAINERS: Update my email address.
18 2011-05-31 Matthias Klose <doko@ubuntu.com>
20 * configure.in (BUILD_INSTALL_MISC): Only add embedspu once.
21 * configure: Regenerate.
23 2011-05-30 Alan Modra <amodra@gmail.com>
26 * Makefile.am (bin_PROGRAMS): Move BUILD_INSTALL_MISC to..
27 (bin_SCRIPTS): ..here.
28 (EXTRA_SCRIPTS): Define.
29 (EXTRA_DIST): Add embedspu.sh.
30 (DISTCLEANFILES): Add embedspu.
31 (embedspu): Depend on Makefile. Replace sed "s" command with "c".
32 * Makefile.in: Regenerate.
34 2011-05-25 Jakub Jelinek <jakub@redhat.com>
36 * dwarf.c (loc_offsets): New variable.
37 (loc_offsets_compar): New routine.
38 (display_debug_loc): Handle loc_offsets not being in ascending order
39 and also a single .debug_loc entry being used multiple times.
41 2011-05-18 Nick Clifton <nickc@redhat.com>
44 * nm.c (filter_symbols): Treat unique symbols as global symbols.
45 * doc/binutils.texi (nm): Mention that some lowercase letters
46 actually indicate global symbols.
48 2011-05-15 Tristan Gingold <gingold@adacore.com>
50 * od-xcoff.c: New file.
51 * objdump.h: New file.
52 * objdump.c: Include objdump.h
53 (dump_private_options, objdump_private_vectors): New variables.
54 (usage): Mention -P/--private. Display handled options.
55 (long_options): Add -P/--private.
56 (dump_target_specific): New function.
57 (dump_bfd): Handle dump_private_options.
59 * doc/binutils.texi (objdump): Document -P/--private.
60 * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES):
61 New variables, compute them.
62 (od_vectors): Add vectors for private dumpers. Make them uniq.
63 (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS.
64 * Makefile.am (HFILES): Add objdump.h
65 (CFILES): Add od-xcoff.c
66 (OBJDUMP_PRIVATE_OFILES): New variable.
67 (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES.
68 (objdump_LDADD): Ditto.
69 (EXTRA_objdump_SOURCES): Define.
70 * Makefile.in: Regenerate.
71 * configure: Regenerate.
73 2011-05-10 Tristan Gingold <gingold@adacore.com>
75 * dwarf.c (process_extended_line_op): Dump unknown records.
77 2011-05-07 Alan Modra <amodra@gmail.com>
80 * objcopy.c (copy_archive): Check bfd_openw result in unknown object
81 case. Rewrite without goto.
83 2011-05-03 Jakub Jelinek <jakub@redhat.com>
85 * dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type,
86 DW_OP_GNU_regval_type, DW_OP_GNU_deref_type, DW_OP_GNU_convert
87 and DW_OP_GNU_reinterpret.
89 * MAINTAINERS: Add myself as DWARF2 maintainer.
91 2011-05-02 Alan Modra <amodra@gmail.com>
94 Revert the following change
95 Michael Snyder <msnyder@vmware.com>
96 * ar.c (move_members): Plug memory leak.
97 (delete_members): Plug memory leak.
99 2011-04-28 Tom Tromey <tromey@redhat.com>
101 * NEWS: Add note about --dwarf-depth, --dwarf-start, and
103 * objdump.c (suppress_bfd_header): New global.
105 (OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants.
106 (options): Add dwarf-depth and dwarf-start entries.
107 (dump_bfd): Use suppress_bfd_header.
108 (main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH.
109 * doc/binutils.texi (objcopy): Document --dwarf-depth and
112 * dwarf-mode.el: New file.
113 * dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals.
114 (read_and_display_attr_value): Also check debug_info_p.
115 (process_debug_info): Handle dwarf_start_die and
117 * dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare.
118 * readelf.c (usage): Update.
119 (OPTION_DWARF_DEPTH): New macro.
120 (OPTION_DWARF_START): Likewise.
121 (options): Add dwarf-depth and dwarf-start entries.
122 (parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH.
124 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
126 * dwarf.c (display_gdb_index): Support version 5, warn on version 4.
128 2011-04-27 Tristan Gingold <gingold@adacore.com>
130 * dwarf.c (process_extended_line_op): Handle
131 DW_LNE_HP_source_file_correlation.
133 2011-04-27 Nick Clifton <nickc@redhat.com>
135 * po/da.po: Updated Danish translation.
137 2011-04-21 Tom Tromey <tromey@redhat.com>
139 * readelf.c (print_stapsdt_note): New function.
140 (process_note): Use it.
142 2011-04-21 Tom Tromey <tromey@redhat.com>
144 * readelf.c (get_stapsdt_note_type): New function.
145 (process_note): Recognize "stapsdt" notes.
147 2011-04-21 Tom Tromey <tromey@redhat.com>
149 * readelf.c (process_corefile_note_segment): Change header field
151 (process_note): Change field widths.
153 2011-04-21 Tom Tromey <tromey@redhat.com>
155 * readelf.c (print_gnu_note): New function.
156 (process_note): Use it.
158 2011-04-21 Jie Zhang <jzhang918@gmail.com>
160 * MAINTAINERS: Update my email address.
162 2011-04-11 Kai Tietz <ktietz@redhat.com>
164 * windres.c (usage): Add new --preprocessor-arg option.
165 (option_values): Add new OPTION_PREPROCESSOR_ARG enumerator.
166 (option long_options): Add preprocessor-arg option.
168 * doc/binutils.texi: Add documentation for --preprocessor-arg
170 * NEWS: Add line about new --preprocessor-arg option for windres.
172 2011-04-08 John Marino <binutils@marino.st>
174 * arlex.l: Prevent redefinition of YY_NO_UNPUT.
175 * syslex.l: Likewise.
177 2011-04-07 Paul Brook <paul@codesourcery.com>
179 * readelf.c (arm_section_get_word): Handle C6000 relocations.
180 (decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode,
181 decode_tic6x_unwind_bytecode, expand_prel31): New functions.
182 (decode_arm_unwind): Split out common code from ARM specific bits.
183 (dump_arm_unwind): Use expand_prel31.
184 (arm_process_unwind): Handle SHT_C6000_UNWIND sections.
185 (process_unwind): Add SHT_C6000_UNWIND.
187 2011-04-06 Joseph Myers <joseph@codesourcery.com>
189 * configure.in (thumb-*-pe*): Remove.
190 * configure: Regenerate.
192 2011-04-05 Sterling Augustine <augustine.sterling@gmail.com>
194 * MAINTAINERS: Update my email address.
196 2011-04-03 H.J. Lu <hongjiu.lu@intel.com>
199 * objcopy.c (copy_unknown_object): Make the archive element
202 2011-04-03 David S. Miller <davem@davemloft.net>
204 * objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations
205 accurately, rather than how they are represented internally.
207 2011-03-31 Tristan Gingold <gingold@adacore.com>
209 * makefile.vms (readelf.exe): New target.
211 2011-03-31 Tristan Gingold <gingold@adacore.com>
213 * makefile.vms (DEBUG_OBJS): Add elfcomm.obj.
215 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
217 * readelf.c (get_symbol_index_type): Handle SCOM for TIC6X.
218 (dump_relocations): Likewise.
220 2011-03-31 Tristan Gingold <gingold@adacore.com>
222 * readelf.c (get_ia64_vms_note_type): New function.
223 (print_ia64_vms_note): Ditto.
224 (process_note): Recognize VMS/ia64 specific notes.
226 (process_corefile_note_segment): Decode VMS notes.
228 2011-03-30 Catherine Moore <clm@codesourcery.com>
230 * addr2line.c (translate_addresses): Sign extend the pc
231 if sign_extend_vma is enabled.
233 2011-03-30 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
235 * readelf.c (process_gnu_liblist): Stop memory leak.
237 2011-03-29 Alan Modra <amodra@gmail.com>
239 * coffdump.c: Include bfd_stdint.h
241 2011-03-28 Pierre Muller <muller@ics.u-strasbg.fr>
243 * coffdump.c (coff_dump): Correct spelling error.
244 (show_usage): Replace SYSROFF by COFF.
246 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
248 * coffdump.c (dump_coff_scope): Use double typecast for pointer P
249 to allow compilation for all targets.
251 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
253 * dwarf.c (process_debug_info): Use offset_size to determine
254 the bit-size of the computation unit's offset.
255 (decode_location_expression): Use dwarf_vmatoa function to display
257 (process_debug_info): Use dwarf_vma type for local variables
258 length and type_offset.
260 2011-03-25 Michael Snyder <msnyder@vmware.com>
262 * strings.c (print_strings): Plug memory leak.
263 * ar.c (move_members): Plug memory leak.
264 (delete_members): Plug memory leak.
265 (write_archive): Plug memory leak.
266 * ieee.c (ieee_add_bb11): Plug memory leak.
267 (ieee_function_type): Likewise.
268 (ieee_class_baseclass): Likewise.
269 * prdbg.c (pr_function_type): Close memory leaks.
270 (pr_method_type): Likewise.
271 (tg_class_static_member): Likewise.
272 (tg_class_method_variant): Likewise.
273 (tg_class_static_method_variant): Likewise.
274 * stabs.c (parse_stab_enum_type): Fix memory leaks.
275 (parse_stab_struct_type): Likewise.
276 (parse_stab_struct_fields): Likewise.
277 (parse_stab_one_struct_field): Likewise.
278 (parse_stab_members): Likewise.
279 (stab_demangle_qualified): Likewise.
280 * objdump.c (dump_reloc_set): Free malloced memory.
281 * bucomm.c (make_tempname): Stop memory leak.
283 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
285 Replace bfd_vma type and analog types by dwarf_vma and analogs.
286 Use dwarf specific print functions to display these type values.
287 * dwarf.h (dwarf_signed_vma): New type;
288 (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma.
289 (DWARF2_External_PubNames): Likewise.
290 (DWARF2_External_CompUnit): Likewise.
291 (DWARF2_External_ARange): Likewise.
292 (read_leb128): Change return type to dwarf_vma.
293 * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and
294 check byte_size values.
295 (dwarf_vmatoa): Change parameter type to dwarf_vma.
296 (dwarf_svmatoa): New static function.
297 (read_leb128): Change return type to dwarf_vma.
298 (read_sleb128): New static function.
299 (struct State_Machine_Registers): Change address field type to
301 (process_extended_line_op): Adapt to type changes.
302 (fetch_indirect_string): Likewise.
303 (idisplay_block): Likewise.
304 (decode_location_expression): Likewise.
305 (read_and_display_attr_value): Likewise.
306 (process_debug_info): Likewise.
307 (display_debug_lines_raw): Likewise.
308 (display_debug_lines_decoded): Likewise.
309 (SLEB macro): Use new read_sleb128 function.
311 2011-03-17 Alan Modra <amodra@gmail.com>
314 * ar.c (ranlib_main): Init arg_index properly.
315 (usage): Describe --target.
317 2011-03-16 Jakub Jelinek <jakub@redhat.com>
319 * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.
320 (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value,
321 DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered.
322 (get_AT_name): Handle DW_AT_GNU_call_site_value,
323 DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
324 DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
325 DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and
326 DW_AT_GNU_all_source_call_sites.
327 (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust
330 2011-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
332 * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site.
333 (decode_location_expression): Handle DW_OP_GNU_entry_value.
334 (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value.
335 (get_AT_name): Likewise.
337 2011-03-14 Michael Snyder <msnyder@vmware.com>
339 * objcopy.c (set_pe_subsystem): Free subsystem.
341 * wrstabs.c (stab_start_struct_type): Close memory leak.
343 * readelf.c (process_version_sections): Free symbols.
345 * nm.c (display_rel_file): Free symsizes.
347 2011-03-10 Nick Clifton <nickc@redhat.com>
349 * readelf.c (get_machine_name): Update EM_V850 entry.
351 2011-03-03 Mike Frysinger <vapier@gentoo.org>
353 * objdump.c (usage): Fix single typo.
354 * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po,
355 po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise.
357 2011-03-01 Akos Pasztory <akos.pasztory@gmail.com>
360 * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
362 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
364 * debug.c (debug_start_source): Use filename_(n)cmp.
365 * ieee.c (ieee_finish_compilation_unit): Likewise.
366 (ieee_lineno): Likewise.
367 * nlmconv.c (main): Likewise.
368 * objcopy.c (strip_main): Likewise.
369 (copy_main): Likewise.
370 * objdump.c (show_line): Likewise.
371 (dump_reloc_set): Likewise.
372 * srconv.c (main): Likewise.
373 * wrstabs.c (stab_lineno): Likewise.
375 2011-02-24 Zachary T Welch <zwelch@codesourcery.com>
377 * readelf.c (decode_arm_unwind): Implement decoding of remaining
378 ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX).
380 2011-02-23 Kai Tietz <kai.tietz@onevision.com>
382 * dwarf.c (read_leb128): Use bfd_vma instead of
384 (dwarf_vmatoa): New helper routine.
385 (process_extended_line_op): Use for adr bfd_vma
386 type and print those typed values via BFD_VMA_FMT
387 or via dwarf_vmatoa for localized prints.
388 (fetch_indirect_string): Adjust offset's type.
389 (decode_location_expression): Adjust argument types
391 (read_and_display_attr_value): Likewise.
392 (read_and_display_attr): Likewise.
393 (decode_location_expression): Adjust printf format.
394 (process_debug_info): Likewise.
395 (display_debug_lines_raw): Likewise.
396 (display_debug_lines_decoded): Likewise.
397 (display_debug_pubnames): Likewise.
398 (display_debug_loc): Likewise.
399 (display_debug_aranges): Likewise.
400 * dwarf.h (DWARF2_External_LineInfo,
401 DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
402 DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
403 DWARF2_Internal_CompUnit, DWARF2_External_ARange,
404 DWARF2_Internal_ARange): Added..
405 (read_leb128): Adjust return type.
407 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
409 * configure: Regenerate.
411 2011-02-08 Nick Clifton <nickc@redhat.com>
414 * readelf.c (process_program_headers): Issue a warning if there
415 are no program headers but the file header has a non-zero program
417 (process_section_headers): Issue a warning if there are no section
418 headers but the file header has a non-zero section header offset.
419 (process_section_groups): Reword the no section message so that it
420 can be distinguished from the one issued by process_section_headers.
422 2011-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
423 Doug Evans <dje@google.com>
425 * dwarf.c (display_gdb_index): Support version 4, warn on version 3.
427 2011-01-19 Maciej W. Rozycki <macro@codesourcery.com>
429 * readelf.c (process_object): Free dynamic_section after use.
431 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
434 * readelf.c (process_archive): Free and reset dump_sects
435 after processing each archive member.
437 2011-01-11 Andreas Schwab <schwab@redhat.com>
439 * readelf.c (print_symbol): Handle symbol characters as unsigned.
442 2011-01-10 Nick Clifton <nickc@redhat.com>
444 * po/da.po: Updated Danish translation.
446 2011-01-06 Vladimir Siminov <sv@sw.ru>
448 * bucomm.c (get_file_size): Check for negative sizes and issue a
449 warning message if encountered.
451 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
453 * version.c (print_version): Update copyright to 2011.
455 For older changes see ChangeLog-2010
461 version-control: never