1 2010-09-09 Jakub Jelinek <jakub@redhat.com>
3 * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
4 * dwarf.c (decode_location_expression): Add offset_size and
5 dwarf_version arguments. Prefix DIE offset with 0x for
6 DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
7 complain if in frame info section. Handle
8 DW_OP_GNU_implicit_pointer.
9 (read_and_display_attr_value, display_debug_loc,
10 display_debug_frames): Adjust decode_location_expression callers.
11 (process_debug_info): Save offset_size and dwarf_version values
12 into debug_information array.
14 2010-09-07 Nick Clifton <nickc@redhat.com>
16 * readelf.c (process_section_headers): Mention meaning of 'l'
17 section flag for x86-64 targets.
19 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
20 Jakub Jelinek <jakub@redhat.com>
22 * dwarf.c (regname): New declaration.
23 (decode_location_expression): Print for registers also regname output.
25 2010-09-02 Richard Henderson <rth@redhat.com>
27 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
28 (init_dwarf_regnames): Use them.
29 * dwarf.h: Declare them.
30 * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
31 the regnames, rather than using elf_machine_code.
33 2010-09-02 Richard Henderson <rth@redhat.com>
35 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
37 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
39 * elfedit.c (input_elf_osabi): New.
40 (output_elf_osbi): Likewise.
42 (elf_osabi): Likewise.
43 (update_elf_header): Support updating ELF OSABI.
44 (make_qualified_name): Break long line.
45 (command_line_switch): Add OPTION_INPUT_OSABI and
48 (usage): Add --input-osabi and --output-osabi.
49 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
51 * doc/binutils.texi: Document --input-osabi and --output-osabi
54 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
56 * readelf.c (display_mips_gnu_attribute): Replace GCC options
57 with a textual description of a MIPS32r2 64-bit FPU.
59 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
62 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
64 (get_64bit_elf_symbols): Likewise.
65 (process_symbol_table): Likewise.
66 (process_section_groups): Check for corrupt headers.
67 (process_version_sections): Check for corrupt indicies.
68 (process_corefile_note_segment): Likewise.
70 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
72 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
75 2010-08-13 Tom Tromey <tromey@redhat.com>
77 * dwarf.c (process_debug_info): Don't subtract section address
78 when calculating location of cu abbrev within section.
80 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
83 * readelf.c (get_archive_member_name): Do not read beyond the end
86 2010-08-03 Tristan Gingold <gingold@adacore.com>
88 * dwarf.c (display_debug_lines): Mark file argument unused.
89 Do not try to load .debug_info section.
91 2010-08-02 Alan Modra <amodra@gmail.com>
93 * readelf.c (apply_relocations): D30V is really REL.
95 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
96 Ina Pandit <ina.pandit@kpitcummins.com>
98 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
100 2010-07-22 Alan Modra <amodra@gmail.com>
102 * readelf.c: Add Moxie support.
104 2010-07-20 Alan Modra <amodra@gmail.com>
106 * readelf.c (process_program_headers): Don't ignore all zero size
109 2010-07-19 Andreas Schwab <schwab@redhat.com>
111 * readelf.c (process_section_headers): Update key to flags.
113 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
115 * objcopy.c (copy_usage): Tweak previous typofix.
117 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
119 * objcopy.c (copy_usage): Fix a typo.
121 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
123 * dllwrap.c (main): Make sure is_leading_underscore
124 gets initialized with correct default.
126 2010-07-05 Alan Modra <amodra@gmail.com>
128 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
130 2010-07-03 Cary Coutant <ccoutant@google.com>
132 * objdump.c (load_specific_debug_section): Decompress section contents
133 before applying relocations.
134 * readelf.c (load_specific_debug_section): Update section size after
137 2010-06-29 Alan Modra <amodra@gmail.com>
140 * objcopy.c (is_strip_section): Revert 2006-09-05.
141 (setup_section): Make SHT_GROUP section nobits.
143 2010-06-29 Alan Modra <amodra@gmail.com>
145 * configure: Regenerate.
146 * po/POTFILES.in: Regenerate.
148 2010-06-27 Alan Modra <amodra@gmail.com>
150 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
152 2010-06-17 Nick Clifton <nickc@redhat.com>
155 * windres.c (enum option_values): New enum.
156 (long_options): Use separate option number for --include-dir
158 (main): Separate backwards compatibility check from code to
159 implement --include-dir. Check to see if directory exists and do
160 not complain if it does.
162 2010-06-15 Joseph Myers <joseph@codesourcery.com>
164 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
166 (process_arch_specific): Call process_tic6x_specific for
169 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
171 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
174 2010-06-11 Tristan Gingold <gingold@adacore.com>
175 Doug Rupp <rupp@gnat.com>
177 * readelf.c (is_ia64_vms): New function.
178 (dump_relocations): Use it.
179 (get_machine_flags): Display IA-64 OpenVMS flags.
180 (process_program_headers): No error on OpenVMS if no .dynamic section.
181 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
183 (dump_ia64_vms_dynamic_fixups): New function.
184 (dump_ia64_vms_dynamic_relocs): Ditto.
185 (process_ia64_vms_dynamic_relocs): Ditto.
186 (process_relocs): Handle IA-64 OpenVMS relocs.
187 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
188 (print_vms_time): New function.
189 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
190 DT_IA_64_VMS_LNKFLAGS.
191 (get_ia64_symbol_other): New function.
192 (get_symbol_other): Handle EM_IA_64.
194 2010-06-11 Tristan Gingold <gingold@adacore.com>
196 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
197 (UNW_DEC_ABI): Ditto for abiname.
198 (unw_decode_table): Make it const.
200 2010-06-10 Tristan Gingold <gingold@adacore.com>
202 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
205 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
206 Joseph Myers <joseph@codesourcery.com>
207 Andrew Stubbs <ams@codesourcery.com>
209 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
211 2010-05-25 Jay Krell <jay.krell@cornell.edu>
214 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
215 * Makefile.in: Regenerate.
217 2010-05-24 Tristan Gingold <gingold@adacore.com>
219 * readelf.c (usage): Add new trace sections for --debug-dump.
220 (process_section_headers): Handle dump of trace sections.
221 * objdump.c (usage): Add new trace sections for --dwarf.
222 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
223 (do_trace_aranges): Ditto.
224 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
225 and trace_aranges literals.
226 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
227 (do_trace_aranges): Ditto.
228 (process_debug_info): Add abbrev_sec argument and replace
229 abbrev with abbrev_sec.
230 (load_debug_info): Adjust call of process_debug_info.
231 (display_debug_info): Ditto.
232 (display_trace_info): New function.
233 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
234 and trace_aranges sections name.
235 (dwarf_select_sections_all): Also select trace sections.
236 (debug_displays): Reindent. Add entries for the trace sections.
237 * doc/binutils.texi (readelf): Document new --dwarf parameters.
240 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
243 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
246 2010-05-07 Tristan Gingold <gingold@adacore.com>
248 * Makefile.in: Regenerate with automake 1.11.1.
250 * doc/Makefile.in: Ditto.
252 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
254 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
255 * readelf.c (get_elf_section_flags): Likewise.
256 (process_section_headers): Likewise.
258 2010-05-05 Nick Clifton <nickc@redhat.com>
260 * po/es.po: Updated Spanish translation.
262 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
264 * dlltool.c (main): Query for bfd's underscoring default for
267 2010-04-27 Nick Clifton <nickc@redhat.com>
269 * po/ru.po: Updated Russian translation.
271 2010-04-23 Alan Modra <amodra@gmail.com>
273 * readelf.c (process_program_headers): Replace use of
274 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
276 2010-04-22 Nick Clifton <nickc@redhat.com>
278 * po/binutils.pot: Updated by the Translation project.
279 * po/fi.po: Updated Finnish translation.
280 * po/vi.po: Updated Vietnamese translation.
281 * po/bg.po: New Bulgarian translation.
282 * configure.in (ALL_LINGUAS): Add bg.
283 * configure: Regenerate.
285 2010-04-20 Nick Clifton <nickc@redhat.com>
287 * po/fr.po: Updated french translation.
289 2010-04-20 Nick Clifton <nickc@redhat.com>
291 * readelf.c: Add _() macros to constant strings that are
294 * readelf.c (display_mips_gnu_attribute): Replace GCC options
295 with a textual description of single and double precision float.
297 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
299 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
300 (arm_attr_tag_ABI_align8_needed): Remove.
301 (arm_attr_tag_ABI_align8_preserved): Remove.
302 (arm_attr_tag_ABI_HardFP_use): Update text strings.
303 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
304 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
306 2010-04-13 Nick Clifton <nickc@redhat.com>
309 * dwarf.c (process_debug_info): Initialise the signature array.
311 2010-04-09 Nick Clifton <nickc@redhat.com>
313 * dwarf.c (process_debug_info): Remove unused variable
314 cu_abbrev_offset_ptr.
315 (display_debug_lines_decoded): Remove unused variable prev_line.
316 * elfedit.c (process_archive): Remove unused variable
318 * ieee.c (ieee_start_compilation_unit): Remove unused variable
320 (ieee_set_type): Remove unused variables info, targetindx and
322 * objdump.c (disassmble_byte): Remove unused variable done_dot.
323 * rddbg.c (read_section_stabs_debugging_info): Remove unused
325 * readelf.c (dump_section_as_strings): Remove unused variable
327 (process_archive): Remove unused variable file_name_size.
328 * stabs.c (parse_stab_string): Mark desc parameter as unused.
329 Remove unused variable lineno.
330 (parse_stab_struct_type): Remove unused variable orig.
331 (stab_demangle_type): Remove unused variables constp, volatilep
334 2010-04-07 Alan Modra <amodra@gmail.com>
336 * configure: Regenerate.
338 2010-04-06 Nick Clifton <nickc@redhat.com>
340 * po/vi.po: Updated Vietnamese translation.
342 2010-04-05 Jakub Jelinek <jakub@redhat.com>
344 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
346 (display_debug_frames): Handle CIE version 4.
348 * dwarf.c (struct State_Machine_Registers): Add op_index field,
349 change end_sequence type to unsigned char.
350 (reset_state_machine): Clear op_index.
351 (process_extended_line_op): For DW_LNE_set_address clear op_index.
352 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
353 Track op_index state machine register and print it if
354 li_max_ops_per_insn is != 1.
355 (display_debug_lines_decoded): Likewise.
357 2010-04-01 Jakub Jelinek <jakub@redhat.com>
359 * dwarf.c (read_and_display_attr_value): Don't reject
360 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
362 (process_debug_info): Handle cu_version == 4.
363 (display_debug_lines_raw, display_debug_lines_decoded): Handle
366 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
368 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
369 * Makefile.in: Regenerate.
371 2010-03-25 Joseph Myers <joseph@codesourcery.com>
373 * MAINTAINERS: Add self as TI C6X maintainer.
374 * NEWS: Add news entry for TI C6X support.
375 * readelf.c: Include elf/tic6x.h.
376 (guess_is_rela): Handle EM_TI_C6000.
377 (dump_relocations): Likewise.
378 (get_tic6x_dynamic_type): New.
379 (get_dynamic_type): Call it.
380 (get_machine_flags): Handle EF_C6000_REL.
381 (get_osabi_name): Handle machine-specific values only for relevant
382 machines. Handle C6X values.
383 (get_tic6x_segment_type): New.
384 (get_segment_type): Call it.
385 (get_tic6x_section_type_name): New.
386 (get_section_type_name): Call it.
387 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
390 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
392 * doc/binutils.texi (readelf) <unwind information>: Mention support for
395 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
397 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
399 2010-03-17 Alan Modra <amodra@gmail.com>
401 * readelf.c (dump_arm_unwind): Warning fix.
403 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
405 * MAINTAINERS: Update my email address. List Tristan Gingold
406 as the release branch maintainer.
408 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
410 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
412 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
414 * NEWS: Document .ARM.exidx / .ARM.extab support.
416 * dwarf.c (read_leb128): Make non-static.
417 * dwarf.h (read_leb128): Declare.
418 * readelf.c (REMOVE_ARCH_BITS): Define.
419 (find_section_by_address): New.
420 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
421 (find_symbol_for_address): Handle the Thumb bit for ARM, by
422 using REMOVE_ARCH_BITS.
423 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
424 (arm_free_section, arm_section_get_word, decode_arm_unwind)
425 (dump_arm_unwind, arm_process_unwind): New.
426 (process_unwind): Handle ARM.
428 2010-02-26 Jie Zhang <jie@codesourcery.com>
430 * MAINTAINERS: Update my email address.
432 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
435 * doc/binutils.texi (windmc): Fix synopsis and description of
438 2010-02-19 Alan Modra <amodra@gmail.com>
440 * readelf.c (get_group_flags): Return empty string when flags zero.
441 Add space in other returned values.
442 (process_section_groups): Adjust format string.
444 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
446 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
447 newly permitted attribute values.
448 (arm_attr_tag_Virtualization_use): Likewise.
449 (arm_attr_tag_DIV_use): Add description of new attribute.
450 (arm_attr_tag_MPextension_use_legacy): Likewise.
452 2010-02-15 Nick Clifton <nickc@redhat.com>
454 * po/vi.po: Updated Vietnamese translation.
456 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
458 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
459 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
461 2010-02-08 Jim Blandy <jimb@red-bean.com>
463 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
464 'z' augmentation strings.
466 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
468 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
469 a new address, so as not to reuse a previous, non-related reloc.
471 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
473 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
475 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
477 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
480 2010-01-28 Nick Clifton <nickc@redhat.com>
483 * objdump.c (only): Replace with linked list.
484 (only_size, only_used): Replace with only_list.
485 (process_section_p): Set seen field on matches sections.
486 (add_only): New function.
487 (free_only_list): New function.
488 (disassemble_section): Check only_list.
489 (main): Use add_only and free_only_list.
491 2010-01-26 Tristan Gingold <gingold@adacore.com>
493 * Makefile.am (bin2c): Add libintl dependance and library.
494 * Makefile.in: Regenerate.
496 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
498 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
500 2010-01-19 Ian Lance Taylor <iant@google.com>
502 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
503 with non-ordinary files like /dev/null.
505 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
506 Alan Modra <amodra@gmail.com>
508 * readelf.c (process_file_header): Handle e_phnum extension.
510 2010-01-14 Tristan Gingold <gingold@adacore.com>
512 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
513 and DW_AT_GNAT_descriptive_type.
515 2010-01-13 Tristan Gingold <gingold@adacore.com>
517 * ar.c (main): Use lbasename.
519 * objdump.c (update_source_path): Ditto.
521 2010-01-12 Tristan Gingold <gingold@adacore.com>
523 * makefile.vms (CFLAGS): Turns warnings into informational messages.
525 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
528 * NEWS: Mention --dyn-syms for readelf.
530 * readelf.c (do_dyn_syms): New.
531 (OPTION_DYN_SYMS): Likewise.
532 (options): Add "dyn-syms".
533 (usage): Add --dyn-syms.
534 (parse_args): Handle OPTION_DYN_SYMS.
535 (process_symbol_table): Handle do_dyn_syms.
536 (process_object): Likewise.
537 (process_archive): Likewise.
539 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
540 symbol hash tables for -D.
542 2010-01-11 Nick Clifton <nickc@redhat.com>
544 * NEWS: Mention addition of elfedit.
546 * po/fi.po: Updated Finnish translation.
548 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
550 * Makefile.in: Regenerate.
551 * configure: Regenerate.
552 * doc/Makefile.in: Regenerate.
554 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
556 * version.c (print_version): Change to "Copyright 2010".
558 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
560 * elfedit.c (input_elf_type): New.
561 (output_elf_type): Likewise.
562 (elf_type): Likewise.
563 (update_elf_header): Support updating ELF file type.
564 (command_line_switch): Add OPTION_INPUT_TYPE and
567 (usage): Add --input-type and --output-type.
568 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
569 one of --output-mach and --output-type must be specified.
571 * doc/binutils.texi: Document --input-type and --output-type
574 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
576 * doc/binutils.texi: Fix a typo.
578 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
580 * elfedit.c (update_elf_header): Don't change input_elf_class
581 nor input_elf_machine if they are -1.
583 2010-01-08 Tristan Gingold <gingold@adacore.com>
585 * ar.c: Remove bfd_special_undocumented_glue prototype.
587 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
589 * elfedit.c (update_elf_header): Reformat.
591 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
593 * readelf.c (usage): Fix indent for --symbols.
595 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
597 * doc/binutils.texi: Replace -histogram with --histogram.
599 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
602 * Makefile.am (ELFEDIT_PROG): New.
603 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
604 (CFILES): Add elfedit.c.
605 (elfedit_DEPENDENCIES): New.
606 (elfedit_SOURCES): Likewise.
607 (elfedit_LDADD): Likewise.
608 * Makefile.in: Regenerated.
612 * doc/binutils.texi: Document elfedit.
614 * doc/Makefile.am (man_MANS): Add elfedit.1.
616 * doc/Makefile.in: Regenerated.
618 2010-01-06 Tristan Gingold <gingold@adacore.com>
620 * nm.c (usage): Remove extra blanks.
622 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
624 * objcopy.c: Update copyright.
625 * readelf.c: Likewise.
627 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
630 * objcopy.c (copy_object): Remove "Warning: " from error
633 2010-01-04 Nick Clifton <nickc@redhat.com>
636 * readelf.c (dump_section_as_strings): Use two separate
637 invocations of printf() in order to work around bugs in
638 the Solaris 8 implementation.
640 2010-01-04 Nick Clifton <nickc@redhat.com>
642 * po/ru.po: Updated Russian translation.
644 For older changes see ChangeLog-2009
650 version-control: never