1 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
3 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
6 2010-08-13 Tom Tromey <tromey@redhat.com>
8 * dwarf.c (process_debug_info): Don't subtract section address
9 when calculating location of cu abbrev within section.
11 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
14 * readelf.c (get_archive_member_name): Do not read beyond the end
17 2010-08-03 Tristan Gingold <gingold@adacore.com>
19 * dwarf.c (display_debug_lines): Mark file argument unused.
20 Do not try to load .debug_info section.
22 2010-08-02 Alan Modra <amodra@gmail.com>
24 * readelf.c (apply_relocations): D30V is really REL.
26 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
27 Ina Pandit <ina.pandit@kpitcummins.com>
29 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
31 2010-07-22 Alan Modra <amodra@gmail.com>
33 * readelf.c: Add Moxie support.
35 2010-07-20 Alan Modra <amodra@gmail.com>
37 * readelf.c (process_program_headers): Don't ignore all zero size
40 2010-07-19 Andreas Schwab <schwab@redhat.com>
42 * readelf.c (process_section_headers): Update key to flags.
44 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
46 * objcopy.c (copy_usage): Tweak previous typofix.
48 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
50 * objcopy.c (copy_usage): Fix a typo.
52 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
54 * dllwrap.c (main): Make sure is_leading_underscore
55 gets initialized with correct default.
57 2010-07-05 Alan Modra <amodra@gmail.com>
59 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
61 2010-07-03 Cary Coutant <ccoutant@google.com>
63 * objdump.c (load_specific_debug_section): Decompress section contents
64 before applying relocations.
65 * readelf.c (load_specific_debug_section): Update section size after
68 2010-06-29 Alan Modra <amodra@gmail.com>
71 * objcopy.c (is_strip_section): Revert 2006-09-05.
72 (setup_section): Make SHT_GROUP section nobits.
74 2010-06-29 Alan Modra <amodra@gmail.com>
76 * configure: Regenerate.
77 * po/POTFILES.in: Regenerate.
79 2010-06-27 Alan Modra <amodra@gmail.com>
81 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
83 2010-06-17 Nick Clifton <nickc@redhat.com>
86 * windres.c (enum option_values): New enum.
87 (long_options): Use separate option number for --include-dir
89 (main): Separate backwards compatibility check from code to
90 implement --include-dir. Check to see if directory exists and do
91 not complain if it does.
93 2010-06-15 Joseph Myers <joseph@codesourcery.com>
95 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
97 (process_arch_specific): Call process_tic6x_specific for
100 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
102 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
105 2010-06-11 Tristan Gingold <gingold@adacore.com>
106 Doug Rupp <rupp@gnat.com>
108 * readelf.c (is_ia64_vms): New function.
109 (dump_relocations): Use it.
110 (get_machine_flags): Display IA-64 OpenVMS flags.
111 (process_program_headers): No error on OpenVMS if no .dynamic section.
112 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
114 (dump_ia64_vms_dynamic_fixups): New function.
115 (dump_ia64_vms_dynamic_relocs): Ditto.
116 (process_ia64_vms_dynamic_relocs): Ditto.
117 (process_relocs): Handle IA-64 OpenVMS relocs.
118 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
119 (print_vms_time): New function.
120 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
121 DT_IA_64_VMS_LNKFLAGS.
122 (get_ia64_symbol_other): New function.
123 (get_symbol_other): Handle EM_IA_64.
125 2010-06-11 Tristan Gingold <gingold@adacore.com>
127 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
128 (UNW_DEC_ABI): Ditto for abiname.
129 (unw_decode_table): Make it const.
131 2010-06-10 Tristan Gingold <gingold@adacore.com>
133 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
136 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
137 Joseph Myers <joseph@codesourcery.com>
138 Andrew Stubbs <ams@codesourcery.com>
140 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
142 2010-05-25 Jay Krell <jay.krell@cornell.edu>
145 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
146 * Makefile.in: Regenerate.
148 2010-05-24 Tristan Gingold <gingold@adacore.com>
150 * readelf.c (usage): Add new trace sections for --debug-dump.
151 (process_section_headers): Handle dump of trace sections.
152 * objdump.c (usage): Add new trace sections for --dwarf.
153 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
154 (do_trace_aranges): Ditto.
155 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
156 and trace_aranges literals.
157 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
158 (do_trace_aranges): Ditto.
159 (process_debug_info): Add abbrev_sec argument and replace
160 abbrev with abbrev_sec.
161 (load_debug_info): Adjust call of process_debug_info.
162 (display_debug_info): Ditto.
163 (display_trace_info): New function.
164 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
165 and trace_aranges sections name.
166 (dwarf_select_sections_all): Also select trace sections.
167 (debug_displays): Reindent. Add entries for the trace sections.
168 * doc/binutils.texi (readelf): Document new --dwarf parameters.
171 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
174 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
177 2010-05-07 Tristan Gingold <gingold@adacore.com>
179 * Makefile.in: Regenerate with automake 1.11.1.
181 * doc/Makefile.in: Ditto.
183 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
185 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
186 * readelf.c (get_elf_section_flags): Likewise.
187 (process_section_headers): Likewise.
189 2010-05-05 Nick Clifton <nickc@redhat.com>
191 * po/es.po: Updated Spanish translation.
193 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
195 * dlltool.c (main): Query for bfd's underscoring default for
198 2010-04-27 Nick Clifton <nickc@redhat.com>
200 * po/ru.po: Updated Russian translation.
202 2010-04-23 Alan Modra <amodra@gmail.com>
204 * readelf.c (process_program_headers): Replace use of
205 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
207 2010-04-22 Nick Clifton <nickc@redhat.com>
209 * po/binutils.pot: Updated by the Translation project.
210 * po/fi.po: Updated Finnish translation.
211 * po/vi.po: Updated Vietnamese translation.
212 * po/bg.po: New Bulgarian translation.
213 * configure.in (ALL_LINGUAS): Add bg.
214 * configure: Regenerate.
216 2010-04-20 Nick Clifton <nickc@redhat.com>
218 * po/fr.po: Updated french translation.
220 2010-04-20 Nick Clifton <nickc@redhat.com>
222 * readelf.c: Add _() macros to constant strings that are
225 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
227 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
228 (arm_attr_tag_ABI_align8_needed): Remove.
229 (arm_attr_tag_ABI_align8_preserved): Remove.
230 (arm_attr_tag_ABI_HardFP_use): Update text strings.
231 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
232 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
234 2010-04-13 Nick Clifton <nickc@redhat.com>
237 * dwarf.c (process_debug_info): Initialise the signature array.
239 2010-04-09 Nick Clifton <nickc@redhat.com>
241 * dwarf.c (process_debug_info): Remove unused variable
242 cu_abbrev_offset_ptr.
243 (display_debug_lines_decoded): Remove unused variable prev_line.
244 * elfedit.c (process_archive): Remove unused variable
246 * ieee.c (ieee_start_compilation_unit): Remove unused variable
248 (ieee_set_type): Remove unused variables info, targetindx and
250 * objdump.c (disassmble_byte): Remove unused variable done_dot.
251 * rddbg.c (read_section_stabs_debugging_info): Remove unused
253 * readelf.c (dump_section_as_strings): Remove unused variable
255 (process_archive): Remove unused variable file_name_size.
256 * stabs.c (parse_stab_string): Mark desc parameter as unused.
257 Remove unused variable lineno.
258 (parse_stab_struct_type): Remove unused variable orig.
259 (stab_demangle_type): Remove unused variables constp, volatilep
262 2010-04-07 Alan Modra <amodra@gmail.com>
264 * configure: Regenerate.
266 2010-04-06 Nick Clifton <nickc@redhat.com>
268 * po/vi.po: Updated Vietnamese translation.
270 2010-04-05 Jakub Jelinek <jakub@redhat.com>
272 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
274 (display_debug_frames): Handle CIE version 4.
276 * dwarf.c (struct State_Machine_Registers): Add op_index field,
277 change end_sequence type to unsigned char.
278 (reset_state_machine): Clear op_index.
279 (process_extended_line_op): For DW_LNE_set_address clear op_index.
280 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
281 Track op_index state machine register and print it if
282 li_max_ops_per_insn is != 1.
283 (display_debug_lines_decoded): Likewise.
285 2010-04-01 Jakub Jelinek <jakub@redhat.com>
287 * dwarf.c (read_and_display_attr_value): Don't reject
288 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
290 (process_debug_info): Handle cu_version == 4.
291 (display_debug_lines_raw, display_debug_lines_decoded): Handle
294 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
296 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
297 * Makefile.in: Regenerate.
299 2010-03-25 Joseph Myers <joseph@codesourcery.com>
301 * MAINTAINERS: Add self as TI C6X maintainer.
302 * NEWS: Add news entry for TI C6X support.
303 * readelf.c: Include elf/tic6x.h.
304 (guess_is_rela): Handle EM_TI_C6000.
305 (dump_relocations): Likewise.
306 (get_tic6x_dynamic_type): New.
307 (get_dynamic_type): Call it.
308 (get_machine_flags): Handle EF_C6000_REL.
309 (get_osabi_name): Handle machine-specific values only for relevant
310 machines. Handle C6X values.
311 (get_tic6x_segment_type): New.
312 (get_segment_type): Call it.
313 (get_tic6x_section_type_name): New.
314 (get_section_type_name): Call it.
315 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
318 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
320 * doc/binutils.texi (readelf) <unwind information>: Mention support for
323 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
325 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
327 2010-03-17 Alan Modra <amodra@gmail.com>
329 * readelf.c (dump_arm_unwind): Warning fix.
331 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
333 * MAINTAINERS: Update my email address. List Tristan Gingold
334 as the release branch maintainer.
336 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
338 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
340 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
342 * NEWS: Document .ARM.exidx / .ARM.extab support.
344 * dwarf.c (read_leb128): Make non-static.
345 * dwarf.h (read_leb128): Declare.
346 * readelf.c (REMOVE_ARCH_BITS): Define.
347 (find_section_by_address): New.
348 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
349 (find_symbol_for_address): Handle the Thumb bit for ARM, by
350 using REMOVE_ARCH_BITS.
351 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
352 (arm_free_section, arm_section_get_word, decode_arm_unwind)
353 (dump_arm_unwind, arm_process_unwind): New.
354 (process_unwind): Handle ARM.
356 2010-02-26 Jie Zhang <jie@codesourcery.com>
358 * MAINTAINERS: Update my email address.
360 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
363 * doc/binutils.texi (windmc): Fix synopsis and description of
366 2010-02-19 Alan Modra <amodra@gmail.com>
368 * readelf.c (get_group_flags): Return empty string when flags zero.
369 Add space in other returned values.
370 (process_section_groups): Adjust format string.
372 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
374 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
375 newly permitted attribute values.
376 (arm_attr_tag_Virtualization_use): Likewise.
377 (arm_attr_tag_DIV_use): Add description of new attribute.
378 (arm_attr_tag_MPextension_use_legacy): Likewise.
380 2010-02-15 Nick Clifton <nickc@redhat.com>
382 * po/vi.po: Updated Vietnamese translation.
384 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
386 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
387 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
389 2010-02-08 Jim Blandy <jimb@red-bean.com>
391 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
392 'z' augmentation strings.
394 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
396 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
397 a new address, so as not to reuse a previous, non-related reloc.
399 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
401 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
403 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
405 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
408 2010-01-28 Nick Clifton <nickc@redhat.com>
411 * objdump.c (only): Replace with linked list.
412 (only_size, only_used): Replace with only_list.
413 (process_section_p): Set seen field on matches sections.
414 (add_only): New function.
415 (free_only_list): New function.
416 (disassemble_section): Check only_list.
417 (main): Use add_only and free_only_list.
419 2010-01-26 Tristan Gingold <gingold@adacore.com>
421 * Makefile.am (bin2c): Add libintl dependance and library.
422 * Makefile.in: Regenerate.
424 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
426 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
428 2010-01-19 Ian Lance Taylor <iant@google.com>
430 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
431 with non-ordinary files like /dev/null.
433 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
434 Alan Modra <amodra@gmail.com>
436 * readelf.c (process_file_header): Handle e_phnum extension.
438 2010-01-14 Tristan Gingold <gingold@adacore.com>
440 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
441 and DW_AT_GNAT_descriptive_type.
443 2010-01-13 Tristan Gingold <gingold@adacore.com>
445 * ar.c (main): Use lbasename.
447 * objdump.c (update_source_path): Ditto.
449 2010-01-12 Tristan Gingold <gingold@adacore.com>
451 * makefile.vms (CFLAGS): Turns warnings into informational messages.
453 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
456 * NEWS: Mention --dyn-syms for readelf.
458 * readelf.c (do_dyn_syms): New.
459 (OPTION_DYN_SYMS): Likewise.
460 (options): Add "dyn-syms".
461 (usage): Add --dyn-syms.
462 (parse_args): Handle OPTION_DYN_SYMS.
463 (process_symbol_table): Handle do_dyn_syms.
464 (process_object): Likewise.
465 (process_archive): Likewise.
467 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
468 symbol hash tables for -D.
470 2010-01-11 Nick Clifton <nickc@redhat.com>
472 * NEWS: Mention addition of elfedit.
474 * po/fi.po: Updated Finnish translation.
476 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
478 * Makefile.in: Regenerate.
479 * configure: Regenerate.
480 * doc/Makefile.in: Regenerate.
482 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
484 * version.c (print_version): Change to "Copyright 2010".
486 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
488 * elfedit.c (input_elf_type): New.
489 (output_elf_type): Likewise.
490 (elf_type): Likewise.
491 (update_elf_header): Support updating ELF file type.
492 (command_line_switch): Add OPTION_INPUT_TYPE and
495 (usage): Add --input-type and --output-type.
496 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
497 one of --output-mach and --output-type must be specified.
499 * doc/binutils.texi: Document --input-type and --output-type
502 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
504 * doc/binutils.texi: Fix a typo.
506 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
508 * elfedit.c (update_elf_header): Don't change input_elf_class
509 nor input_elf_machine if they are -1.
511 2010-01-08 Tristan Gingold <gingold@adacore.com>
513 * ar.c: Remove bfd_special_undocumented_glue prototype.
515 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
517 * elfedit.c (update_elf_header): Reformat.
519 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
521 * readelf.c (usage): Fix indent for --symbols.
523 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
525 * doc/binutils.texi: Replace -histogram with --histogram.
527 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
530 * Makefile.am (ELFEDIT_PROG): New.
531 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
532 (CFILES): Add elfedit.c.
533 (elfedit_DEPENDENCIES): New.
534 (elfedit_SOURCES): Likewise.
535 (elfedit_LDADD): Likewise.
536 * Makefile.in: Regenerated.
540 * doc/binutils.texi: Document elfedit.
542 * doc/Makefile.am (man_MANS): Add elfedit.1.
544 * doc/Makefile.in: Regenerated.
546 2010-01-06 Tristan Gingold <gingold@adacore.com>
548 * nm.c (usage): Remove extra blanks.
550 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
552 * objcopy.c: Update copyright.
553 * readelf.c: Likewise.
555 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
558 * objcopy.c (copy_object): Remove "Warning: " from error
561 2010-01-04 Nick Clifton <nickc@redhat.com>
564 * readelf.c (dump_section_as_strings): Use two separate
565 invocations of printf() in order to work around bugs in
566 the Solaris 8 implementation.
568 2010-01-04 Nick Clifton <nickc@redhat.com>
570 * po/ru.po: Updated Russian translation.
572 For older changes see ChangeLog-2009
578 version-control: never