1 2010-09-09 Jakub Jelinek <jakub@redhat.com>
3 * dwarf.c (decode_location_expression): Fix data adjustment
4 for DW_OP_GNU_implicit_pointer in v3+.
6 2010-09-09 Tristan Gingold <gingold@adacore.com>
8 * NEWS: Add entry to NEWS for hppa/som.
10 2010-09-09 Jakub Jelinek <jakub@redhat.com>
12 * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
13 * dwarf.c (decode_location_expression): Add offset_size and
14 dwarf_version arguments. Prefix DIE offset with 0x for
15 DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
16 complain if in frame info section. Handle
17 DW_OP_GNU_implicit_pointer.
18 (read_and_display_attr_value, display_debug_loc,
19 display_debug_frames): Adjust decode_location_expression callers.
20 (process_debug_info): Save offset_size and dwarf_version values
21 into debug_information array.
23 2010-09-07 Nick Clifton <nickc@redhat.com>
25 * readelf.c (process_section_headers): Mention meaning of 'l'
26 section flag for x86-64 targets.
28 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
29 Jakub Jelinek <jakub@redhat.com>
31 * dwarf.c (regname): New declaration.
32 (decode_location_expression): Print for registers also regname output.
34 2010-09-02 Richard Henderson <rth@redhat.com>
36 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
37 (init_dwarf_regnames): Use them.
38 * dwarf.h: Declare them.
39 * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
40 the regnames, rather than using elf_machine_code.
42 2010-09-02 Richard Henderson <rth@redhat.com>
44 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
46 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
48 * elfedit.c (input_elf_osabi): New.
49 (output_elf_osbi): Likewise.
51 (elf_osabi): Likewise.
52 (update_elf_header): Support updating ELF OSABI.
53 (make_qualified_name): Break long line.
54 (command_line_switch): Add OPTION_INPUT_OSABI and
57 (usage): Add --input-osabi and --output-osabi.
58 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
60 * doc/binutils.texi: Document --input-osabi and --output-osabi
63 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
65 * readelf.c (display_mips_gnu_attribute): Replace GCC options
66 with a textual description of a MIPS32r2 64-bit FPU.
68 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
71 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
73 (get_64bit_elf_symbols): Likewise.
74 (process_symbol_table): Likewise.
75 (process_section_groups): Check for corrupt headers.
76 (process_version_sections): Check for corrupt indicies.
77 (process_corefile_note_segment): Likewise.
79 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
81 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
84 2010-08-13 Tom Tromey <tromey@redhat.com>
86 * dwarf.c (process_debug_info): Don't subtract section address
87 when calculating location of cu abbrev within section.
89 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
92 * readelf.c (get_archive_member_name): Do not read beyond the end
95 2010-08-03 Tristan Gingold <gingold@adacore.com>
97 * dwarf.c (display_debug_lines): Mark file argument unused.
98 Do not try to load .debug_info section.
100 2010-08-02 Alan Modra <amodra@gmail.com>
102 * readelf.c (apply_relocations): D30V is really REL.
104 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
105 Ina Pandit <ina.pandit@kpitcummins.com>
107 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
109 2010-07-22 Alan Modra <amodra@gmail.com>
111 * readelf.c: Add Moxie support.
113 2010-07-20 Alan Modra <amodra@gmail.com>
115 * readelf.c (process_program_headers): Don't ignore all zero size
118 2010-07-19 Andreas Schwab <schwab@redhat.com>
120 * readelf.c (process_section_headers): Update key to flags.
122 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
124 * objcopy.c (copy_usage): Tweak previous typofix.
126 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
128 * objcopy.c (copy_usage): Fix a typo.
130 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
132 * dllwrap.c (main): Make sure is_leading_underscore
133 gets initialized with correct default.
135 2010-07-05 Alan Modra <amodra@gmail.com>
137 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
139 2010-07-03 Cary Coutant <ccoutant@google.com>
141 * objdump.c (load_specific_debug_section): Decompress section contents
142 before applying relocations.
143 * readelf.c (load_specific_debug_section): Update section size after
146 2010-06-29 Alan Modra <amodra@gmail.com>
149 * objcopy.c (is_strip_section): Revert 2006-09-05.
150 (setup_section): Make SHT_GROUP section nobits.
152 2010-06-29 Alan Modra <amodra@gmail.com>
154 * configure: Regenerate.
155 * po/POTFILES.in: Regenerate.
157 2010-06-27 Alan Modra <amodra@gmail.com>
159 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
161 2010-06-17 Nick Clifton <nickc@redhat.com>
164 * windres.c (enum option_values): New enum.
165 (long_options): Use separate option number for --include-dir
167 (main): Separate backwards compatibility check from code to
168 implement --include-dir. Check to see if directory exists and do
169 not complain if it does.
171 2010-06-15 Joseph Myers <joseph@codesourcery.com>
173 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
175 (process_arch_specific): Call process_tic6x_specific for
178 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
180 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
183 2010-06-11 Tristan Gingold <gingold@adacore.com>
184 Doug Rupp <rupp@gnat.com>
186 * readelf.c (is_ia64_vms): New function.
187 (dump_relocations): Use it.
188 (get_machine_flags): Display IA-64 OpenVMS flags.
189 (process_program_headers): No error on OpenVMS if no .dynamic section.
190 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
192 (dump_ia64_vms_dynamic_fixups): New function.
193 (dump_ia64_vms_dynamic_relocs): Ditto.
194 (process_ia64_vms_dynamic_relocs): Ditto.
195 (process_relocs): Handle IA-64 OpenVMS relocs.
196 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
197 (print_vms_time): New function.
198 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
199 DT_IA_64_VMS_LNKFLAGS.
200 (get_ia64_symbol_other): New function.
201 (get_symbol_other): Handle EM_IA_64.
203 2010-06-11 Tristan Gingold <gingold@adacore.com>
205 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
206 (UNW_DEC_ABI): Ditto for abiname.
207 (unw_decode_table): Make it const.
209 2010-06-10 Tristan Gingold <gingold@adacore.com>
211 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
214 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
215 Joseph Myers <joseph@codesourcery.com>
216 Andrew Stubbs <ams@codesourcery.com>
218 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
220 2010-05-25 Jay Krell <jay.krell@cornell.edu>
223 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
224 * Makefile.in: Regenerate.
226 2010-05-24 Tristan Gingold <gingold@adacore.com>
228 * readelf.c (usage): Add new trace sections for --debug-dump.
229 (process_section_headers): Handle dump of trace sections.
230 * objdump.c (usage): Add new trace sections for --dwarf.
231 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
232 (do_trace_aranges): Ditto.
233 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
234 and trace_aranges literals.
235 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
236 (do_trace_aranges): Ditto.
237 (process_debug_info): Add abbrev_sec argument and replace
238 abbrev with abbrev_sec.
239 (load_debug_info): Adjust call of process_debug_info.
240 (display_debug_info): Ditto.
241 (display_trace_info): New function.
242 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
243 and trace_aranges sections name.
244 (dwarf_select_sections_all): Also select trace sections.
245 (debug_displays): Reindent. Add entries for the trace sections.
246 * doc/binutils.texi (readelf): Document new --dwarf parameters.
249 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
252 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
255 2010-05-07 Tristan Gingold <gingold@adacore.com>
257 * Makefile.in: Regenerate with automake 1.11.1.
259 * doc/Makefile.in: Ditto.
261 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
263 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
264 * readelf.c (get_elf_section_flags): Likewise.
265 (process_section_headers): Likewise.
267 2010-05-05 Nick Clifton <nickc@redhat.com>
269 * po/es.po: Updated Spanish translation.
271 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
273 * dlltool.c (main): Query for bfd's underscoring default for
276 2010-04-27 Nick Clifton <nickc@redhat.com>
278 * po/ru.po: Updated Russian translation.
280 2010-04-23 Alan Modra <amodra@gmail.com>
282 * readelf.c (process_program_headers): Replace use of
283 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
285 2010-04-22 Nick Clifton <nickc@redhat.com>
287 * po/binutils.pot: Updated by the Translation project.
288 * po/fi.po: Updated Finnish translation.
289 * po/vi.po: Updated Vietnamese translation.
290 * po/bg.po: New Bulgarian translation.
291 * configure.in (ALL_LINGUAS): Add bg.
292 * configure: Regenerate.
294 2010-04-20 Nick Clifton <nickc@redhat.com>
296 * po/fr.po: Updated french translation.
298 2010-04-20 Nick Clifton <nickc@redhat.com>
300 * readelf.c: Add _() macros to constant strings that are
303 * readelf.c (display_mips_gnu_attribute): Replace GCC options
304 with a textual description of single and double precision float.
306 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
308 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
309 (arm_attr_tag_ABI_align8_needed): Remove.
310 (arm_attr_tag_ABI_align8_preserved): Remove.
311 (arm_attr_tag_ABI_HardFP_use): Update text strings.
312 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
313 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
315 2010-04-13 Nick Clifton <nickc@redhat.com>
318 * dwarf.c (process_debug_info): Initialise the signature array.
320 2010-04-09 Nick Clifton <nickc@redhat.com>
322 * dwarf.c (process_debug_info): Remove unused variable
323 cu_abbrev_offset_ptr.
324 (display_debug_lines_decoded): Remove unused variable prev_line.
325 * elfedit.c (process_archive): Remove unused variable
327 * ieee.c (ieee_start_compilation_unit): Remove unused variable
329 (ieee_set_type): Remove unused variables info, targetindx and
331 * objdump.c (disassmble_byte): Remove unused variable done_dot.
332 * rddbg.c (read_section_stabs_debugging_info): Remove unused
334 * readelf.c (dump_section_as_strings): Remove unused variable
336 (process_archive): Remove unused variable file_name_size.
337 * stabs.c (parse_stab_string): Mark desc parameter as unused.
338 Remove unused variable lineno.
339 (parse_stab_struct_type): Remove unused variable orig.
340 (stab_demangle_type): Remove unused variables constp, volatilep
343 2010-04-07 Alan Modra <amodra@gmail.com>
345 * configure: Regenerate.
347 2010-04-06 Nick Clifton <nickc@redhat.com>
349 * po/vi.po: Updated Vietnamese translation.
351 2010-04-05 Jakub Jelinek <jakub@redhat.com>
353 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
355 (display_debug_frames): Handle CIE version 4.
357 * dwarf.c (struct State_Machine_Registers): Add op_index field,
358 change end_sequence type to unsigned char.
359 (reset_state_machine): Clear op_index.
360 (process_extended_line_op): For DW_LNE_set_address clear op_index.
361 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
362 Track op_index state machine register and print it if
363 li_max_ops_per_insn is != 1.
364 (display_debug_lines_decoded): Likewise.
366 2010-04-01 Jakub Jelinek <jakub@redhat.com>
368 * dwarf.c (read_and_display_attr_value): Don't reject
369 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
371 (process_debug_info): Handle cu_version == 4.
372 (display_debug_lines_raw, display_debug_lines_decoded): Handle
375 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
377 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
378 * Makefile.in: Regenerate.
380 2010-03-25 Joseph Myers <joseph@codesourcery.com>
382 * MAINTAINERS: Add self as TI C6X maintainer.
383 * NEWS: Add news entry for TI C6X support.
384 * readelf.c: Include elf/tic6x.h.
385 (guess_is_rela): Handle EM_TI_C6000.
386 (dump_relocations): Likewise.
387 (get_tic6x_dynamic_type): New.
388 (get_dynamic_type): Call it.
389 (get_machine_flags): Handle EF_C6000_REL.
390 (get_osabi_name): Handle machine-specific values only for relevant
391 machines. Handle C6X values.
392 (get_tic6x_segment_type): New.
393 (get_segment_type): Call it.
394 (get_tic6x_section_type_name): New.
395 (get_section_type_name): Call it.
396 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
399 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
401 * doc/binutils.texi (readelf) <unwind information>: Mention support for
404 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
406 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
408 2010-03-17 Alan Modra <amodra@gmail.com>
410 * readelf.c (dump_arm_unwind): Warning fix.
412 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
414 * MAINTAINERS: Update my email address. List Tristan Gingold
415 as the release branch maintainer.
417 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
419 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
421 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
423 * NEWS: Document .ARM.exidx / .ARM.extab support.
425 * dwarf.c (read_leb128): Make non-static.
426 * dwarf.h (read_leb128): Declare.
427 * readelf.c (REMOVE_ARCH_BITS): Define.
428 (find_section_by_address): New.
429 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
430 (find_symbol_for_address): Handle the Thumb bit for ARM, by
431 using REMOVE_ARCH_BITS.
432 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
433 (arm_free_section, arm_section_get_word, decode_arm_unwind)
434 (dump_arm_unwind, arm_process_unwind): New.
435 (process_unwind): Handle ARM.
437 2010-02-26 Jie Zhang <jie@codesourcery.com>
439 * MAINTAINERS: Update my email address.
441 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
444 * doc/binutils.texi (windmc): Fix synopsis and description of
447 2010-02-19 Alan Modra <amodra@gmail.com>
449 * readelf.c (get_group_flags): Return empty string when flags zero.
450 Add space in other returned values.
451 (process_section_groups): Adjust format string.
453 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
455 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
456 newly permitted attribute values.
457 (arm_attr_tag_Virtualization_use): Likewise.
458 (arm_attr_tag_DIV_use): Add description of new attribute.
459 (arm_attr_tag_MPextension_use_legacy): Likewise.
461 2010-02-15 Nick Clifton <nickc@redhat.com>
463 * po/vi.po: Updated Vietnamese translation.
465 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
467 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
468 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
470 2010-02-08 Jim Blandy <jimb@red-bean.com>
472 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
473 'z' augmentation strings.
475 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
477 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
478 a new address, so as not to reuse a previous, non-related reloc.
480 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
482 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
484 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
486 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
489 2010-01-28 Nick Clifton <nickc@redhat.com>
492 * objdump.c (only): Replace with linked list.
493 (only_size, only_used): Replace with only_list.
494 (process_section_p): Set seen field on matches sections.
495 (add_only): New function.
496 (free_only_list): New function.
497 (disassemble_section): Check only_list.
498 (main): Use add_only and free_only_list.
500 2010-01-26 Tristan Gingold <gingold@adacore.com>
502 * Makefile.am (bin2c): Add libintl dependance and library.
503 * Makefile.in: Regenerate.
505 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
507 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
509 2010-01-19 Ian Lance Taylor <iant@google.com>
511 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
512 with non-ordinary files like /dev/null.
514 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
515 Alan Modra <amodra@gmail.com>
517 * readelf.c (process_file_header): Handle e_phnum extension.
519 2010-01-14 Tristan Gingold <gingold@adacore.com>
521 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
522 and DW_AT_GNAT_descriptive_type.
524 2010-01-13 Tristan Gingold <gingold@adacore.com>
526 * ar.c (main): Use lbasename.
528 * objdump.c (update_source_path): Ditto.
530 2010-01-12 Tristan Gingold <gingold@adacore.com>
532 * makefile.vms (CFLAGS): Turns warnings into informational messages.
534 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
537 * NEWS: Mention --dyn-syms for readelf.
539 * readelf.c (do_dyn_syms): New.
540 (OPTION_DYN_SYMS): Likewise.
541 (options): Add "dyn-syms".
542 (usage): Add --dyn-syms.
543 (parse_args): Handle OPTION_DYN_SYMS.
544 (process_symbol_table): Handle do_dyn_syms.
545 (process_object): Likewise.
546 (process_archive): Likewise.
548 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
549 symbol hash tables for -D.
551 2010-01-11 Nick Clifton <nickc@redhat.com>
553 * NEWS: Mention addition of elfedit.
555 * po/fi.po: Updated Finnish translation.
557 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
559 * Makefile.in: Regenerate.
560 * configure: Regenerate.
561 * doc/Makefile.in: Regenerate.
563 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
565 * version.c (print_version): Change to "Copyright 2010".
567 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
569 * elfedit.c (input_elf_type): New.
570 (output_elf_type): Likewise.
571 (elf_type): Likewise.
572 (update_elf_header): Support updating ELF file type.
573 (command_line_switch): Add OPTION_INPUT_TYPE and
576 (usage): Add --input-type and --output-type.
577 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
578 one of --output-mach and --output-type must be specified.
580 * doc/binutils.texi: Document --input-type and --output-type
583 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
585 * doc/binutils.texi: Fix a typo.
587 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
589 * elfedit.c (update_elf_header): Don't change input_elf_class
590 nor input_elf_machine if they are -1.
592 2010-01-08 Tristan Gingold <gingold@adacore.com>
594 * ar.c: Remove bfd_special_undocumented_glue prototype.
596 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
598 * elfedit.c (update_elf_header): Reformat.
600 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
602 * readelf.c (usage): Fix indent for --symbols.
604 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
606 * doc/binutils.texi: Replace -histogram with --histogram.
608 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
611 * Makefile.am (ELFEDIT_PROG): New.
612 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
613 (CFILES): Add elfedit.c.
614 (elfedit_DEPENDENCIES): New.
615 (elfedit_SOURCES): Likewise.
616 (elfedit_LDADD): Likewise.
617 * Makefile.in: Regenerated.
621 * doc/binutils.texi: Document elfedit.
623 * doc/Makefile.am (man_MANS): Add elfedit.1.
625 * doc/Makefile.in: Regenerated.
627 2010-01-06 Tristan Gingold <gingold@adacore.com>
629 * nm.c (usage): Remove extra blanks.
631 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
633 * objcopy.c: Update copyright.
634 * readelf.c: Likewise.
636 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
639 * objcopy.c (copy_object): Remove "Warning: " from error
642 2010-01-04 Nick Clifton <nickc@redhat.com>
645 * readelf.c (dump_section_as_strings): Use two separate
646 invocations of printf() in order to work around bugs in
647 the Solaris 8 implementation.
649 2010-01-04 Nick Clifton <nickc@redhat.com>
651 * po/ru.po: Updated Russian translation.
653 For older changes see ChangeLog-2009
659 version-control: never