1 2010-09-02 Richard Henderson <rth@redhat.com>
3 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
4 (init_dwarf_regnames): Use them.
5 * dwarf.h: Declare them.
6 * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
7 the regnames, rather than using elf_machine_code.
9 2010-09-02 Richard Henderson <rth@redhat.com>
11 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
13 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
15 * elfedit.c (input_elf_osabi): New.
16 (output_elf_osbi): Likewise.
18 (elf_osabi): Likewise.
19 (update_elf_header): Support updating ELF OSABI.
20 (make_qualified_name): Break long line.
21 (command_line_switch): Add OPTION_INPUT_OSABI and
24 (usage): Add --input-osabi and --output-osabi.
25 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
27 * doc/binutils.texi: Document --input-osabi and --output-osabi
30 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
32 * readelf.c (display_mips_gnu_attribute): Replace GCC options
33 with a textual description of a MIPS32r2 64-bit FPU.
35 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
38 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
40 (get_64bit_elf_symbols): Likewise.
41 (process_symbol_table): Likewise.
42 (process_section_groups): Check for corrupt headers.
43 (process_version_sections): Check for corrupt indicies.
44 (process_corefile_note_segment): Likewise.
46 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
48 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
51 2010-08-13 Tom Tromey <tromey@redhat.com>
53 * dwarf.c (process_debug_info): Don't subtract section address
54 when calculating location of cu abbrev within section.
56 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
59 * readelf.c (get_archive_member_name): Do not read beyond the end
62 2010-08-03 Tristan Gingold <gingold@adacore.com>
64 * dwarf.c (display_debug_lines): Mark file argument unused.
65 Do not try to load .debug_info section.
67 2010-08-02 Alan Modra <amodra@gmail.com>
69 * readelf.c (apply_relocations): D30V is really REL.
71 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
72 Ina Pandit <ina.pandit@kpitcummins.com>
74 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
76 2010-07-22 Alan Modra <amodra@gmail.com>
78 * readelf.c: Add Moxie support.
80 2010-07-20 Alan Modra <amodra@gmail.com>
82 * readelf.c (process_program_headers): Don't ignore all zero size
85 2010-07-19 Andreas Schwab <schwab@redhat.com>
87 * readelf.c (process_section_headers): Update key to flags.
89 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
91 * objcopy.c (copy_usage): Tweak previous typofix.
93 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
95 * objcopy.c (copy_usage): Fix a typo.
97 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
99 * dllwrap.c (main): Make sure is_leading_underscore
100 gets initialized with correct default.
102 2010-07-05 Alan Modra <amodra@gmail.com>
104 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
106 2010-07-03 Cary Coutant <ccoutant@google.com>
108 * objdump.c (load_specific_debug_section): Decompress section contents
109 before applying relocations.
110 * readelf.c (load_specific_debug_section): Update section size after
113 2010-06-29 Alan Modra <amodra@gmail.com>
116 * objcopy.c (is_strip_section): Revert 2006-09-05.
117 (setup_section): Make SHT_GROUP section nobits.
119 2010-06-29 Alan Modra <amodra@gmail.com>
121 * configure: Regenerate.
122 * po/POTFILES.in: Regenerate.
124 2010-06-27 Alan Modra <amodra@gmail.com>
126 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
128 2010-06-17 Nick Clifton <nickc@redhat.com>
131 * windres.c (enum option_values): New enum.
132 (long_options): Use separate option number for --include-dir
134 (main): Separate backwards compatibility check from code to
135 implement --include-dir. Check to see if directory exists and do
136 not complain if it does.
138 2010-06-15 Joseph Myers <joseph@codesourcery.com>
140 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
142 (process_arch_specific): Call process_tic6x_specific for
145 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
147 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
150 2010-06-11 Tristan Gingold <gingold@adacore.com>
151 Doug Rupp <rupp@gnat.com>
153 * readelf.c (is_ia64_vms): New function.
154 (dump_relocations): Use it.
155 (get_machine_flags): Display IA-64 OpenVMS flags.
156 (process_program_headers): No error on OpenVMS if no .dynamic section.
157 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
159 (dump_ia64_vms_dynamic_fixups): New function.
160 (dump_ia64_vms_dynamic_relocs): Ditto.
161 (process_ia64_vms_dynamic_relocs): Ditto.
162 (process_relocs): Handle IA-64 OpenVMS relocs.
163 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
164 (print_vms_time): New function.
165 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
166 DT_IA_64_VMS_LNKFLAGS.
167 (get_ia64_symbol_other): New function.
168 (get_symbol_other): Handle EM_IA_64.
170 2010-06-11 Tristan Gingold <gingold@adacore.com>
172 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
173 (UNW_DEC_ABI): Ditto for abiname.
174 (unw_decode_table): Make it const.
176 2010-06-10 Tristan Gingold <gingold@adacore.com>
178 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
181 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
182 Joseph Myers <joseph@codesourcery.com>
183 Andrew Stubbs <ams@codesourcery.com>
185 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
187 2010-05-25 Jay Krell <jay.krell@cornell.edu>
190 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
191 * Makefile.in: Regenerate.
193 2010-05-24 Tristan Gingold <gingold@adacore.com>
195 * readelf.c (usage): Add new trace sections for --debug-dump.
196 (process_section_headers): Handle dump of trace sections.
197 * objdump.c (usage): Add new trace sections for --dwarf.
198 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
199 (do_trace_aranges): Ditto.
200 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
201 and trace_aranges literals.
202 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
203 (do_trace_aranges): Ditto.
204 (process_debug_info): Add abbrev_sec argument and replace
205 abbrev with abbrev_sec.
206 (load_debug_info): Adjust call of process_debug_info.
207 (display_debug_info): Ditto.
208 (display_trace_info): New function.
209 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
210 and trace_aranges sections name.
211 (dwarf_select_sections_all): Also select trace sections.
212 (debug_displays): Reindent. Add entries for the trace sections.
213 * doc/binutils.texi (readelf): Document new --dwarf parameters.
216 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
219 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
222 2010-05-07 Tristan Gingold <gingold@adacore.com>
224 * Makefile.in: Regenerate with automake 1.11.1.
226 * doc/Makefile.in: Ditto.
228 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
230 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
231 * readelf.c (get_elf_section_flags): Likewise.
232 (process_section_headers): Likewise.
234 2010-05-05 Nick Clifton <nickc@redhat.com>
236 * po/es.po: Updated Spanish translation.
238 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
240 * dlltool.c (main): Query for bfd's underscoring default for
243 2010-04-27 Nick Clifton <nickc@redhat.com>
245 * po/ru.po: Updated Russian translation.
247 2010-04-23 Alan Modra <amodra@gmail.com>
249 * readelf.c (process_program_headers): Replace use of
250 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
252 2010-04-22 Nick Clifton <nickc@redhat.com>
254 * po/binutils.pot: Updated by the Translation project.
255 * po/fi.po: Updated Finnish translation.
256 * po/vi.po: Updated Vietnamese translation.
257 * po/bg.po: New Bulgarian translation.
258 * configure.in (ALL_LINGUAS): Add bg.
259 * configure: Regenerate.
261 2010-04-20 Nick Clifton <nickc@redhat.com>
263 * po/fr.po: Updated french translation.
265 2010-04-20 Nick Clifton <nickc@redhat.com>
267 * readelf.c: Add _() macros to constant strings that are
270 * readelf.c (display_mips_gnu_attribute): Replace GCC options
271 with a textual description of single and double precision float.
273 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
275 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
276 (arm_attr_tag_ABI_align8_needed): Remove.
277 (arm_attr_tag_ABI_align8_preserved): Remove.
278 (arm_attr_tag_ABI_HardFP_use): Update text strings.
279 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
280 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
282 2010-04-13 Nick Clifton <nickc@redhat.com>
285 * dwarf.c (process_debug_info): Initialise the signature array.
287 2010-04-09 Nick Clifton <nickc@redhat.com>
289 * dwarf.c (process_debug_info): Remove unused variable
290 cu_abbrev_offset_ptr.
291 (display_debug_lines_decoded): Remove unused variable prev_line.
292 * elfedit.c (process_archive): Remove unused variable
294 * ieee.c (ieee_start_compilation_unit): Remove unused variable
296 (ieee_set_type): Remove unused variables info, targetindx and
298 * objdump.c (disassmble_byte): Remove unused variable done_dot.
299 * rddbg.c (read_section_stabs_debugging_info): Remove unused
301 * readelf.c (dump_section_as_strings): Remove unused variable
303 (process_archive): Remove unused variable file_name_size.
304 * stabs.c (parse_stab_string): Mark desc parameter as unused.
305 Remove unused variable lineno.
306 (parse_stab_struct_type): Remove unused variable orig.
307 (stab_demangle_type): Remove unused variables constp, volatilep
310 2010-04-07 Alan Modra <amodra@gmail.com>
312 * configure: Regenerate.
314 2010-04-06 Nick Clifton <nickc@redhat.com>
316 * po/vi.po: Updated Vietnamese translation.
318 2010-04-05 Jakub Jelinek <jakub@redhat.com>
320 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
322 (display_debug_frames): Handle CIE version 4.
324 * dwarf.c (struct State_Machine_Registers): Add op_index field,
325 change end_sequence type to unsigned char.
326 (reset_state_machine): Clear op_index.
327 (process_extended_line_op): For DW_LNE_set_address clear op_index.
328 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
329 Track op_index state machine register and print it if
330 li_max_ops_per_insn is != 1.
331 (display_debug_lines_decoded): Likewise.
333 2010-04-01 Jakub Jelinek <jakub@redhat.com>
335 * dwarf.c (read_and_display_attr_value): Don't reject
336 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
338 (process_debug_info): Handle cu_version == 4.
339 (display_debug_lines_raw, display_debug_lines_decoded): Handle
342 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
344 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
345 * Makefile.in: Regenerate.
347 2010-03-25 Joseph Myers <joseph@codesourcery.com>
349 * MAINTAINERS: Add self as TI C6X maintainer.
350 * NEWS: Add news entry for TI C6X support.
351 * readelf.c: Include elf/tic6x.h.
352 (guess_is_rela): Handle EM_TI_C6000.
353 (dump_relocations): Likewise.
354 (get_tic6x_dynamic_type): New.
355 (get_dynamic_type): Call it.
356 (get_machine_flags): Handle EF_C6000_REL.
357 (get_osabi_name): Handle machine-specific values only for relevant
358 machines. Handle C6X values.
359 (get_tic6x_segment_type): New.
360 (get_segment_type): Call it.
361 (get_tic6x_section_type_name): New.
362 (get_section_type_name): Call it.
363 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
366 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
368 * doc/binutils.texi (readelf) <unwind information>: Mention support for
371 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
373 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
375 2010-03-17 Alan Modra <amodra@gmail.com>
377 * readelf.c (dump_arm_unwind): Warning fix.
379 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
381 * MAINTAINERS: Update my email address. List Tristan Gingold
382 as the release branch maintainer.
384 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
386 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
388 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
390 * NEWS: Document .ARM.exidx / .ARM.extab support.
392 * dwarf.c (read_leb128): Make non-static.
393 * dwarf.h (read_leb128): Declare.
394 * readelf.c (REMOVE_ARCH_BITS): Define.
395 (find_section_by_address): New.
396 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
397 (find_symbol_for_address): Handle the Thumb bit for ARM, by
398 using REMOVE_ARCH_BITS.
399 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
400 (arm_free_section, arm_section_get_word, decode_arm_unwind)
401 (dump_arm_unwind, arm_process_unwind): New.
402 (process_unwind): Handle ARM.
404 2010-02-26 Jie Zhang <jie@codesourcery.com>
406 * MAINTAINERS: Update my email address.
408 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
411 * doc/binutils.texi (windmc): Fix synopsis and description of
414 2010-02-19 Alan Modra <amodra@gmail.com>
416 * readelf.c (get_group_flags): Return empty string when flags zero.
417 Add space in other returned values.
418 (process_section_groups): Adjust format string.
420 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
422 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
423 newly permitted attribute values.
424 (arm_attr_tag_Virtualization_use): Likewise.
425 (arm_attr_tag_DIV_use): Add description of new attribute.
426 (arm_attr_tag_MPextension_use_legacy): Likewise.
428 2010-02-15 Nick Clifton <nickc@redhat.com>
430 * po/vi.po: Updated Vietnamese translation.
432 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
434 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
435 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
437 2010-02-08 Jim Blandy <jimb@red-bean.com>
439 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
440 'z' augmentation strings.
442 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
444 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
445 a new address, so as not to reuse a previous, non-related reloc.
447 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
449 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
451 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
453 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
456 2010-01-28 Nick Clifton <nickc@redhat.com>
459 * objdump.c (only): Replace with linked list.
460 (only_size, only_used): Replace with only_list.
461 (process_section_p): Set seen field on matches sections.
462 (add_only): New function.
463 (free_only_list): New function.
464 (disassemble_section): Check only_list.
465 (main): Use add_only and free_only_list.
467 2010-01-26 Tristan Gingold <gingold@adacore.com>
469 * Makefile.am (bin2c): Add libintl dependance and library.
470 * Makefile.in: Regenerate.
472 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
474 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
476 2010-01-19 Ian Lance Taylor <iant@google.com>
478 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
479 with non-ordinary files like /dev/null.
481 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
482 Alan Modra <amodra@gmail.com>
484 * readelf.c (process_file_header): Handle e_phnum extension.
486 2010-01-14 Tristan Gingold <gingold@adacore.com>
488 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
489 and DW_AT_GNAT_descriptive_type.
491 2010-01-13 Tristan Gingold <gingold@adacore.com>
493 * ar.c (main): Use lbasename.
495 * objdump.c (update_source_path): Ditto.
497 2010-01-12 Tristan Gingold <gingold@adacore.com>
499 * makefile.vms (CFLAGS): Turns warnings into informational messages.
501 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
504 * NEWS: Mention --dyn-syms for readelf.
506 * readelf.c (do_dyn_syms): New.
507 (OPTION_DYN_SYMS): Likewise.
508 (options): Add "dyn-syms".
509 (usage): Add --dyn-syms.
510 (parse_args): Handle OPTION_DYN_SYMS.
511 (process_symbol_table): Handle do_dyn_syms.
512 (process_object): Likewise.
513 (process_archive): Likewise.
515 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
516 symbol hash tables for -D.
518 2010-01-11 Nick Clifton <nickc@redhat.com>
520 * NEWS: Mention addition of elfedit.
522 * po/fi.po: Updated Finnish translation.
524 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
526 * Makefile.in: Regenerate.
527 * configure: Regenerate.
528 * doc/Makefile.in: Regenerate.
530 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
532 * version.c (print_version): Change to "Copyright 2010".
534 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
536 * elfedit.c (input_elf_type): New.
537 (output_elf_type): Likewise.
538 (elf_type): Likewise.
539 (update_elf_header): Support updating ELF file type.
540 (command_line_switch): Add OPTION_INPUT_TYPE and
543 (usage): Add --input-type and --output-type.
544 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
545 one of --output-mach and --output-type must be specified.
547 * doc/binutils.texi: Document --input-type and --output-type
550 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
552 * doc/binutils.texi: Fix a typo.
554 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
556 * elfedit.c (update_elf_header): Don't change input_elf_class
557 nor input_elf_machine if they are -1.
559 2010-01-08 Tristan Gingold <gingold@adacore.com>
561 * ar.c: Remove bfd_special_undocumented_glue prototype.
563 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
565 * elfedit.c (update_elf_header): Reformat.
567 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
569 * readelf.c (usage): Fix indent for --symbols.
571 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
573 * doc/binutils.texi: Replace -histogram with --histogram.
575 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
578 * Makefile.am (ELFEDIT_PROG): New.
579 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
580 (CFILES): Add elfedit.c.
581 (elfedit_DEPENDENCIES): New.
582 (elfedit_SOURCES): Likewise.
583 (elfedit_LDADD): Likewise.
584 * Makefile.in: Regenerated.
588 * doc/binutils.texi: Document elfedit.
590 * doc/Makefile.am (man_MANS): Add elfedit.1.
592 * doc/Makefile.in: Regenerated.
594 2010-01-06 Tristan Gingold <gingold@adacore.com>
596 * nm.c (usage): Remove extra blanks.
598 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
600 * objcopy.c: Update copyright.
601 * readelf.c: Likewise.
603 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
606 * objcopy.c (copy_object): Remove "Warning: " from error
609 2010-01-04 Nick Clifton <nickc@redhat.com>
612 * readelf.c (dump_section_as_strings): Use two separate
613 invocations of printf() in order to work around bugs in
614 the Solaris 8 implementation.
616 2010-01-04 Nick Clifton <nickc@redhat.com>
618 * po/ru.po: Updated Russian translation.
620 For older changes see ChangeLog-2009
626 version-control: never