1 2011-05-18 Nick Clifton <nickc@redhat.com>
4 * nm.c (filter_symbols): Treat unique symbols as global symbols.
5 * doc/binutils.texi (nm): Mention that some lowercase letters
6 actually indicate global symbols.
8 2011-05-15 Tristan Gingold <gingold@adacore.com>
10 * od-xcoff.c: New file.
11 * objdump.h: New file.
12 * objdump.c: Include objdump.h
13 (dump_private_options, objdump_private_vectors): New variables.
14 (usage): Mention -P/--private. Display handled options.
15 (long_options): Add -P/--private.
16 (dump_target_specific): New function.
17 (dump_bfd): Handle dump_private_options.
19 * doc/binutils.texi (objdump): Document -P/--private.
20 * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES):
21 New variables, compute them.
22 (od_vectors): Add vectors for private dumpers. Make them uniq.
23 (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS.
24 * Makefile.am (HFILES): Add objdump.h
25 (CFILES): Add od-xcoff.c
26 (OBJDUMP_PRIVATE_OFILES): New variable.
27 (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES.
28 (objdump_LDADD): Ditto.
29 (EXTRA_objdump_SOURCES): Define.
30 * Makefile.in: Regenerate.
31 * configure: Regenerate.
33 2011-05-10 Tristan Gingold <gingold@adacore.com>
35 * dwarf.c (process_extended_line_op): Dump unknown records.
37 2011-05-07 Alan Modra <amodra@gmail.com>
40 * objcopy.c (copy_archive): Check bfd_openw result in unknown object
41 case. Rewrite without goto.
43 2011-05-03 Jakub Jelinek <jakub@redhat.com>
45 * dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type,
46 DW_OP_GNU_regval_type, DW_OP_GNU_deref_type, DW_OP_GNU_convert
47 and DW_OP_GNU_reinterpret.
49 * MAINTAINERS: Add myself as DWARF2 maintainer.
51 2011-05-02 Alan Modra <amodra@gmail.com>
54 Revert the following change
55 Michael Snyder <msnyder@vmware.com>
56 * ar.c (move_members): Plug memory leak.
57 (delete_members): Plug memory leak.
59 2011-04-28 Tom Tromey <tromey@redhat.com>
61 * NEWS: Add note about --dwarf-depth, --dwarf-start, and
63 * objdump.c (suppress_bfd_header): New global.
65 (OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants.
66 (options): Add dwarf-depth and dwarf-start entries.
67 (dump_bfd): Use suppress_bfd_header.
68 (main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH.
69 * doc/binutils.texi (objcopy): Document --dwarf-depth and
72 * dwarf-mode.el: New file.
73 * dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals.
74 (read_and_display_attr_value): Also check debug_info_p.
75 (process_debug_info): Handle dwarf_start_die and
77 * dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare.
78 * readelf.c (usage): Update.
79 (OPTION_DWARF_DEPTH): New macro.
80 (OPTION_DWARF_START): Likewise.
81 (options): Add dwarf-depth and dwarf-start entries.
82 (parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH.
84 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
86 * dwarf.c (display_gdb_index): Support version 5, warn on version 4.
88 2011-04-27 Tristan Gingold <gingold@adacore.com>
90 * dwarf.c (process_extended_line_op): Handle
91 DW_LNE_HP_source_file_correlation.
93 2011-04-27 Nick Clifton <nickc@redhat.com>
95 * po/da.po: Updated Danish translation.
97 2011-04-21 Tom Tromey <tromey@redhat.com>
99 * readelf.c (print_stapsdt_note): New function.
100 (process_note): Use it.
102 2011-04-21 Tom Tromey <tromey@redhat.com>
104 * readelf.c (get_stapsdt_note_type): New function.
105 (process_note): Recognize "stapsdt" notes.
107 2011-04-21 Tom Tromey <tromey@redhat.com>
109 * readelf.c (process_corefile_note_segment): Change header field
111 (process_note): Change field widths.
113 2011-04-21 Tom Tromey <tromey@redhat.com>
115 * readelf.c (print_gnu_note): New function.
116 (process_note): Use it.
118 2011-04-21 Jie Zhang <jzhang918@gmail.com>
120 * MAINTAINERS: Update my email address.
122 2011-04-11 Kai Tietz <ktietz@redhat.com>
124 * windres.c (usage): Add new --preprocessor-arg option.
125 (option_values): Add new OPTION_PREPROCESSOR_ARG enumerator.
126 (option long_options): Add preprocessor-arg option.
128 * doc/binutils.texi: Add documentation for --preprocessor-arg
130 * NEWS: Add line about new --preprocessor-arg option for windres.
132 2011-04-08 John Marino <binutils@marino.st>
134 * arlex.l: Prevent redefinition of YY_NO_UNPUT.
135 * syslex.l: Likewise.
137 2011-04-07 Paul Brook <paul@codesourcery.com>
139 * readelf.c (arm_section_get_word): Handle C6000 relocations.
140 (decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode,
141 decode_tic6x_unwind_bytecode, expand_prel31): New functions.
142 (decode_arm_unwind): Split out common code from ARM specific bits.
143 (dump_arm_unwind): Use expand_prel31.
144 (arm_process_unwind): Handle SHT_C6000_UNWIND sections.
145 (process_unwind): Add SHT_C6000_UNWIND.
147 2011-04-06 Joseph Myers <joseph@codesourcery.com>
149 * configure.in (thumb-*-pe*): Remove.
150 * configure: Regenerate.
152 2011-04-05 Sterling Augustine <augustine.sterling@gmail.com>
154 * MAINTAINERS: Update my email address.
156 2011-04-03 H.J. Lu <hongjiu.lu@intel.com>
159 * objcopy.c (copy_unknown_object): Make the archive element
162 2011-04-03 David S. Miller <davem@davemloft.net>
164 * objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations
165 accurately, rather than how they are represented internally.
167 2011-03-31 Tristan Gingold <gingold@adacore.com>
169 * makefile.vms (readelf.exe): New target.
171 2011-03-31 Tristan Gingold <gingold@adacore.com>
173 * makefile.vms (DEBUG_OBJS): Add elfcomm.obj.
175 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
177 * readelf.c (get_symbol_index_type): Handle SCOM for TIC6X.
178 (dump_relocations): Likewise.
180 2011-03-31 Tristan Gingold <gingold@adacore.com>
182 * readelf.c (get_ia64_vms_note_type): New function.
183 (print_ia64_vms_note): Ditto.
184 (process_note): Recognize VMS/ia64 specific notes.
186 (process_corefile_note_segment): Decode VMS notes.
188 2011-03-30 Catherine Moore <clm@codesourcery.com>
190 * addr2line.c (translate_addresses): Sign extend the pc
191 if sign_extend_vma is enabled.
193 2011-03-30 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
195 * readelf.c (process_gnu_liblist): Stop memory leak.
197 2011-03-29 Alan Modra <amodra@gmail.com>
199 * coffdump.c: Include bfd_stdint.h
201 2011-03-28 Pierre Muller <muller@ics.u-strasbg.fr>
203 * coffdump.c (coff_dump): Correct spelling error.
204 (show_usage): Replace SYSROFF by COFF.
206 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
208 * coffdump.c (dump_coff_scope): Use double typecast for pointer P
209 to allow compilation for all targets.
211 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
213 * dwarf.c (process_debug_info): Use offset_size to determine
214 the bit-size of the computation unit's offset.
215 (decode_location_expression): Use dwarf_vmatoa function to display
217 (process_debug_info): Use dwarf_vma type for local variables
218 length and type_offset.
220 2011-03-25 Michael Snyder <msnyder@vmware.com>
222 * strings.c (print_strings): Plug memory leak.
223 * ar.c (move_members): Plug memory leak.
224 (delete_members): Plug memory leak.
225 (write_archive): Plug memory leak.
226 * ieee.c (ieee_add_bb11): Plug memory leak.
227 (ieee_function_type): Likewise.
228 (ieee_class_baseclass): Likewise.
229 * prdbg.c (pr_function_type): Close memory leaks.
230 (pr_method_type): Likewise.
231 (tg_class_static_member): Likewise.
232 (tg_class_method_variant): Likewise.
233 (tg_class_static_method_variant): Likewise.
234 * stabs.c (parse_stab_enum_type): Fix memory leaks.
235 (parse_stab_struct_type): Likewise.
236 (parse_stab_struct_fields): Likewise.
237 (parse_stab_one_struct_field): Likewise.
238 (parse_stab_members): Likewise.
239 (stab_demangle_qualified): Likewise.
240 * objdump.c (dump_reloc_set): Free malloced memory.
241 * bucomm.c (make_tempname): Stop memory leak.
243 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
245 Replace bfd_vma type and analog types by dwarf_vma and analogs.
246 Use dwarf specific print functions to display these type values.
247 * dwarf.h (dwarf_signed_vma): New type;
248 (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma.
249 (DWARF2_External_PubNames): Likewise.
250 (DWARF2_External_CompUnit): Likewise.
251 (DWARF2_External_ARange): Likewise.
252 (read_leb128): Change return type to dwarf_vma.
253 * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and
254 check byte_size values.
255 (dwarf_vmatoa): Change parameter type to dwarf_vma.
256 (dwarf_svmatoa): New static function.
257 (read_leb128): Change return type to dwarf_vma.
258 (read_sleb128): New static function.
259 (struct State_Machine_Registers): Change address field type to
261 (process_extended_line_op): Adapt to type changes.
262 (fetch_indirect_string): Likewise.
263 (idisplay_block): Likewise.
264 (decode_location_expression): Likewise.
265 (read_and_display_attr_value): Likewise.
266 (process_debug_info): Likewise.
267 (display_debug_lines_raw): Likewise.
268 (display_debug_lines_decoded): Likewise.
269 (SLEB macro): Use new read_sleb128 function.
271 2011-03-17 Alan Modra <amodra@gmail.com>
274 * ar.c (ranlib_main): Init arg_index properly.
275 (usage): Describe --target.
277 2011-03-16 Jakub Jelinek <jakub@redhat.com>
279 * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.
280 (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value,
281 DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered.
282 (get_AT_name): Handle DW_AT_GNU_call_site_value,
283 DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
284 DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
285 DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and
286 DW_AT_GNU_all_source_call_sites.
287 (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust
290 2011-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
292 * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site.
293 (decode_location_expression): Handle DW_OP_GNU_entry_value.
294 (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value.
295 (get_AT_name): Likewise.
297 2011-03-14 Michael Snyder <msnyder@vmware.com>
299 * objcopy.c (set_pe_subsystem): Free subsystem.
301 * wrstabs.c (stab_start_struct_type): Close memory leak.
303 * readelf.c (process_version_sections): Free symbols.
305 * nm.c (display_rel_file): Free symsizes.
307 2011-03-10 Nick Clifton <nickc@redhat.com>
309 * readelf.c (get_machine_name): Update EM_V850 entry.
311 2011-03-03 Mike Frysinger <vapier@gentoo.org>
313 * objdump.c (usage): Fix single typo.
314 * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po,
315 po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise.
317 2011-03-01 Akos Pasztory <akos.pasztory@gmail.com>
320 * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
322 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
324 * debug.c (debug_start_source): Use filename_(n)cmp.
325 * ieee.c (ieee_finish_compilation_unit): Likewise.
326 (ieee_lineno): Likewise.
327 * nlmconv.c (main): Likewise.
328 * objcopy.c (strip_main): Likewise.
329 (copy_main): Likewise.
330 * objdump.c (show_line): Likewise.
331 (dump_reloc_set): Likewise.
332 * srconv.c (main): Likewise.
333 * wrstabs.c (stab_lineno): Likewise.
335 2011-02-24 Zachary T Welch <zwelch@codesourcery.com>
337 * readelf.c (decode_arm_unwind): Implement decoding of remaining
338 ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX).
340 2011-02-23 Kai Tietz <kai.tietz@onevision.com>
342 * dwarf.c (read_leb128): Use bfd_vma instead of
344 (dwarf_vmatoa): New helper routine.
345 (process_extended_line_op): Use for adr bfd_vma
346 type and print those typed values via BFD_VMA_FMT
347 or via dwarf_vmatoa for localized prints.
348 (fetch_indirect_string): Adjust offset's type.
349 (decode_location_expression): Adjust argument types
351 (read_and_display_attr_value): Likewise.
352 (read_and_display_attr): Likewise.
353 (decode_location_expression): Adjust printf format.
354 (process_debug_info): Likewise.
355 (display_debug_lines_raw): Likewise.
356 (display_debug_lines_decoded): Likewise.
357 (display_debug_pubnames): Likewise.
358 (display_debug_loc): Likewise.
359 (display_debug_aranges): Likewise.
360 * dwarf.h (DWARF2_External_LineInfo,
361 DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
362 DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
363 DWARF2_Internal_CompUnit, DWARF2_External_ARange,
364 DWARF2_Internal_ARange): Added..
365 (read_leb128): Adjust return type.
367 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
369 * configure: Regenerate.
371 2011-02-08 Nick Clifton <nickc@redhat.com>
374 * readelf.c (process_program_headers): Issue a warning if there
375 are no program headers but the file header has a non-zero program
377 (process_section_headers): Issue a warning if there are no section
378 headers but the file header has a non-zero section header offset.
379 (process_section_groups): Reword the no section message so that it
380 can be distinguished from the one issued by process_section_headers.
382 2011-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
383 Doug Evans <dje@google.com>
385 * dwarf.c (display_gdb_index): Support version 4, warn on version 3.
387 2011-01-19 Maciej W. Rozycki <macro@codesourcery.com>
389 * readelf.c (process_object): Free dynamic_section after use.
391 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
394 * readelf.c (process_archive): Free and reset dump_sects
395 after processing each archive member.
397 2011-01-11 Andreas Schwab <schwab@redhat.com>
399 * readelf.c (print_symbol): Handle symbol characters as unsigned.
402 2011-01-10 Nick Clifton <nickc@redhat.com>
404 * po/da.po: Updated Danish translation.
406 2011-01-06 Vladimir Siminov <sv@sw.ru>
408 * bucomm.c (get_file_size): Check for negative sizes and issue a
409 warning message if encountered.
411 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
413 * version.c (print_version): Update copyright to 2011.
415 For older changes see ChangeLog-2010
421 version-control: never