1 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
3 * elfedit.c (input_elf_osabi): New.
4 (output_elf_osbi): Likewise.
7 (update_elf_header): Support updating ELF OSABI.
8 (make_qualified_name): Break long line.
9 (command_line_switch): Add OPTION_INPUT_OSABI and
12 (usage): Add --input-osabi and --output-osabi.
13 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
15 * doc/binutils.texi: Document --input-osabi and --output-osabi
18 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
20 * readelf.c (display_mips_gnu_attribute): Replace GCC options
21 with a textual description of a MIPS32r2 64-bit FPU.
23 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
26 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
28 (get_64bit_elf_symbols): Likewise.
29 (process_symbol_table): Likewise.
30 (process_section_groups): Check for corrupt headers.
31 (process_version_sections): Check for corrupt indicies.
32 (process_corefile_note_segment): Likewise.
34 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
36 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
39 2010-08-13 Tom Tromey <tromey@redhat.com>
41 * dwarf.c (process_debug_info): Don't subtract section address
42 when calculating location of cu abbrev within section.
44 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
47 * readelf.c (get_archive_member_name): Do not read beyond the end
50 2010-08-03 Tristan Gingold <gingold@adacore.com>
52 * dwarf.c (display_debug_lines): Mark file argument unused.
53 Do not try to load .debug_info section.
55 2010-08-02 Alan Modra <amodra@gmail.com>
57 * readelf.c (apply_relocations): D30V is really REL.
59 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
60 Ina Pandit <ina.pandit@kpitcummins.com>
62 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
64 2010-07-22 Alan Modra <amodra@gmail.com>
66 * readelf.c: Add Moxie support.
68 2010-07-20 Alan Modra <amodra@gmail.com>
70 * readelf.c (process_program_headers): Don't ignore all zero size
73 2010-07-19 Andreas Schwab <schwab@redhat.com>
75 * readelf.c (process_section_headers): Update key to flags.
77 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
79 * objcopy.c (copy_usage): Tweak previous typofix.
81 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
83 * objcopy.c (copy_usage): Fix a typo.
85 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
87 * dllwrap.c (main): Make sure is_leading_underscore
88 gets initialized with correct default.
90 2010-07-05 Alan Modra <amodra@gmail.com>
92 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
94 2010-07-03 Cary Coutant <ccoutant@google.com>
96 * objdump.c (load_specific_debug_section): Decompress section contents
97 before applying relocations.
98 * readelf.c (load_specific_debug_section): Update section size after
101 2010-06-29 Alan Modra <amodra@gmail.com>
104 * objcopy.c (is_strip_section): Revert 2006-09-05.
105 (setup_section): Make SHT_GROUP section nobits.
107 2010-06-29 Alan Modra <amodra@gmail.com>
109 * configure: Regenerate.
110 * po/POTFILES.in: Regenerate.
112 2010-06-27 Alan Modra <amodra@gmail.com>
114 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
116 2010-06-17 Nick Clifton <nickc@redhat.com>
119 * windres.c (enum option_values): New enum.
120 (long_options): Use separate option number for --include-dir
122 (main): Separate backwards compatibility check from code to
123 implement --include-dir. Check to see if directory exists and do
124 not complain if it does.
126 2010-06-15 Joseph Myers <joseph@codesourcery.com>
128 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
130 (process_arch_specific): Call process_tic6x_specific for
133 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
135 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
138 2010-06-11 Tristan Gingold <gingold@adacore.com>
139 Doug Rupp <rupp@gnat.com>
141 * readelf.c (is_ia64_vms): New function.
142 (dump_relocations): Use it.
143 (get_machine_flags): Display IA-64 OpenVMS flags.
144 (process_program_headers): No error on OpenVMS if no .dynamic section.
145 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
147 (dump_ia64_vms_dynamic_fixups): New function.
148 (dump_ia64_vms_dynamic_relocs): Ditto.
149 (process_ia64_vms_dynamic_relocs): Ditto.
150 (process_relocs): Handle IA-64 OpenVMS relocs.
151 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
152 (print_vms_time): New function.
153 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
154 DT_IA_64_VMS_LNKFLAGS.
155 (get_ia64_symbol_other): New function.
156 (get_symbol_other): Handle EM_IA_64.
158 2010-06-11 Tristan Gingold <gingold@adacore.com>
160 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
161 (UNW_DEC_ABI): Ditto for abiname.
162 (unw_decode_table): Make it const.
164 2010-06-10 Tristan Gingold <gingold@adacore.com>
166 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
169 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
170 Joseph Myers <joseph@codesourcery.com>
171 Andrew Stubbs <ams@codesourcery.com>
173 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
175 2010-05-25 Jay Krell <jay.krell@cornell.edu>
178 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
179 * Makefile.in: Regenerate.
181 2010-05-24 Tristan Gingold <gingold@adacore.com>
183 * readelf.c (usage): Add new trace sections for --debug-dump.
184 (process_section_headers): Handle dump of trace sections.
185 * objdump.c (usage): Add new trace sections for --dwarf.
186 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
187 (do_trace_aranges): Ditto.
188 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
189 and trace_aranges literals.
190 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
191 (do_trace_aranges): Ditto.
192 (process_debug_info): Add abbrev_sec argument and replace
193 abbrev with abbrev_sec.
194 (load_debug_info): Adjust call of process_debug_info.
195 (display_debug_info): Ditto.
196 (display_trace_info): New function.
197 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
198 and trace_aranges sections name.
199 (dwarf_select_sections_all): Also select trace sections.
200 (debug_displays): Reindent. Add entries for the trace sections.
201 * doc/binutils.texi (readelf): Document new --dwarf parameters.
204 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
207 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
210 2010-05-07 Tristan Gingold <gingold@adacore.com>
212 * Makefile.in: Regenerate with automake 1.11.1.
214 * doc/Makefile.in: Ditto.
216 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
218 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
219 * readelf.c (get_elf_section_flags): Likewise.
220 (process_section_headers): Likewise.
222 2010-05-05 Nick Clifton <nickc@redhat.com>
224 * po/es.po: Updated Spanish translation.
226 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
228 * dlltool.c (main): Query for bfd's underscoring default for
231 2010-04-27 Nick Clifton <nickc@redhat.com>
233 * po/ru.po: Updated Russian translation.
235 2010-04-23 Alan Modra <amodra@gmail.com>
237 * readelf.c (process_program_headers): Replace use of
238 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
240 2010-04-22 Nick Clifton <nickc@redhat.com>
242 * po/binutils.pot: Updated by the Translation project.
243 * po/fi.po: Updated Finnish translation.
244 * po/vi.po: Updated Vietnamese translation.
245 * po/bg.po: New Bulgarian translation.
246 * configure.in (ALL_LINGUAS): Add bg.
247 * configure: Regenerate.
249 2010-04-20 Nick Clifton <nickc@redhat.com>
251 * po/fr.po: Updated french translation.
253 2010-04-20 Nick Clifton <nickc@redhat.com>
255 * readelf.c: Add _() macros to constant strings that are
258 * readelf.c (display_mips_gnu_attribute): Replace GCC options
259 with a textual description of single and double precision float.
261 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
263 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
264 (arm_attr_tag_ABI_align8_needed): Remove.
265 (arm_attr_tag_ABI_align8_preserved): Remove.
266 (arm_attr_tag_ABI_HardFP_use): Update text strings.
267 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
268 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
270 2010-04-13 Nick Clifton <nickc@redhat.com>
273 * dwarf.c (process_debug_info): Initialise the signature array.
275 2010-04-09 Nick Clifton <nickc@redhat.com>
277 * dwarf.c (process_debug_info): Remove unused variable
278 cu_abbrev_offset_ptr.
279 (display_debug_lines_decoded): Remove unused variable prev_line.
280 * elfedit.c (process_archive): Remove unused variable
282 * ieee.c (ieee_start_compilation_unit): Remove unused variable
284 (ieee_set_type): Remove unused variables info, targetindx and
286 * objdump.c (disassmble_byte): Remove unused variable done_dot.
287 * rddbg.c (read_section_stabs_debugging_info): Remove unused
289 * readelf.c (dump_section_as_strings): Remove unused variable
291 (process_archive): Remove unused variable file_name_size.
292 * stabs.c (parse_stab_string): Mark desc parameter as unused.
293 Remove unused variable lineno.
294 (parse_stab_struct_type): Remove unused variable orig.
295 (stab_demangle_type): Remove unused variables constp, volatilep
298 2010-04-07 Alan Modra <amodra@gmail.com>
300 * configure: Regenerate.
302 2010-04-06 Nick Clifton <nickc@redhat.com>
304 * po/vi.po: Updated Vietnamese translation.
306 2010-04-05 Jakub Jelinek <jakub@redhat.com>
308 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
310 (display_debug_frames): Handle CIE version 4.
312 * dwarf.c (struct State_Machine_Registers): Add op_index field,
313 change end_sequence type to unsigned char.
314 (reset_state_machine): Clear op_index.
315 (process_extended_line_op): For DW_LNE_set_address clear op_index.
316 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
317 Track op_index state machine register and print it if
318 li_max_ops_per_insn is != 1.
319 (display_debug_lines_decoded): Likewise.
321 2010-04-01 Jakub Jelinek <jakub@redhat.com>
323 * dwarf.c (read_and_display_attr_value): Don't reject
324 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
326 (process_debug_info): Handle cu_version == 4.
327 (display_debug_lines_raw, display_debug_lines_decoded): Handle
330 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
332 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
333 * Makefile.in: Regenerate.
335 2010-03-25 Joseph Myers <joseph@codesourcery.com>
337 * MAINTAINERS: Add self as TI C6X maintainer.
338 * NEWS: Add news entry for TI C6X support.
339 * readelf.c: Include elf/tic6x.h.
340 (guess_is_rela): Handle EM_TI_C6000.
341 (dump_relocations): Likewise.
342 (get_tic6x_dynamic_type): New.
343 (get_dynamic_type): Call it.
344 (get_machine_flags): Handle EF_C6000_REL.
345 (get_osabi_name): Handle machine-specific values only for relevant
346 machines. Handle C6X values.
347 (get_tic6x_segment_type): New.
348 (get_segment_type): Call it.
349 (get_tic6x_section_type_name): New.
350 (get_section_type_name): Call it.
351 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
354 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
356 * doc/binutils.texi (readelf) <unwind information>: Mention support for
359 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
361 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
363 2010-03-17 Alan Modra <amodra@gmail.com>
365 * readelf.c (dump_arm_unwind): Warning fix.
367 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
369 * MAINTAINERS: Update my email address. List Tristan Gingold
370 as the release branch maintainer.
372 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
374 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
376 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
378 * NEWS: Document .ARM.exidx / .ARM.extab support.
380 * dwarf.c (read_leb128): Make non-static.
381 * dwarf.h (read_leb128): Declare.
382 * readelf.c (REMOVE_ARCH_BITS): Define.
383 (find_section_by_address): New.
384 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
385 (find_symbol_for_address): Handle the Thumb bit for ARM, by
386 using REMOVE_ARCH_BITS.
387 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
388 (arm_free_section, arm_section_get_word, decode_arm_unwind)
389 (dump_arm_unwind, arm_process_unwind): New.
390 (process_unwind): Handle ARM.
392 2010-02-26 Jie Zhang <jie@codesourcery.com>
394 * MAINTAINERS: Update my email address.
396 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
399 * doc/binutils.texi (windmc): Fix synopsis and description of
402 2010-02-19 Alan Modra <amodra@gmail.com>
404 * readelf.c (get_group_flags): Return empty string when flags zero.
405 Add space in other returned values.
406 (process_section_groups): Adjust format string.
408 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
410 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
411 newly permitted attribute values.
412 (arm_attr_tag_Virtualization_use): Likewise.
413 (arm_attr_tag_DIV_use): Add description of new attribute.
414 (arm_attr_tag_MPextension_use_legacy): Likewise.
416 2010-02-15 Nick Clifton <nickc@redhat.com>
418 * po/vi.po: Updated Vietnamese translation.
420 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
422 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
423 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
425 2010-02-08 Jim Blandy <jimb@red-bean.com>
427 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
428 'z' augmentation strings.
430 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
432 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
433 a new address, so as not to reuse a previous, non-related reloc.
435 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
437 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
439 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
441 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
444 2010-01-28 Nick Clifton <nickc@redhat.com>
447 * objdump.c (only): Replace with linked list.
448 (only_size, only_used): Replace with only_list.
449 (process_section_p): Set seen field on matches sections.
450 (add_only): New function.
451 (free_only_list): New function.
452 (disassemble_section): Check only_list.
453 (main): Use add_only and free_only_list.
455 2010-01-26 Tristan Gingold <gingold@adacore.com>
457 * Makefile.am (bin2c): Add libintl dependance and library.
458 * Makefile.in: Regenerate.
460 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
462 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
464 2010-01-19 Ian Lance Taylor <iant@google.com>
466 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
467 with non-ordinary files like /dev/null.
469 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
470 Alan Modra <amodra@gmail.com>
472 * readelf.c (process_file_header): Handle e_phnum extension.
474 2010-01-14 Tristan Gingold <gingold@adacore.com>
476 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
477 and DW_AT_GNAT_descriptive_type.
479 2010-01-13 Tristan Gingold <gingold@adacore.com>
481 * ar.c (main): Use lbasename.
483 * objdump.c (update_source_path): Ditto.
485 2010-01-12 Tristan Gingold <gingold@adacore.com>
487 * makefile.vms (CFLAGS): Turns warnings into informational messages.
489 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
492 * NEWS: Mention --dyn-syms for readelf.
494 * readelf.c (do_dyn_syms): New.
495 (OPTION_DYN_SYMS): Likewise.
496 (options): Add "dyn-syms".
497 (usage): Add --dyn-syms.
498 (parse_args): Handle OPTION_DYN_SYMS.
499 (process_symbol_table): Handle do_dyn_syms.
500 (process_object): Likewise.
501 (process_archive): Likewise.
503 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
504 symbol hash tables for -D.
506 2010-01-11 Nick Clifton <nickc@redhat.com>
508 * NEWS: Mention addition of elfedit.
510 * po/fi.po: Updated Finnish translation.
512 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
514 * Makefile.in: Regenerate.
515 * configure: Regenerate.
516 * doc/Makefile.in: Regenerate.
518 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
520 * version.c (print_version): Change to "Copyright 2010".
522 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
524 * elfedit.c (input_elf_type): New.
525 (output_elf_type): Likewise.
526 (elf_type): Likewise.
527 (update_elf_header): Support updating ELF file type.
528 (command_line_switch): Add OPTION_INPUT_TYPE and
531 (usage): Add --input-type and --output-type.
532 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
533 one of --output-mach and --output-type must be specified.
535 * doc/binutils.texi: Document --input-type and --output-type
538 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
540 * doc/binutils.texi: Fix a typo.
542 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
544 * elfedit.c (update_elf_header): Don't change input_elf_class
545 nor input_elf_machine if they are -1.
547 2010-01-08 Tristan Gingold <gingold@adacore.com>
549 * ar.c: Remove bfd_special_undocumented_glue prototype.
551 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
553 * elfedit.c (update_elf_header): Reformat.
555 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
557 * readelf.c (usage): Fix indent for --symbols.
559 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
561 * doc/binutils.texi: Replace -histogram with --histogram.
563 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
566 * Makefile.am (ELFEDIT_PROG): New.
567 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
568 (CFILES): Add elfedit.c.
569 (elfedit_DEPENDENCIES): New.
570 (elfedit_SOURCES): Likewise.
571 (elfedit_LDADD): Likewise.
572 * Makefile.in: Regenerated.
576 * doc/binutils.texi: Document elfedit.
578 * doc/Makefile.am (man_MANS): Add elfedit.1.
580 * doc/Makefile.in: Regenerated.
582 2010-01-06 Tristan Gingold <gingold@adacore.com>
584 * nm.c (usage): Remove extra blanks.
586 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
588 * objcopy.c: Update copyright.
589 * readelf.c: Likewise.
591 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
594 * objcopy.c (copy_object): Remove "Warning: " from error
597 2010-01-04 Nick Clifton <nickc@redhat.com>
600 * readelf.c (dump_section_as_strings): Use two separate
601 invocations of printf() in order to work around bugs in
602 the Solaris 8 implementation.
604 2010-01-04 Nick Clifton <nickc@redhat.com>
606 * po/ru.po: Updated Russian translation.
608 For older changes see ChangeLog-2009
614 version-control: never