1 2010-11-26 Alan Modra <amodra@gmail.com>
3 * dwarf.c (decode_location_expression, display_debug_frames): Move
4 code handling DW_EH_PE_pcrel into..
5 (get_encoded_value): ..here.
7 2010-11-26 Alan Modra <amodra@gmail.com>
11 2010-11-25 Alan Modra <amodra@gmail.com>
18 * po/zh_CN.po: Update.
20 2010-11-21 H.J. Lu <hongjiu.lu@intel.com>
24 * elfcomm.h: Likewise.
26 * Makefile.am (HFILES): Add elfcomm.h.
27 (CFILES): Add elfcomm.c.
29 (readelf_SOURCES): Add $(ELFLIBS).
30 (elfedit_SOURCES): Likewise.
31 (objdump_SOURCES): Likewise.
32 * Makefile.in: Regenerated.
34 * dwarf.c: Include "elfcomm.h".
36 (byte_get_little_endian): Likewise.
37 (byte_get_big_endian): Likewise.
38 (byte_get_signed): Likewise.
42 * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT.
43 (dwarf_size_type): Likewise.
45 (byte_get_signed): Likewise.
46 (byte_get_little_endian): Likewise.
47 (byte_get_big_endian): Likewise.
51 * elfedit.c: Include "elfcomm.h". Don't include "aout/ar.h".
52 Call error () instead of non_fatal ().
55 (const_strneq): Likewise.
56 (non_fatal): Likewise.
61 (byte_get_little_endian): Likewise.
62 (byte_get_big_endian): Likewise.
63 (byte_put_little_endian): Likewise.
64 (byte_put_big_endian): Likewise.
65 (adjust_relative_path): Likewise.
66 (archive_info): Likewise.
67 (setup_archive): Likewise.
68 (release_archive): Likewise.
69 (setup_nested_archive): Likewise.
70 (get_archive_member_name): Likewise.
71 (get_archive_member_name_at): Likewise.
72 (make_qualified_name): Likewise.
74 * objdump.c: Include "elfcomm.h".
76 * readelf.c: Include "elfcomm.h". Don't include "aout/ar.h".
78 (BYTE_GET_SIGNED): Removed.
81 (const_strneq): Likewise.
83 (byte_put_little_endian): Likewise.
84 (byte_put_big_endian): Likewise.
85 (adjust_relative_path): Likewise.
86 (archive_info): Likewise.
87 (setup_archive): Likewise.
88 (release_archive): Likewise.
89 (setup_nested_archive): Likewise.
90 (get_archive_member_name): Likewise.
91 (get_archive_member_name_at): Likewise.
92 (make_qualified_name): Likewise.
94 2010-11-18 Alan Modra <amodra@gmail.com>
97 * readelf.c (get_archive_member_name): Formatting. Properly
98 handle full size ar_name.
100 2010-11-17 Alan Modra <amodra@gmail.com>
102 * ar.c (print_contents): Don't internationalize strings without words.
103 * dwarf.c (process_extended_line_op): Likewise.
104 (process_debug_info): Likwise.
105 (display_debug_lines_raw): Likewise.
106 (display_debug_lines_decoded): Likewise.
107 (display_debug_abbrev): Likewise.
108 * readelf.c (process_file_header): Likewise.
110 (decode_arm_unwind): Likewise.
111 (process_mips_specific): Likewise.
112 * resrc.c (run_cmd): Likewise.
113 (rcparse_warning): Likewise.
114 * objdump.c (dump_headers): Don't print "Pg".
116 2010-11-16 Jorma Karvonen <karvonen.jorma@gmail.com>
118 * windmc.c: ,%s' -> `%s' in a number of strings.
120 2010-11-16 Jie Zhang <jie.zhang@analog.com>
122 * readelf.c (get_machine_flags): Deal with Blackfin specific flags.
124 2010-11-11 Mingming Sun <mingm.sun@gmail.com>
126 * readelf.c (get_machine_flags): Add loongson-3a.
128 2010-11-10 Nick Clifton <nickc@redhat.com>
130 * po/ja.po: Updated Japanese translation.
131 * po/fr.po: Updated French translation.
133 2010-11-08 Nick Clifton <nickc@redhat.com>
135 * po/ja.po: Updated Japanese translation.
137 2010-11-08 Alan Modra <amodra@gmail.com>
139 * objcopy.c (copy_main): No need to rename sections when compressing
142 2010-11-05 Alan Modra <amodra@gmail.com>
144 * bin2c.c: Remove internationalization and version report.
145 * Makefile.am: Update bin2c rule.
146 * Makefile.in: Regenerate.
148 2010-11-05 Tristan Gingold <gingold@adacore.com>
150 * po/binutils.pot: Regenerate
152 2010-11-05 Tristan Gingold <gingold@adacore.com>
154 * NEWS: Add marker for 2.21.
156 2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
158 * objdump.c (dump_bfd_header): Don't display
159 BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
161 2010-11-02 Joseph Myers <joseph@codesourcery.com>
163 * readelf.c (display_tic6x_attribute): Handle more attributes.
165 2010-10-30 Kai Tietz <kai.tietz@onevision.com>
167 * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
170 2010-10-29 Joseph Myers <joseph@codesourcery.com>
172 * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
173 not hardcoded 32. Display name of this attribute.
175 2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
177 * addr2line.c (process_file): Set BFD_DECOMPRESS.
179 * objcopy.c (do_debug_sections): New.
180 (OPTION_COMPRESS_DEBUG_SECTIONS): New.
181 (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
182 (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
183 OPTION_DECOMPRESS_DEBUG_SECTIONS.
184 (copy_usage): Add --compress-debug-sections and
185 --decompress-debug-sections.
186 (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
187 (copy_section): Replace bfd_get_section_contents with
188 bfd_get_full_section_contents.
189 (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
190 OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to
191 rename DWARF debug sections.
193 * objdump.c (load_specific_debug_section): Replace
194 bfd_get_section_contents with bfd_get_full_section_contents.
195 Remove bfd_uncompress_section_contents.
196 (dump_section): Replace bfd_get_section_contents with
197 bfd_get_full_section_contents.
198 (display_file): Set BFD_DECOMPRESS if needed.
200 * readelf.c (uncompress_section_contents): Set buffer to NULL
201 to indiate decompression failure.
202 (load_specific_debug_section): Always call
203 uncompress_section_contents.
205 * doc/binutils.texi: Document --compress-debug-sections and
206 --decompress-debug-sections.
208 2010-10-29 Nick Clifton <nickc@redhat.com>
211 * ar.c (usage): Revert previous change. Describe how 's' can be
212 used as a command letter.
213 * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
216 2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
217 Joseph Myers <joseph@codesourcery.com>
219 * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
221 2010-10-28 Nick Clifton <nickc@redhat.com>
224 * ar.c (usage): Remove spurious 's' from list of accepted command
227 2010-10-28 Alan Modra <amodra@gmail.com>
229 * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
230 (is_32bit_pcrel_reloc): Support microblaze.
232 2010-10-26 Nick Clifton <nickc@redhat.com>
234 * po/ja.po: Updated Japanese transaltion.
236 2010-10-21 Joseph Myers <joseph@codesourcery.com>
238 * readelf.c (display_tic6x_attribute): Update for attribute
241 2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
243 * dwarf.c (byte_get_signed): Make it extern.
245 * dwarf.h (byte_get_signed): New.
247 * readelf.c (BYTE_GET_SIGNED): New.
248 (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
249 (dump_relocations): Properly dump r_addend.
251 2010-10-08 Joseph Myers <joseph@codesourcery.com>
253 * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
254 (set_print_radix): Update for __MSVCRT__ definition of
257 2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
259 Fix build with -DDEBUG=7
260 * nlmheader.y (DEBUG token): Rename to DEBUG_K.
262 2010-10-06 Alan Modra <amodra@gmail.com>
264 * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
266 2010-10-05 Alan Modra <amodra@gmail.com>
268 * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
269 (bfd_nonfatal_message, report, list_matching_formats): Likewise.
270 (list_supported_targets): Tidy.
271 * objdump.c (free_only_list): Formatting.
272 (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
274 (update_source_path): Delete redundant check for NULL filename.
275 (disassemble_bytes): Error if disassemble_fn returns a value
276 that won't increment address.
277 (disassemble_data): Don't capitalize error message.
278 (read_section_stabs): Likewise.
279 (main): Return non-zero exit status on bad options.
281 2010-10-03 H.J. Lu <hongjiu.lu@intel.com>
284 * nm.c (plugin_target): New.
285 (main): Set plugin_target to "plugin" for --plugin.
286 (display_file): Pass plugin_target to bfd_openr if target
289 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
291 * configure: Regenerate.
293 2010-09-22 Mike Frysinger <vapier@gentoo.org>
295 * MAINTAINERS: Add self as ADI Blackfin maintainer.
297 2010-09-17 H.J. Lu <hongjiu.lu@intel.com>
299 * emul_aix.c (ar_emul_aix_append): Add a target argument
300 and ignore it if it is set.
301 (ar_emul_aix5_append): Likewise.
302 (ar_emul_aix_replace): Likewise.
303 (ar_emul_aix5_replace): Likewise.
305 2010-09-15 H.J. Lu <hongjiu.lu@intel.com>
307 * ar.c (plugin_target): New.
308 (main): Set plugin_target to "plugin" for --plugin.
309 (open_inarch): Initialize target to plugin_target.
310 (replace_members): Pass plugin_target to ar_emul_replace
313 * binemul.h (ar_emul_append): Add a target argument.
314 (ar_emul_default_append): Likewise.
315 (ar_emul_replace): Likewise.
316 (ar_emul_default_replace): Likewise.
317 (bin_emulation_xfer_struct): Add a target argument to
318 ar_append and ar_replace.
320 * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr.
321 (do_ar_emul_default_append): Likewise.
322 (ar_emul_default_append): Likewise.
323 (ar_emul_replace): Likewise.
324 (ar_emul_default_replace): Likewise.
326 2010-09-10 Ben Gardiner <bengardiner@nanometrics.ca>
328 * objcopy.c: Add --interleave-width option to allow interleaving
329 of more than one byte at a time.
330 (copy_width): New variable.
331 (copy_options): Add --interleave-width.
332 (copy_section): When interleaving copy in units of copy_width
334 (copy_main): Parse the new option.
335 * doc/binutils: Document the new option.
336 * NEWS: Mention the new feature.
338 2010-09-09 Jakub Jelinek <jakub@redhat.com>
340 * dwarf.c (decode_location_expression): Fix data adjustment
341 for DW_OP_GNU_implicit_pointer in v3+.
343 2010-09-09 Tristan Gingold <gingold@adacore.com>
345 * NEWS: Add entry to NEWS for hppa/som.
347 2010-09-09 Jakub Jelinek <jakub@redhat.com>
349 * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
350 * dwarf.c (decode_location_expression): Add offset_size and
351 dwarf_version arguments. Prefix DIE offset with 0x for
352 DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
353 complain if in frame info section. Handle
354 DW_OP_GNU_implicit_pointer.
355 (read_and_display_attr_value, display_debug_loc,
356 display_debug_frames): Adjust decode_location_expression callers.
357 (process_debug_info): Save offset_size and dwarf_version values
358 into debug_information array.
360 2010-09-07 Nick Clifton <nickc@redhat.com>
362 * readelf.c (process_section_headers): Mention meaning of 'l'
363 section flag for x86-64 targets.
365 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
366 Jakub Jelinek <jakub@redhat.com>
368 * dwarf.c (regname): New declaration.
369 (decode_location_expression): Print for registers also regname output.
371 2010-09-02 Richard Henderson <rth@redhat.com>
373 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
374 (init_dwarf_regnames): Use them.
375 * dwarf.h: Declare them.
376 * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
377 the regnames, rather than using elf_machine_code.
379 2010-09-02 Richard Henderson <rth@redhat.com>
381 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
383 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
385 * elfedit.c (input_elf_osabi): New.
386 (output_elf_osbi): Likewise.
388 (elf_osabi): Likewise.
389 (update_elf_header): Support updating ELF OSABI.
390 (make_qualified_name): Break long line.
391 (command_line_switch): Add OPTION_INPUT_OSABI and
394 (usage): Add --input-osabi and --output-osabi.
395 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
397 * doc/binutils.texi: Document --input-osabi and --output-osabi
400 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
402 * readelf.c (display_mips_gnu_attribute): Replace GCC options
403 with a textual description of a MIPS32r2 64-bit FPU.
405 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
408 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
410 (get_64bit_elf_symbols): Likewise.
411 (process_symbol_table): Likewise.
412 (process_section_groups): Check for corrupt headers.
413 (process_version_sections): Check for corrupt indicies.
414 (process_corefile_note_segment): Likewise.
416 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
418 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
421 2010-08-13 Tom Tromey <tromey@redhat.com>
423 * dwarf.c (process_debug_info): Don't subtract section address
424 when calculating location of cu abbrev within section.
426 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
429 * readelf.c (get_archive_member_name): Do not read beyond the end
430 of the ar_name field.
432 2010-08-03 Tristan Gingold <gingold@adacore.com>
434 * dwarf.c (display_debug_lines): Mark file argument unused.
435 Do not try to load .debug_info section.
437 2010-08-02 Alan Modra <amodra@gmail.com>
439 * readelf.c (apply_relocations): D30V is really REL.
441 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
442 Ina Pandit <ina.pandit@kpitcummins.com>
444 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
446 2010-07-22 Alan Modra <amodra@gmail.com>
448 * readelf.c: Add Moxie support.
450 2010-07-20 Alan Modra <amodra@gmail.com>
452 * readelf.c (process_program_headers): Don't ignore all zero size
455 2010-07-19 Andreas Schwab <schwab@redhat.com>
457 * readelf.c (process_section_headers): Update key to flags.
459 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
461 * objcopy.c (copy_usage): Tweak previous typofix.
463 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
465 * objcopy.c (copy_usage): Fix a typo.
467 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
469 * dllwrap.c (main): Make sure is_leading_underscore
470 gets initialized with correct default.
472 2010-07-05 Alan Modra <amodra@gmail.com>
474 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
476 2010-07-03 Cary Coutant <ccoutant@google.com>
478 * objdump.c (load_specific_debug_section): Decompress section contents
479 before applying relocations.
480 * readelf.c (load_specific_debug_section): Update section size after
483 2010-06-29 Alan Modra <amodra@gmail.com>
486 * objcopy.c (is_strip_section): Revert 2006-09-05.
487 (setup_section): Make SHT_GROUP section nobits.
489 2010-06-29 Alan Modra <amodra@gmail.com>
491 * configure: Regenerate.
492 * po/POTFILES.in: Regenerate.
494 2010-06-27 Alan Modra <amodra@gmail.com>
496 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
498 2010-06-17 Nick Clifton <nickc@redhat.com>
501 * windres.c (enum option_values): New enum.
502 (long_options): Use separate option number for --include-dir
504 (main): Separate backwards compatibility check from code to
505 implement --include-dir. Check to see if directory exists and do
506 not complain if it does.
508 2010-06-15 Joseph Myers <joseph@codesourcery.com>
510 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
512 (process_arch_specific): Call process_tic6x_specific for
515 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
517 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
520 2010-06-11 Tristan Gingold <gingold@adacore.com>
521 Doug Rupp <rupp@gnat.com>
523 * readelf.c (is_ia64_vms): New function.
524 (dump_relocations): Use it.
525 (get_machine_flags): Display IA-64 OpenVMS flags.
526 (process_program_headers): No error on OpenVMS if no .dynamic section.
527 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
529 (dump_ia64_vms_dynamic_fixups): New function.
530 (dump_ia64_vms_dynamic_relocs): Ditto.
531 (process_ia64_vms_dynamic_relocs): Ditto.
532 (process_relocs): Handle IA-64 OpenVMS relocs.
533 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
534 (print_vms_time): New function.
535 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
536 DT_IA_64_VMS_LNKFLAGS.
537 (get_ia64_symbol_other): New function.
538 (get_symbol_other): Handle EM_IA_64.
540 2010-06-11 Tristan Gingold <gingold@adacore.com>
542 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
543 (UNW_DEC_ABI): Ditto for abiname.
544 (unw_decode_table): Make it const.
546 2010-06-10 Tristan Gingold <gingold@adacore.com>
548 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
551 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
552 Joseph Myers <joseph@codesourcery.com>
553 Andrew Stubbs <ams@codesourcery.com>
555 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
557 2010-05-25 Jay Krell <jay.krell@cornell.edu>
560 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
561 * Makefile.in: Regenerate.
563 2010-05-24 Tristan Gingold <gingold@adacore.com>
565 * readelf.c (usage): Add new trace sections for --debug-dump.
566 (process_section_headers): Handle dump of trace sections.
567 * objdump.c (usage): Add new trace sections for --dwarf.
568 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
569 (do_trace_aranges): Ditto.
570 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
571 and trace_aranges literals.
572 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
573 (do_trace_aranges): Ditto.
574 (process_debug_info): Add abbrev_sec argument and replace
575 abbrev with abbrev_sec.
576 (load_debug_info): Adjust call of process_debug_info.
577 (display_debug_info): Ditto.
578 (display_trace_info): New function.
579 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
580 and trace_aranges sections name.
581 (dwarf_select_sections_all): Also select trace sections.
582 (debug_displays): Reindent. Add entries for the trace sections.
583 * doc/binutils.texi (readelf): Document new --dwarf parameters.
586 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
589 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
592 2010-05-07 Tristan Gingold <gingold@adacore.com>
594 * Makefile.in: Regenerate with automake 1.11.1.
596 * doc/Makefile.in: Ditto.
598 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
600 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
601 * readelf.c (get_elf_section_flags): Likewise.
602 (process_section_headers): Likewise.
604 2010-05-05 Nick Clifton <nickc@redhat.com>
606 * po/es.po: Updated Spanish translation.
608 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
610 * dlltool.c (main): Query for bfd's underscoring default for
613 2010-04-27 Nick Clifton <nickc@redhat.com>
615 * po/ru.po: Updated Russian translation.
617 2010-04-23 Alan Modra <amodra@gmail.com>
619 * readelf.c (process_program_headers): Replace use of
620 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
622 2010-04-22 Nick Clifton <nickc@redhat.com>
624 * po/binutils.pot: Updated by the Translation project.
625 * po/fi.po: Updated Finnish translation.
626 * po/vi.po: Updated Vietnamese translation.
627 * po/bg.po: New Bulgarian translation.
628 * configure.in (ALL_LINGUAS): Add bg.
629 * configure: Regenerate.
631 2010-04-20 Nick Clifton <nickc@redhat.com>
633 * po/fr.po: Updated french translation.
635 2010-04-20 Nick Clifton <nickc@redhat.com>
637 * readelf.c: Add _() macros to constant strings that are
640 * readelf.c (display_mips_gnu_attribute): Replace GCC options
641 with a textual description of single and double precision float.
643 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
645 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
646 (arm_attr_tag_ABI_align8_needed): Remove.
647 (arm_attr_tag_ABI_align8_preserved): Remove.
648 (arm_attr_tag_ABI_HardFP_use): Update text strings.
649 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
650 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
652 2010-04-13 Nick Clifton <nickc@redhat.com>
655 * dwarf.c (process_debug_info): Initialise the signature array.
657 2010-04-09 Nick Clifton <nickc@redhat.com>
659 * dwarf.c (process_debug_info): Remove unused variable
660 cu_abbrev_offset_ptr.
661 (display_debug_lines_decoded): Remove unused variable prev_line.
662 * elfedit.c (process_archive): Remove unused variable
664 * ieee.c (ieee_start_compilation_unit): Remove unused variable
666 (ieee_set_type): Remove unused variables info, targetindx and
668 * objdump.c (disassmble_byte): Remove unused variable done_dot.
669 * rddbg.c (read_section_stabs_debugging_info): Remove unused
671 * readelf.c (dump_section_as_strings): Remove unused variable
673 (process_archive): Remove unused variable file_name_size.
674 * stabs.c (parse_stab_string): Mark desc parameter as unused.
675 Remove unused variable lineno.
676 (parse_stab_struct_type): Remove unused variable orig.
677 (stab_demangle_type): Remove unused variables constp, volatilep
680 2010-04-07 Alan Modra <amodra@gmail.com>
682 * configure: Regenerate.
684 2010-04-06 Nick Clifton <nickc@redhat.com>
686 * po/vi.po: Updated Vietnamese translation.
688 2010-04-05 Jakub Jelinek <jakub@redhat.com>
690 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
692 (display_debug_frames): Handle CIE version 4.
694 * dwarf.c (struct State_Machine_Registers): Add op_index field,
695 change end_sequence type to unsigned char.
696 (reset_state_machine): Clear op_index.
697 (process_extended_line_op): For DW_LNE_set_address clear op_index.
698 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
699 Track op_index state machine register and print it if
700 li_max_ops_per_insn is != 1.
701 (display_debug_lines_decoded): Likewise.
703 2010-04-01 Jakub Jelinek <jakub@redhat.com>
705 * dwarf.c (read_and_display_attr_value): Don't reject
706 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
708 (process_debug_info): Handle cu_version == 4.
709 (display_debug_lines_raw, display_debug_lines_decoded): Handle
712 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
714 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
715 * Makefile.in: Regenerate.
717 2010-03-25 Joseph Myers <joseph@codesourcery.com>
719 * MAINTAINERS: Add self as TI C6X maintainer.
720 * NEWS: Add news entry for TI C6X support.
721 * readelf.c: Include elf/tic6x.h.
722 (guess_is_rela): Handle EM_TI_C6000.
723 (dump_relocations): Likewise.
724 (get_tic6x_dynamic_type): New.
725 (get_dynamic_type): Call it.
726 (get_machine_flags): Handle EF_C6000_REL.
727 (get_osabi_name): Handle machine-specific values only for relevant
728 machines. Handle C6X values.
729 (get_tic6x_segment_type): New.
730 (get_segment_type): Call it.
731 (get_tic6x_section_type_name): New.
732 (get_section_type_name): Call it.
733 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
736 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
738 * doc/binutils.texi (readelf) <unwind information>: Mention support for
741 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
743 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
745 2010-03-17 Alan Modra <amodra@gmail.com>
747 * readelf.c (dump_arm_unwind): Warning fix.
749 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
751 * MAINTAINERS: Update my email address. List Tristan Gingold
752 as the release branch maintainer.
754 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
756 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
758 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
760 * NEWS: Document .ARM.exidx / .ARM.extab support.
762 * dwarf.c (read_leb128): Make non-static.
763 * dwarf.h (read_leb128): Declare.
764 * readelf.c (REMOVE_ARCH_BITS): Define.
765 (find_section_by_address): New.
766 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
767 (find_symbol_for_address): Handle the Thumb bit for ARM, by
768 using REMOVE_ARCH_BITS.
769 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
770 (arm_free_section, arm_section_get_word, decode_arm_unwind)
771 (dump_arm_unwind, arm_process_unwind): New.
772 (process_unwind): Handle ARM.
774 2010-02-26 Jie Zhang <jie@codesourcery.com>
776 * MAINTAINERS: Update my email address.
778 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
781 * doc/binutils.texi (windmc): Fix synopsis and description of
784 2010-02-19 Alan Modra <amodra@gmail.com>
786 * readelf.c (get_group_flags): Return empty string when flags zero.
787 Add space in other returned values.
788 (process_section_groups): Adjust format string.
790 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
792 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
793 newly permitted attribute values.
794 (arm_attr_tag_Virtualization_use): Likewise.
795 (arm_attr_tag_DIV_use): Add description of new attribute.
796 (arm_attr_tag_MPextension_use_legacy): Likewise.
798 2010-02-15 Nick Clifton <nickc@redhat.com>
800 * po/vi.po: Updated Vietnamese translation.
802 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
804 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
805 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
807 2010-02-08 Jim Blandy <jimb@red-bean.com>
809 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
810 'z' augmentation strings.
812 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
814 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
815 a new address, so as not to reuse a previous, non-related reloc.
817 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
819 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
821 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
823 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
826 2010-01-28 Nick Clifton <nickc@redhat.com>
829 * objdump.c (only): Replace with linked list.
830 (only_size, only_used): Replace with only_list.
831 (process_section_p): Set seen field on matches sections.
832 (add_only): New function.
833 (free_only_list): New function.
834 (disassemble_section): Check only_list.
835 (main): Use add_only and free_only_list.
837 2010-01-26 Tristan Gingold <gingold@adacore.com>
839 * Makefile.am (bin2c): Add libintl dependance and library.
840 * Makefile.in: Regenerate.
842 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
844 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
846 2010-01-19 Ian Lance Taylor <iant@google.com>
848 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
849 with non-ordinary files like /dev/null.
851 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
852 Alan Modra <amodra@gmail.com>
854 * readelf.c (process_file_header): Handle e_phnum extension.
856 2010-01-14 Tristan Gingold <gingold@adacore.com>
858 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
859 and DW_AT_GNAT_descriptive_type.
861 2010-01-13 Tristan Gingold <gingold@adacore.com>
863 * ar.c (main): Use lbasename.
865 * objdump.c (update_source_path): Ditto.
867 2010-01-12 Tristan Gingold <gingold@adacore.com>
869 * makefile.vms (CFLAGS): Turns warnings into informational messages.
871 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
874 * NEWS: Mention --dyn-syms for readelf.
876 * readelf.c (do_dyn_syms): New.
877 (OPTION_DYN_SYMS): Likewise.
878 (options): Add "dyn-syms".
879 (usage): Add --dyn-syms.
880 (parse_args): Handle OPTION_DYN_SYMS.
881 (process_symbol_table): Handle do_dyn_syms.
882 (process_object): Likewise.
883 (process_archive): Likewise.
885 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
886 symbol hash tables for -D.
888 2010-01-11 Nick Clifton <nickc@redhat.com>
890 * NEWS: Mention addition of elfedit.
892 * po/fi.po: Updated Finnish translation.
894 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
896 * Makefile.in: Regenerate.
897 * configure: Regenerate.
898 * doc/Makefile.in: Regenerate.
900 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
902 * version.c (print_version): Change to "Copyright 2010".
904 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
906 * elfedit.c (input_elf_type): New.
907 (output_elf_type): Likewise.
908 (elf_type): Likewise.
909 (update_elf_header): Support updating ELF file type.
910 (command_line_switch): Add OPTION_INPUT_TYPE and
913 (usage): Add --input-type and --output-type.
914 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
915 one of --output-mach and --output-type must be specified.
917 * doc/binutils.texi: Document --input-type and --output-type
920 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
922 * doc/binutils.texi: Fix a typo.
924 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
926 * elfedit.c (update_elf_header): Don't change input_elf_class
927 nor input_elf_machine if they are -1.
929 2010-01-08 Tristan Gingold <gingold@adacore.com>
931 * ar.c: Remove bfd_special_undocumented_glue prototype.
933 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
935 * elfedit.c (update_elf_header): Reformat.
937 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
939 * readelf.c (usage): Fix indent for --symbols.
941 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
943 * doc/binutils.texi: Replace -histogram with --histogram.
945 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
948 * Makefile.am (ELFEDIT_PROG): New.
949 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
950 (CFILES): Add elfedit.c.
951 (elfedit_DEPENDENCIES): New.
952 (elfedit_SOURCES): Likewise.
953 (elfedit_LDADD): Likewise.
954 * Makefile.in: Regenerated.
958 * doc/binutils.texi: Document elfedit.
960 * doc/Makefile.am (man_MANS): Add elfedit.1.
962 * doc/Makefile.in: Regenerated.
964 2010-01-06 Tristan Gingold <gingold@adacore.com>
966 * nm.c (usage): Remove extra blanks.
968 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
970 * objcopy.c: Update copyright.
971 * readelf.c: Likewise.
973 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
976 * objcopy.c (copy_object): Remove "Warning: " from error
979 2010-01-04 Nick Clifton <nickc@redhat.com>
982 * readelf.c (dump_section_as_strings): Use two separate
983 invocations of printf() in order to work around bugs in
984 the Solaris 8 implementation.
986 2010-01-04 Nick Clifton <nickc@redhat.com>
988 * po/ru.po: Updated Russian translation.
990 For older changes see ChangeLog-2009
996 version-control: never