1 2010-12-08 Arnaud Lacombe <lacombar@gmail.com>
3 * ar.c (main): Split ranlib path.
7 2010-12-03 Doug Evans <dje@google.com>
9 * dwarf.c: #include "bfd_stdint.h".
10 (do_gdb_index): New global.
11 (display_gdb_index): New function.
12 (dwarf_select_sections_by_names) Add "gdb_index".
13 (dwarf_select_sections_all): Set do_gdb_index.
14 (debug_displays): Add .gdb_index.
15 * dwarf.h (do_gdb_index): Declare.
16 * objdump.c (usage): Add gdb_index.
17 * readelf.c (usage): Add gdb_index.
18 (process_section_headers): Process ".gdb_index".
19 * doc/binutils.texi (readelf): Document gdb_index dump.
22 2010-12-01 Kai Tietz <kai.tietz@onevision.com>
25 * dlltool.c (dll_name_set_by_exp_name): New variable.
26 (def_name): Allow setting of dll_name by .def file.
27 (def_library): Likewise.
28 (main): Set dll_name_set_by_exp_name, if dll_name is
29 set indirect by exp_name.
31 2010-11-26 Alan Modra <amodra@gmail.com>
33 * dwarf.c (decode_location_expression, display_debug_frames): Move
34 code handling DW_EH_PE_pcrel into..
35 (get_encoded_value): ..here.
37 2010-11-26 Alan Modra <amodra@gmail.com>
41 2010-11-25 Alan Modra <amodra@gmail.com>
48 * po/zh_CN.po: Update.
50 2010-11-21 H.J. Lu <hongjiu.lu@intel.com>
54 * elfcomm.h: Likewise.
56 * Makefile.am (HFILES): Add elfcomm.h.
57 (CFILES): Add elfcomm.c.
59 (readelf_SOURCES): Add $(ELFLIBS).
60 (elfedit_SOURCES): Likewise.
61 (objdump_SOURCES): Likewise.
62 * Makefile.in: Regenerated.
64 * dwarf.c: Include "elfcomm.h".
66 (byte_get_little_endian): Likewise.
67 (byte_get_big_endian): Likewise.
68 (byte_get_signed): Likewise.
72 * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT.
73 (dwarf_size_type): Likewise.
75 (byte_get_signed): Likewise.
76 (byte_get_little_endian): Likewise.
77 (byte_get_big_endian): Likewise.
81 * elfedit.c: Include "elfcomm.h". Don't include "aout/ar.h".
82 Call error () instead of non_fatal ().
85 (const_strneq): Likewise.
86 (non_fatal): Likewise.
91 (byte_get_little_endian): Likewise.
92 (byte_get_big_endian): Likewise.
93 (byte_put_little_endian): Likewise.
94 (byte_put_big_endian): Likewise.
95 (adjust_relative_path): Likewise.
96 (archive_info): Likewise.
97 (setup_archive): Likewise.
98 (release_archive): Likewise.
99 (setup_nested_archive): Likewise.
100 (get_archive_member_name): Likewise.
101 (get_archive_member_name_at): Likewise.
102 (make_qualified_name): Likewise.
104 * objdump.c: Include "elfcomm.h".
106 * readelf.c: Include "elfcomm.h". Don't include "aout/ar.h".
108 (BYTE_GET_SIGNED): Removed.
111 (const_strneq): Likewise.
112 (byte_put): Likewise.
113 (byte_put_little_endian): Likewise.
114 (byte_put_big_endian): Likewise.
115 (adjust_relative_path): Likewise.
116 (archive_info): Likewise.
117 (setup_archive): Likewise.
118 (release_archive): Likewise.
119 (setup_nested_archive): Likewise.
120 (get_archive_member_name): Likewise.
121 (get_archive_member_name_at): Likewise.
122 (make_qualified_name): Likewise.
124 2010-11-18 Alan Modra <amodra@gmail.com>
127 * readelf.c (get_archive_member_name): Formatting. Properly
128 handle full size ar_name.
130 2010-11-17 Alan Modra <amodra@gmail.com>
132 * ar.c (print_contents): Don't internationalize strings without words.
133 * dwarf.c (process_extended_line_op): Likewise.
134 (process_debug_info): Likwise.
135 (display_debug_lines_raw): Likewise.
136 (display_debug_lines_decoded): Likewise.
137 (display_debug_abbrev): Likewise.
138 * readelf.c (process_file_header): Likewise.
140 (decode_arm_unwind): Likewise.
141 (process_mips_specific): Likewise.
142 * resrc.c (run_cmd): Likewise.
143 (rcparse_warning): Likewise.
144 * objdump.c (dump_headers): Don't print "Pg".
146 2010-11-16 Jorma Karvonen <karvonen.jorma@gmail.com>
148 * windmc.c: ,%s' -> `%s' in a number of strings.
150 2010-11-16 Jie Zhang <jie.zhang@analog.com>
152 * readelf.c (get_machine_flags): Deal with Blackfin specific flags.
154 2010-11-11 Mingming Sun <mingm.sun@gmail.com>
156 * readelf.c (get_machine_flags): Add loongson-3a.
158 2010-11-10 Nick Clifton <nickc@redhat.com>
160 * po/ja.po: Updated Japanese translation.
161 * po/fr.po: Updated French translation.
163 2010-11-08 Nick Clifton <nickc@redhat.com>
165 * po/ja.po: Updated Japanese translation.
167 2010-11-08 Alan Modra <amodra@gmail.com>
169 * objcopy.c (copy_main): No need to rename sections when compressing
172 2010-11-05 Alan Modra <amodra@gmail.com>
174 * bin2c.c: Remove internationalization and version report.
175 * Makefile.am: Update bin2c rule.
176 * Makefile.in: Regenerate.
178 2010-11-05 Tristan Gingold <gingold@adacore.com>
180 * po/binutils.pot: Regenerate
182 2010-11-05 Tristan Gingold <gingold@adacore.com>
184 * NEWS: Add marker for 2.21.
186 2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
188 * objdump.c (dump_bfd_header): Don't display
189 BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
191 2010-11-02 Joseph Myers <joseph@codesourcery.com>
193 * readelf.c (display_tic6x_attribute): Handle more attributes.
195 2010-10-30 Kai Tietz <kai.tietz@onevision.com>
197 * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
200 2010-10-29 Joseph Myers <joseph@codesourcery.com>
202 * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
203 not hardcoded 32. Display name of this attribute.
205 2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
207 * addr2line.c (process_file): Set BFD_DECOMPRESS.
209 * objcopy.c (do_debug_sections): New.
210 (OPTION_COMPRESS_DEBUG_SECTIONS): New.
211 (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
212 (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
213 OPTION_DECOMPRESS_DEBUG_SECTIONS.
214 (copy_usage): Add --compress-debug-sections and
215 --decompress-debug-sections.
216 (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
217 (copy_section): Replace bfd_get_section_contents with
218 bfd_get_full_section_contents.
219 (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
220 OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to
221 rename DWARF debug sections.
223 * objdump.c (load_specific_debug_section): Replace
224 bfd_get_section_contents with bfd_get_full_section_contents.
225 Remove bfd_uncompress_section_contents.
226 (dump_section): Replace bfd_get_section_contents with
227 bfd_get_full_section_contents.
228 (display_file): Set BFD_DECOMPRESS if needed.
230 * readelf.c (uncompress_section_contents): Set buffer to NULL
231 to indiate decompression failure.
232 (load_specific_debug_section): Always call
233 uncompress_section_contents.
235 * doc/binutils.texi: Document --compress-debug-sections and
236 --decompress-debug-sections.
238 2010-10-29 Nick Clifton <nickc@redhat.com>
241 * ar.c (usage): Revert previous change. Describe how 's' can be
242 used as a command letter.
243 * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
246 2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
247 Joseph Myers <joseph@codesourcery.com>
249 * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
251 2010-10-28 Nick Clifton <nickc@redhat.com>
254 * ar.c (usage): Remove spurious 's' from list of accepted command
257 2010-10-28 Alan Modra <amodra@gmail.com>
259 * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
260 (is_32bit_pcrel_reloc): Support microblaze.
262 2010-10-26 Nick Clifton <nickc@redhat.com>
264 * po/ja.po: Updated Japanese transaltion.
266 2010-10-21 Joseph Myers <joseph@codesourcery.com>
268 * readelf.c (display_tic6x_attribute): Update for attribute
271 2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
273 * dwarf.c (byte_get_signed): Make it extern.
275 * dwarf.h (byte_get_signed): New.
277 * readelf.c (BYTE_GET_SIGNED): New.
278 (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
279 (dump_relocations): Properly dump r_addend.
281 2010-10-08 Joseph Myers <joseph@codesourcery.com>
283 * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
284 (set_print_radix): Update for __MSVCRT__ definition of
287 2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
289 Fix build with -DDEBUG=7
290 * nlmheader.y (DEBUG token): Rename to DEBUG_K.
292 2010-10-06 Alan Modra <amodra@gmail.com>
294 * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
296 2010-10-05 Alan Modra <amodra@gmail.com>
298 * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
299 (bfd_nonfatal_message, report, list_matching_formats): Likewise.
300 (list_supported_targets): Tidy.
301 * objdump.c (free_only_list): Formatting.
302 (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
304 (update_source_path): Delete redundant check for NULL filename.
305 (disassemble_bytes): Error if disassemble_fn returns a value
306 that won't increment address.
307 (disassemble_data): Don't capitalize error message.
308 (read_section_stabs): Likewise.
309 (main): Return non-zero exit status on bad options.
311 2010-10-03 H.J. Lu <hongjiu.lu@intel.com>
314 * nm.c (plugin_target): New.
315 (main): Set plugin_target to "plugin" for --plugin.
316 (display_file): Pass plugin_target to bfd_openr if target
319 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
321 * configure: Regenerate.
323 2010-09-22 Mike Frysinger <vapier@gentoo.org>
325 * MAINTAINERS: Add self as ADI Blackfin maintainer.
327 2010-09-17 H.J. Lu <hongjiu.lu@intel.com>
329 * emul_aix.c (ar_emul_aix_append): Add a target argument
330 and ignore it if it is set.
331 (ar_emul_aix5_append): Likewise.
332 (ar_emul_aix_replace): Likewise.
333 (ar_emul_aix5_replace): Likewise.
335 2010-09-15 H.J. Lu <hongjiu.lu@intel.com>
337 * ar.c (plugin_target): New.
338 (main): Set plugin_target to "plugin" for --plugin.
339 (open_inarch): Initialize target to plugin_target.
340 (replace_members): Pass plugin_target to ar_emul_replace
343 * binemul.h (ar_emul_append): Add a target argument.
344 (ar_emul_default_append): Likewise.
345 (ar_emul_replace): Likewise.
346 (ar_emul_default_replace): Likewise.
347 (bin_emulation_xfer_struct): Add a target argument to
348 ar_append and ar_replace.
350 * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr.
351 (do_ar_emul_default_append): Likewise.
352 (ar_emul_default_append): Likewise.
353 (ar_emul_replace): Likewise.
354 (ar_emul_default_replace): Likewise.
356 2010-09-10 Ben Gardiner <bengardiner@nanometrics.ca>
358 * objcopy.c: Add --interleave-width option to allow interleaving
359 of more than one byte at a time.
360 (copy_width): New variable.
361 (copy_options): Add --interleave-width.
362 (copy_section): When interleaving copy in units of copy_width
364 (copy_main): Parse the new option.
365 * doc/binutils: Document the new option.
366 * NEWS: Mention the new feature.
368 2010-09-09 Jakub Jelinek <jakub@redhat.com>
370 * dwarf.c (decode_location_expression): Fix data adjustment
371 for DW_OP_GNU_implicit_pointer in v3+.
373 2010-09-09 Tristan Gingold <gingold@adacore.com>
375 * NEWS: Add entry to NEWS for hppa/som.
377 2010-09-09 Jakub Jelinek <jakub@redhat.com>
379 * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
380 * dwarf.c (decode_location_expression): Add offset_size and
381 dwarf_version arguments. Prefix DIE offset with 0x for
382 DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
383 complain if in frame info section. Handle
384 DW_OP_GNU_implicit_pointer.
385 (read_and_display_attr_value, display_debug_loc,
386 display_debug_frames): Adjust decode_location_expression callers.
387 (process_debug_info): Save offset_size and dwarf_version values
388 into debug_information array.
390 2010-09-07 Nick Clifton <nickc@redhat.com>
392 * readelf.c (process_section_headers): Mention meaning of 'l'
393 section flag for x86-64 targets.
395 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
396 Jakub Jelinek <jakub@redhat.com>
398 * dwarf.c (regname): New declaration.
399 (decode_location_expression): Print for registers also regname output.
401 2010-09-02 Richard Henderson <rth@redhat.com>
403 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
404 (init_dwarf_regnames): Use them.
405 * dwarf.h: Declare them.
406 * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
407 the regnames, rather than using elf_machine_code.
409 2010-09-02 Richard Henderson <rth@redhat.com>
411 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
413 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
415 * elfedit.c (input_elf_osabi): New.
416 (output_elf_osbi): Likewise.
418 (elf_osabi): Likewise.
419 (update_elf_header): Support updating ELF OSABI.
420 (make_qualified_name): Break long line.
421 (command_line_switch): Add OPTION_INPUT_OSABI and
424 (usage): Add --input-osabi and --output-osabi.
425 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
427 * doc/binutils.texi: Document --input-osabi and --output-osabi
430 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
432 * readelf.c (display_mips_gnu_attribute): Replace GCC options
433 with a textual description of a MIPS32r2 64-bit FPU.
435 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
438 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
440 (get_64bit_elf_symbols): Likewise.
441 (process_symbol_table): Likewise.
442 (process_section_groups): Check for corrupt headers.
443 (process_version_sections): Check for corrupt indicies.
444 (process_corefile_note_segment): Likewise.
446 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
448 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
451 2010-08-13 Tom Tromey <tromey@redhat.com>
453 * dwarf.c (process_debug_info): Don't subtract section address
454 when calculating location of cu abbrev within section.
456 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
459 * readelf.c (get_archive_member_name): Do not read beyond the end
460 of the ar_name field.
462 2010-08-03 Tristan Gingold <gingold@adacore.com>
464 * dwarf.c (display_debug_lines): Mark file argument unused.
465 Do not try to load .debug_info section.
467 2010-08-02 Alan Modra <amodra@gmail.com>
469 * readelf.c (apply_relocations): D30V is really REL.
471 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
472 Ina Pandit <ina.pandit@kpitcummins.com>
474 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
476 2010-07-22 Alan Modra <amodra@gmail.com>
478 * readelf.c: Add Moxie support.
480 2010-07-20 Alan Modra <amodra@gmail.com>
482 * readelf.c (process_program_headers): Don't ignore all zero size
485 2010-07-19 Andreas Schwab <schwab@redhat.com>
487 * readelf.c (process_section_headers): Update key to flags.
489 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
491 * objcopy.c (copy_usage): Tweak previous typofix.
493 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
495 * objcopy.c (copy_usage): Fix a typo.
497 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
499 * dllwrap.c (main): Make sure is_leading_underscore
500 gets initialized with correct default.
502 2010-07-05 Alan Modra <amodra@gmail.com>
504 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
506 2010-07-03 Cary Coutant <ccoutant@google.com>
508 * objdump.c (load_specific_debug_section): Decompress section contents
509 before applying relocations.
510 * readelf.c (load_specific_debug_section): Update section size after
513 2010-06-29 Alan Modra <amodra@gmail.com>
516 * objcopy.c (is_strip_section): Revert 2006-09-05.
517 (setup_section): Make SHT_GROUP section nobits.
519 2010-06-29 Alan Modra <amodra@gmail.com>
521 * configure: Regenerate.
522 * po/POTFILES.in: Regenerate.
524 2010-06-27 Alan Modra <amodra@gmail.com>
526 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
528 2010-06-17 Nick Clifton <nickc@redhat.com>
531 * windres.c (enum option_values): New enum.
532 (long_options): Use separate option number for --include-dir
534 (main): Separate backwards compatibility check from code to
535 implement --include-dir. Check to see if directory exists and do
536 not complain if it does.
538 2010-06-15 Joseph Myers <joseph@codesourcery.com>
540 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
542 (process_arch_specific): Call process_tic6x_specific for
545 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
547 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
550 2010-06-11 Tristan Gingold <gingold@adacore.com>
551 Doug Rupp <rupp@gnat.com>
553 * readelf.c (is_ia64_vms): New function.
554 (dump_relocations): Use it.
555 (get_machine_flags): Display IA-64 OpenVMS flags.
556 (process_program_headers): No error on OpenVMS if no .dynamic section.
557 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
559 (dump_ia64_vms_dynamic_fixups): New function.
560 (dump_ia64_vms_dynamic_relocs): Ditto.
561 (process_ia64_vms_dynamic_relocs): Ditto.
562 (process_relocs): Handle IA-64 OpenVMS relocs.
563 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
564 (print_vms_time): New function.
565 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
566 DT_IA_64_VMS_LNKFLAGS.
567 (get_ia64_symbol_other): New function.
568 (get_symbol_other): Handle EM_IA_64.
570 2010-06-11 Tristan Gingold <gingold@adacore.com>
572 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
573 (UNW_DEC_ABI): Ditto for abiname.
574 (unw_decode_table): Make it const.
576 2010-06-10 Tristan Gingold <gingold@adacore.com>
578 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
581 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
582 Joseph Myers <joseph@codesourcery.com>
583 Andrew Stubbs <ams@codesourcery.com>
585 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
587 2010-05-25 Jay Krell <jay.krell@cornell.edu>
590 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
591 * Makefile.in: Regenerate.
593 2010-05-24 Tristan Gingold <gingold@adacore.com>
595 * readelf.c (usage): Add new trace sections for --debug-dump.
596 (process_section_headers): Handle dump of trace sections.
597 * objdump.c (usage): Add new trace sections for --dwarf.
598 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
599 (do_trace_aranges): Ditto.
600 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
601 and trace_aranges literals.
602 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
603 (do_trace_aranges): Ditto.
604 (process_debug_info): Add abbrev_sec argument and replace
605 abbrev with abbrev_sec.
606 (load_debug_info): Adjust call of process_debug_info.
607 (display_debug_info): Ditto.
608 (display_trace_info): New function.
609 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
610 and trace_aranges sections name.
611 (dwarf_select_sections_all): Also select trace sections.
612 (debug_displays): Reindent. Add entries for the trace sections.
613 * doc/binutils.texi (readelf): Document new --dwarf parameters.
616 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
619 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
622 2010-05-07 Tristan Gingold <gingold@adacore.com>
624 * Makefile.in: Regenerate with automake 1.11.1.
626 * doc/Makefile.in: Ditto.
628 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
630 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
631 * readelf.c (get_elf_section_flags): Likewise.
632 (process_section_headers): Likewise.
634 2010-05-05 Nick Clifton <nickc@redhat.com>
636 * po/es.po: Updated Spanish translation.
638 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
640 * dlltool.c (main): Query for bfd's underscoring default for
643 2010-04-27 Nick Clifton <nickc@redhat.com>
645 * po/ru.po: Updated Russian translation.
647 2010-04-23 Alan Modra <amodra@gmail.com>
649 * readelf.c (process_program_headers): Replace use of
650 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
652 2010-04-22 Nick Clifton <nickc@redhat.com>
654 * po/binutils.pot: Updated by the Translation project.
655 * po/fi.po: Updated Finnish translation.
656 * po/vi.po: Updated Vietnamese translation.
657 * po/bg.po: New Bulgarian translation.
658 * configure.in (ALL_LINGUAS): Add bg.
659 * configure: Regenerate.
661 2010-04-20 Nick Clifton <nickc@redhat.com>
663 * po/fr.po: Updated french translation.
665 2010-04-20 Nick Clifton <nickc@redhat.com>
667 * readelf.c: Add _() macros to constant strings that are
670 * readelf.c (display_mips_gnu_attribute): Replace GCC options
671 with a textual description of single and double precision float.
673 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
675 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
676 (arm_attr_tag_ABI_align8_needed): Remove.
677 (arm_attr_tag_ABI_align8_preserved): Remove.
678 (arm_attr_tag_ABI_HardFP_use): Update text strings.
679 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
680 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
682 2010-04-13 Nick Clifton <nickc@redhat.com>
685 * dwarf.c (process_debug_info): Initialise the signature array.
687 2010-04-09 Nick Clifton <nickc@redhat.com>
689 * dwarf.c (process_debug_info): Remove unused variable
690 cu_abbrev_offset_ptr.
691 (display_debug_lines_decoded): Remove unused variable prev_line.
692 * elfedit.c (process_archive): Remove unused variable
694 * ieee.c (ieee_start_compilation_unit): Remove unused variable
696 (ieee_set_type): Remove unused variables info, targetindx and
698 * objdump.c (disassmble_byte): Remove unused variable done_dot.
699 * rddbg.c (read_section_stabs_debugging_info): Remove unused
701 * readelf.c (dump_section_as_strings): Remove unused variable
703 (process_archive): Remove unused variable file_name_size.
704 * stabs.c (parse_stab_string): Mark desc parameter as unused.
705 Remove unused variable lineno.
706 (parse_stab_struct_type): Remove unused variable orig.
707 (stab_demangle_type): Remove unused variables constp, volatilep
710 2010-04-07 Alan Modra <amodra@gmail.com>
712 * configure: Regenerate.
714 2010-04-06 Nick Clifton <nickc@redhat.com>
716 * po/vi.po: Updated Vietnamese translation.
718 2010-04-05 Jakub Jelinek <jakub@redhat.com>
720 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
722 (display_debug_frames): Handle CIE version 4.
724 * dwarf.c (struct State_Machine_Registers): Add op_index field,
725 change end_sequence type to unsigned char.
726 (reset_state_machine): Clear op_index.
727 (process_extended_line_op): For DW_LNE_set_address clear op_index.
728 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
729 Track op_index state machine register and print it if
730 li_max_ops_per_insn is != 1.
731 (display_debug_lines_decoded): Likewise.
733 2010-04-01 Jakub Jelinek <jakub@redhat.com>
735 * dwarf.c (read_and_display_attr_value): Don't reject
736 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
738 (process_debug_info): Handle cu_version == 4.
739 (display_debug_lines_raw, display_debug_lines_decoded): Handle
742 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
744 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
745 * Makefile.in: Regenerate.
747 2010-03-25 Joseph Myers <joseph@codesourcery.com>
749 * MAINTAINERS: Add self as TI C6X maintainer.
750 * NEWS: Add news entry for TI C6X support.
751 * readelf.c: Include elf/tic6x.h.
752 (guess_is_rela): Handle EM_TI_C6000.
753 (dump_relocations): Likewise.
754 (get_tic6x_dynamic_type): New.
755 (get_dynamic_type): Call it.
756 (get_machine_flags): Handle EF_C6000_REL.
757 (get_osabi_name): Handle machine-specific values only for relevant
758 machines. Handle C6X values.
759 (get_tic6x_segment_type): New.
760 (get_segment_type): Call it.
761 (get_tic6x_section_type_name): New.
762 (get_section_type_name): Call it.
763 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
766 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
768 * doc/binutils.texi (readelf) <unwind information>: Mention support for
771 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
773 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
775 2010-03-17 Alan Modra <amodra@gmail.com>
777 * readelf.c (dump_arm_unwind): Warning fix.
779 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
781 * MAINTAINERS: Update my email address. List Tristan Gingold
782 as the release branch maintainer.
784 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
786 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
788 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
790 * NEWS: Document .ARM.exidx / .ARM.extab support.
792 * dwarf.c (read_leb128): Make non-static.
793 * dwarf.h (read_leb128): Declare.
794 * readelf.c (REMOVE_ARCH_BITS): Define.
795 (find_section_by_address): New.
796 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
797 (find_symbol_for_address): Handle the Thumb bit for ARM, by
798 using REMOVE_ARCH_BITS.
799 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
800 (arm_free_section, arm_section_get_word, decode_arm_unwind)
801 (dump_arm_unwind, arm_process_unwind): New.
802 (process_unwind): Handle ARM.
804 2010-02-26 Jie Zhang <jie@codesourcery.com>
806 * MAINTAINERS: Update my email address.
808 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
811 * doc/binutils.texi (windmc): Fix synopsis and description of
814 2010-02-19 Alan Modra <amodra@gmail.com>
816 * readelf.c (get_group_flags): Return empty string when flags zero.
817 Add space in other returned values.
818 (process_section_groups): Adjust format string.
820 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
822 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
823 newly permitted attribute values.
824 (arm_attr_tag_Virtualization_use): Likewise.
825 (arm_attr_tag_DIV_use): Add description of new attribute.
826 (arm_attr_tag_MPextension_use_legacy): Likewise.
828 2010-02-15 Nick Clifton <nickc@redhat.com>
830 * po/vi.po: Updated Vietnamese translation.
832 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
834 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
835 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
837 2010-02-08 Jim Blandy <jimb@red-bean.com>
839 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
840 'z' augmentation strings.
842 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
844 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
845 a new address, so as not to reuse a previous, non-related reloc.
847 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
849 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
851 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
853 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
856 2010-01-28 Nick Clifton <nickc@redhat.com>
859 * objdump.c (only): Replace with linked list.
860 (only_size, only_used): Replace with only_list.
861 (process_section_p): Set seen field on matches sections.
862 (add_only): New function.
863 (free_only_list): New function.
864 (disassemble_section): Check only_list.
865 (main): Use add_only and free_only_list.
867 2010-01-26 Tristan Gingold <gingold@adacore.com>
869 * Makefile.am (bin2c): Add libintl dependance and library.
870 * Makefile.in: Regenerate.
872 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
874 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
876 2010-01-19 Ian Lance Taylor <iant@google.com>
878 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
879 with non-ordinary files like /dev/null.
881 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
882 Alan Modra <amodra@gmail.com>
884 * readelf.c (process_file_header): Handle e_phnum extension.
886 2010-01-14 Tristan Gingold <gingold@adacore.com>
888 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
889 and DW_AT_GNAT_descriptive_type.
891 2010-01-13 Tristan Gingold <gingold@adacore.com>
893 * ar.c (main): Use lbasename.
895 * objdump.c (update_source_path): Ditto.
897 2010-01-12 Tristan Gingold <gingold@adacore.com>
899 * makefile.vms (CFLAGS): Turns warnings into informational messages.
901 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
904 * NEWS: Mention --dyn-syms for readelf.
906 * readelf.c (do_dyn_syms): New.
907 (OPTION_DYN_SYMS): Likewise.
908 (options): Add "dyn-syms".
909 (usage): Add --dyn-syms.
910 (parse_args): Handle OPTION_DYN_SYMS.
911 (process_symbol_table): Handle do_dyn_syms.
912 (process_object): Likewise.
913 (process_archive): Likewise.
915 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
916 symbol hash tables for -D.
918 2010-01-11 Nick Clifton <nickc@redhat.com>
920 * NEWS: Mention addition of elfedit.
922 * po/fi.po: Updated Finnish translation.
924 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
926 * Makefile.in: Regenerate.
927 * configure: Regenerate.
928 * doc/Makefile.in: Regenerate.
930 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
932 * version.c (print_version): Change to "Copyright 2010".
934 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
936 * elfedit.c (input_elf_type): New.
937 (output_elf_type): Likewise.
938 (elf_type): Likewise.
939 (update_elf_header): Support updating ELF file type.
940 (command_line_switch): Add OPTION_INPUT_TYPE and
943 (usage): Add --input-type and --output-type.
944 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
945 one of --output-mach and --output-type must be specified.
947 * doc/binutils.texi: Document --input-type and --output-type
950 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
952 * doc/binutils.texi: Fix a typo.
954 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
956 * elfedit.c (update_elf_header): Don't change input_elf_class
957 nor input_elf_machine if they are -1.
959 2010-01-08 Tristan Gingold <gingold@adacore.com>
961 * ar.c: Remove bfd_special_undocumented_glue prototype.
963 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
965 * elfedit.c (update_elf_header): Reformat.
967 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
969 * readelf.c (usage): Fix indent for --symbols.
971 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
973 * doc/binutils.texi: Replace -histogram with --histogram.
975 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
978 * Makefile.am (ELFEDIT_PROG): New.
979 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
980 (CFILES): Add elfedit.c.
981 (elfedit_DEPENDENCIES): New.
982 (elfedit_SOURCES): Likewise.
983 (elfedit_LDADD): Likewise.
984 * Makefile.in: Regenerated.
988 * doc/binutils.texi: Document elfedit.
990 * doc/Makefile.am (man_MANS): Add elfedit.1.
992 * doc/Makefile.in: Regenerated.
994 2010-01-06 Tristan Gingold <gingold@adacore.com>
996 * nm.c (usage): Remove extra blanks.
998 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
1000 * objcopy.c: Update copyright.
1001 * readelf.c: Likewise.
1003 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
1006 * objcopy.c (copy_object): Remove "Warning: " from error
1009 2010-01-04 Nick Clifton <nickc@redhat.com>
1012 * readelf.c (dump_section_as_strings): Use two separate
1013 invocations of printf() in order to work around bugs in
1014 the Solaris 8 implementation.
1016 2010-01-04 Nick Clifton <nickc@redhat.com>
1018 * po/ru.po: Updated Russian translation.
1020 For older changes see ChangeLog-2009
1026 version-control: never