1 2010-12-12 Peter Breitenlohner <peb@mppmu.mpg.de>
4 * doc/binutils.texi: Fix typos in elfedit documentation.
6 2010-12-10 Alan Modra <amodra@gmail.com>
8 * binemul.h (do_ar_emul_append): Declare.
9 * binemul.c (any_ok): New function.
10 (do_ar_emul_append): Rename from do_ar_emul_default_append. Make
11 global, add check arg. Adjust callers.
12 (ar_emul_default_replace): Tidy.
13 * configure.tgt (powerpc-*-aix[5-9]*,rs6000-*-aix[5-9]*): Use
15 * emul_aix.c (bin_aix5_emulation, ar_emul_aix_internal): Delete.
16 (ar_emul_aix5_append, ar_emul_aix5_replace): Delete.
17 (check_aix): New function.
18 (ar_emul_aix_append, ar_emul_aix_replace): Rewrite.
20 2010-12-09 Mike Frysinger <vapier@gentoo.org>
22 * .gitignore: New file.
24 2010-12-08 Alan Modra <amodra@gmail.com>
27 (usage): Correct help strings.
28 (decode_options): Correct getopt_long short options. Remove
29 duplicate non-handled option message.
30 (main): Don't handle -M specially.
32 2010-12-08 Arnaud Lacombe <lacombar@gmail.com>
34 * ar.c (long_options): Add target.
35 (decode_options): Handle the --target option.
36 (open_inarch): Check for plugin's target, default to --target
37 (replace_members): Use generic `target'.
39 * ar.c (operation): New global variable.
40 (show_version): Likewise.
41 (show_help): Likewise.
42 (long_options): Likewise.
43 (usage): Fix help string argument order.
44 (decode_options): New.
45 (ranlib_main): Use getopt_long.
46 (main): Use decode_options.
48 * ar.c (main): Split ranlib path.
52 2010-12-03 Doug Evans <dje@google.com>
54 * dwarf.c: #include "bfd_stdint.h".
55 (do_gdb_index): New global.
56 (display_gdb_index): New function.
57 (dwarf_select_sections_by_names) Add "gdb_index".
58 (dwarf_select_sections_all): Set do_gdb_index.
59 (debug_displays): Add .gdb_index.
60 * dwarf.h (do_gdb_index): Declare.
61 * objdump.c (usage): Add gdb_index.
62 * readelf.c (usage): Add gdb_index.
63 (process_section_headers): Process ".gdb_index".
64 * doc/binutils.texi (readelf): Document gdb_index dump.
67 2010-12-01 Kai Tietz <kai.tietz@onevision.com>
70 * dlltool.c (dll_name_set_by_exp_name): New variable.
71 (def_name): Allow setting of dll_name by .def file.
72 (def_library): Likewise.
73 (main): Set dll_name_set_by_exp_name, if dll_name is
74 set indirect by exp_name.
76 2010-11-26 Alan Modra <amodra@gmail.com>
78 * dwarf.c (decode_location_expression, display_debug_frames): Move
79 code handling DW_EH_PE_pcrel into..
80 (get_encoded_value): ..here.
82 2010-11-26 Alan Modra <amodra@gmail.com>
86 2010-11-25 Alan Modra <amodra@gmail.com>
93 * po/zh_CN.po: Update.
95 2010-11-21 H.J. Lu <hongjiu.lu@intel.com>
99 * elfcomm.h: Likewise.
101 * Makefile.am (HFILES): Add elfcomm.h.
102 (CFILES): Add elfcomm.c.
104 (readelf_SOURCES): Add $(ELFLIBS).
105 (elfedit_SOURCES): Likewise.
106 (objdump_SOURCES): Likewise.
107 * Makefile.in: Regenerated.
109 * dwarf.c: Include "elfcomm.h".
111 (byte_get_little_endian): Likewise.
112 (byte_get_big_endian): Likewise.
113 (byte_get_signed): Likewise.
117 * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT.
118 (dwarf_size_type): Likewise.
120 (byte_get_signed): Likewise.
121 (byte_get_little_endian): Likewise.
122 (byte_get_big_endian): Likewise.
126 * elfedit.c: Include "elfcomm.h". Don't include "aout/ar.h".
127 Call error () instead of non_fatal ().
130 (const_strneq): Likewise.
131 (non_fatal): Likewise.
132 (BYTE_GET): Likewise.
133 (BYTE_PUT): Likewise.
134 (byte_get): Likewise.
135 (byte_put): Likewise.
136 (byte_get_little_endian): Likewise.
137 (byte_get_big_endian): Likewise.
138 (byte_put_little_endian): Likewise.
139 (byte_put_big_endian): Likewise.
140 (adjust_relative_path): Likewise.
141 (archive_info): Likewise.
142 (setup_archive): Likewise.
143 (release_archive): Likewise.
144 (setup_nested_archive): Likewise.
145 (get_archive_member_name): Likewise.
146 (get_archive_member_name_at): Likewise.
147 (make_qualified_name): Likewise.
149 * objdump.c: Include "elfcomm.h".
151 * readelf.c: Include "elfcomm.h". Don't include "aout/ar.h".
153 (BYTE_GET_SIGNED): Removed.
156 (const_strneq): Likewise.
157 (byte_put): Likewise.
158 (byte_put_little_endian): Likewise.
159 (byte_put_big_endian): Likewise.
160 (adjust_relative_path): Likewise.
161 (archive_info): Likewise.
162 (setup_archive): Likewise.
163 (release_archive): Likewise.
164 (setup_nested_archive): Likewise.
165 (get_archive_member_name): Likewise.
166 (get_archive_member_name_at): Likewise.
167 (make_qualified_name): Likewise.
169 2010-11-18 Alan Modra <amodra@gmail.com>
172 * readelf.c (get_archive_member_name): Formatting. Properly
173 handle full size ar_name.
175 2010-11-17 Alan Modra <amodra@gmail.com>
177 * ar.c (print_contents): Don't internationalize strings without words.
178 * dwarf.c (process_extended_line_op): Likewise.
179 (process_debug_info): Likwise.
180 (display_debug_lines_raw): Likewise.
181 (display_debug_lines_decoded): Likewise.
182 (display_debug_abbrev): Likewise.
183 * readelf.c (process_file_header): Likewise.
185 (decode_arm_unwind): Likewise.
186 (process_mips_specific): Likewise.
187 * resrc.c (run_cmd): Likewise.
188 (rcparse_warning): Likewise.
189 * objdump.c (dump_headers): Don't print "Pg".
191 2010-11-16 Jorma Karvonen <karvonen.jorma@gmail.com>
193 * windmc.c: ,%s' -> `%s' in a number of strings.
195 2010-11-16 Jie Zhang <jie.zhang@analog.com>
197 * readelf.c (get_machine_flags): Deal with Blackfin specific flags.
199 2010-11-11 Mingming Sun <mingm.sun@gmail.com>
201 * readelf.c (get_machine_flags): Add loongson-3a.
203 2010-11-10 Nick Clifton <nickc@redhat.com>
205 * po/ja.po: Updated Japanese translation.
206 * po/fr.po: Updated French translation.
208 2010-11-08 Nick Clifton <nickc@redhat.com>
210 * po/ja.po: Updated Japanese translation.
212 2010-11-08 Alan Modra <amodra@gmail.com>
214 * objcopy.c (copy_main): No need to rename sections when compressing
217 2010-11-05 Alan Modra <amodra@gmail.com>
219 * bin2c.c: Remove internationalization and version report.
220 * Makefile.am: Update bin2c rule.
221 * Makefile.in: Regenerate.
223 2010-11-05 Tristan Gingold <gingold@adacore.com>
225 * po/binutils.pot: Regenerate
227 2010-11-05 Tristan Gingold <gingold@adacore.com>
229 * NEWS: Add marker for 2.21.
231 2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
233 * objdump.c (dump_bfd_header): Don't display
234 BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
236 2010-11-02 Joseph Myers <joseph@codesourcery.com>
238 * readelf.c (display_tic6x_attribute): Handle more attributes.
240 2010-10-30 Kai Tietz <kai.tietz@onevision.com>
242 * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
245 2010-10-29 Joseph Myers <joseph@codesourcery.com>
247 * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
248 not hardcoded 32. Display name of this attribute.
250 2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
252 * addr2line.c (process_file): Set BFD_DECOMPRESS.
254 * objcopy.c (do_debug_sections): New.
255 (OPTION_COMPRESS_DEBUG_SECTIONS): New.
256 (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
257 (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
258 OPTION_DECOMPRESS_DEBUG_SECTIONS.
259 (copy_usage): Add --compress-debug-sections and
260 --decompress-debug-sections.
261 (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
262 (copy_section): Replace bfd_get_section_contents with
263 bfd_get_full_section_contents.
264 (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
265 OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to
266 rename DWARF debug sections.
268 * objdump.c (load_specific_debug_section): Replace
269 bfd_get_section_contents with bfd_get_full_section_contents.
270 Remove bfd_uncompress_section_contents.
271 (dump_section): Replace bfd_get_section_contents with
272 bfd_get_full_section_contents.
273 (display_file): Set BFD_DECOMPRESS if needed.
275 * readelf.c (uncompress_section_contents): Set buffer to NULL
276 to indiate decompression failure.
277 (load_specific_debug_section): Always call
278 uncompress_section_contents.
280 * doc/binutils.texi: Document --compress-debug-sections and
281 --decompress-debug-sections.
283 2010-10-29 Nick Clifton <nickc@redhat.com>
286 * ar.c (usage): Revert previous change. Describe how 's' can be
287 used as a command letter.
288 * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
291 2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
292 Joseph Myers <joseph@codesourcery.com>
294 * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
296 2010-10-28 Nick Clifton <nickc@redhat.com>
299 * ar.c (usage): Remove spurious 's' from list of accepted command
302 2010-10-28 Alan Modra <amodra@gmail.com>
304 * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
305 (is_32bit_pcrel_reloc): Support microblaze.
307 2010-10-26 Nick Clifton <nickc@redhat.com>
309 * po/ja.po: Updated Japanese transaltion.
311 2010-10-21 Joseph Myers <joseph@codesourcery.com>
313 * readelf.c (display_tic6x_attribute): Update for attribute
316 2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
318 * dwarf.c (byte_get_signed): Make it extern.
320 * dwarf.h (byte_get_signed): New.
322 * readelf.c (BYTE_GET_SIGNED): New.
323 (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
324 (dump_relocations): Properly dump r_addend.
326 2010-10-08 Joseph Myers <joseph@codesourcery.com>
328 * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
329 (set_print_radix): Update for __MSVCRT__ definition of
332 2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
334 Fix build with -DDEBUG=7
335 * nlmheader.y (DEBUG token): Rename to DEBUG_K.
337 2010-10-06 Alan Modra <amodra@gmail.com>
339 * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
341 2010-10-05 Alan Modra <amodra@gmail.com>
343 * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
344 (bfd_nonfatal_message, report, list_matching_formats): Likewise.
345 (list_supported_targets): Tidy.
346 * objdump.c (free_only_list): Formatting.
347 (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
349 (update_source_path): Delete redundant check for NULL filename.
350 (disassemble_bytes): Error if disassemble_fn returns a value
351 that won't increment address.
352 (disassemble_data): Don't capitalize error message.
353 (read_section_stabs): Likewise.
354 (main): Return non-zero exit status on bad options.
356 2010-10-03 H.J. Lu <hongjiu.lu@intel.com>
359 * nm.c (plugin_target): New.
360 (main): Set plugin_target to "plugin" for --plugin.
361 (display_file): Pass plugin_target to bfd_openr if target
364 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
366 * configure: Regenerate.
368 2010-09-22 Mike Frysinger <vapier@gentoo.org>
370 * MAINTAINERS: Add self as ADI Blackfin maintainer.
372 2010-09-17 H.J. Lu <hongjiu.lu@intel.com>
374 * emul_aix.c (ar_emul_aix_append): Add a target argument
375 and ignore it if it is set.
376 (ar_emul_aix5_append): Likewise.
377 (ar_emul_aix_replace): Likewise.
378 (ar_emul_aix5_replace): Likewise.
380 2010-09-15 H.J. Lu <hongjiu.lu@intel.com>
382 * ar.c (plugin_target): New.
383 (main): Set plugin_target to "plugin" for --plugin.
384 (open_inarch): Initialize target to plugin_target.
385 (replace_members): Pass plugin_target to ar_emul_replace
388 * binemul.h (ar_emul_append): Add a target argument.
389 (ar_emul_default_append): Likewise.
390 (ar_emul_replace): Likewise.
391 (ar_emul_default_replace): Likewise.
392 (bin_emulation_xfer_struct): Add a target argument to
393 ar_append and ar_replace.
395 * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr.
396 (do_ar_emul_default_append): Likewise.
397 (ar_emul_default_append): Likewise.
398 (ar_emul_replace): Likewise.
399 (ar_emul_default_replace): Likewise.
401 2010-09-10 Ben Gardiner <bengardiner@nanometrics.ca>
403 * objcopy.c: Add --interleave-width option to allow interleaving
404 of more than one byte at a time.
405 (copy_width): New variable.
406 (copy_options): Add --interleave-width.
407 (copy_section): When interleaving copy in units of copy_width
409 (copy_main): Parse the new option.
410 * doc/binutils: Document the new option.
411 * NEWS: Mention the new feature.
413 2010-09-09 Jakub Jelinek <jakub@redhat.com>
415 * dwarf.c (decode_location_expression): Fix data adjustment
416 for DW_OP_GNU_implicit_pointer in v3+.
418 2010-09-09 Tristan Gingold <gingold@adacore.com>
420 * NEWS: Add entry to NEWS for hppa/som.
422 2010-09-09 Jakub Jelinek <jakub@redhat.com>
424 * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
425 * dwarf.c (decode_location_expression): Add offset_size and
426 dwarf_version arguments. Prefix DIE offset with 0x for
427 DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
428 complain if in frame info section. Handle
429 DW_OP_GNU_implicit_pointer.
430 (read_and_display_attr_value, display_debug_loc,
431 display_debug_frames): Adjust decode_location_expression callers.
432 (process_debug_info): Save offset_size and dwarf_version values
433 into debug_information array.
435 2010-09-07 Nick Clifton <nickc@redhat.com>
437 * readelf.c (process_section_headers): Mention meaning of 'l'
438 section flag for x86-64 targets.
440 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
441 Jakub Jelinek <jakub@redhat.com>
443 * dwarf.c (regname): New declaration.
444 (decode_location_expression): Print for registers also regname output.
446 2010-09-02 Richard Henderson <rth@redhat.com>
448 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
449 (init_dwarf_regnames): Use them.
450 * dwarf.h: Declare them.
451 * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
452 the regnames, rather than using elf_machine_code.
454 2010-09-02 Richard Henderson <rth@redhat.com>
456 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
458 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
460 * elfedit.c (input_elf_osabi): New.
461 (output_elf_osbi): Likewise.
463 (elf_osabi): Likewise.
464 (update_elf_header): Support updating ELF OSABI.
465 (make_qualified_name): Break long line.
466 (command_line_switch): Add OPTION_INPUT_OSABI and
469 (usage): Add --input-osabi and --output-osabi.
470 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
472 * doc/binutils.texi: Document --input-osabi and --output-osabi
475 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
477 * readelf.c (display_mips_gnu_attribute): Replace GCC options
478 with a textual description of a MIPS32r2 64-bit FPU.
480 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
483 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
485 (get_64bit_elf_symbols): Likewise.
486 (process_symbol_table): Likewise.
487 (process_section_groups): Check for corrupt headers.
488 (process_version_sections): Check for corrupt indicies.
489 (process_corefile_note_segment): Likewise.
491 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
493 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
496 2010-08-13 Tom Tromey <tromey@redhat.com>
498 * dwarf.c (process_debug_info): Don't subtract section address
499 when calculating location of cu abbrev within section.
501 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
504 * readelf.c (get_archive_member_name): Do not read beyond the end
505 of the ar_name field.
507 2010-08-03 Tristan Gingold <gingold@adacore.com>
509 * dwarf.c (display_debug_lines): Mark file argument unused.
510 Do not try to load .debug_info section.
512 2010-08-02 Alan Modra <amodra@gmail.com>
514 * readelf.c (apply_relocations): D30V is really REL.
516 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
517 Ina Pandit <ina.pandit@kpitcummins.com>
519 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
521 2010-07-22 Alan Modra <amodra@gmail.com>
523 * readelf.c: Add Moxie support.
525 2010-07-20 Alan Modra <amodra@gmail.com>
527 * readelf.c (process_program_headers): Don't ignore all zero size
530 2010-07-19 Andreas Schwab <schwab@redhat.com>
532 * readelf.c (process_section_headers): Update key to flags.
534 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
536 * objcopy.c (copy_usage): Tweak previous typofix.
538 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
540 * objcopy.c (copy_usage): Fix a typo.
542 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
544 * dllwrap.c (main): Make sure is_leading_underscore
545 gets initialized with correct default.
547 2010-07-05 Alan Modra <amodra@gmail.com>
549 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
551 2010-07-03 Cary Coutant <ccoutant@google.com>
553 * objdump.c (load_specific_debug_section): Decompress section contents
554 before applying relocations.
555 * readelf.c (load_specific_debug_section): Update section size after
558 2010-06-29 Alan Modra <amodra@gmail.com>
561 * objcopy.c (is_strip_section): Revert 2006-09-05.
562 (setup_section): Make SHT_GROUP section nobits.
564 2010-06-29 Alan Modra <amodra@gmail.com>
566 * configure: Regenerate.
567 * po/POTFILES.in: Regenerate.
569 2010-06-27 Alan Modra <amodra@gmail.com>
571 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
573 2010-06-17 Nick Clifton <nickc@redhat.com>
576 * windres.c (enum option_values): New enum.
577 (long_options): Use separate option number for --include-dir
579 (main): Separate backwards compatibility check from code to
580 implement --include-dir. Check to see if directory exists and do
581 not complain if it does.
583 2010-06-15 Joseph Myers <joseph@codesourcery.com>
585 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
587 (process_arch_specific): Call process_tic6x_specific for
590 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
592 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
595 2010-06-11 Tristan Gingold <gingold@adacore.com>
596 Doug Rupp <rupp@gnat.com>
598 * readelf.c (is_ia64_vms): New function.
599 (dump_relocations): Use it.
600 (get_machine_flags): Display IA-64 OpenVMS flags.
601 (process_program_headers): No error on OpenVMS if no .dynamic section.
602 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
604 (dump_ia64_vms_dynamic_fixups): New function.
605 (dump_ia64_vms_dynamic_relocs): Ditto.
606 (process_ia64_vms_dynamic_relocs): Ditto.
607 (process_relocs): Handle IA-64 OpenVMS relocs.
608 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
609 (print_vms_time): New function.
610 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
611 DT_IA_64_VMS_LNKFLAGS.
612 (get_ia64_symbol_other): New function.
613 (get_symbol_other): Handle EM_IA_64.
615 2010-06-11 Tristan Gingold <gingold@adacore.com>
617 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
618 (UNW_DEC_ABI): Ditto for abiname.
619 (unw_decode_table): Make it const.
621 2010-06-10 Tristan Gingold <gingold@adacore.com>
623 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
626 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
627 Joseph Myers <joseph@codesourcery.com>
628 Andrew Stubbs <ams@codesourcery.com>
630 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
632 2010-05-25 Jay Krell <jay.krell@cornell.edu>
635 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
636 * Makefile.in: Regenerate.
638 2010-05-24 Tristan Gingold <gingold@adacore.com>
640 * readelf.c (usage): Add new trace sections for --debug-dump.
641 (process_section_headers): Handle dump of trace sections.
642 * objdump.c (usage): Add new trace sections for --dwarf.
643 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
644 (do_trace_aranges): Ditto.
645 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
646 and trace_aranges literals.
647 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
648 (do_trace_aranges): Ditto.
649 (process_debug_info): Add abbrev_sec argument and replace
650 abbrev with abbrev_sec.
651 (load_debug_info): Adjust call of process_debug_info.
652 (display_debug_info): Ditto.
653 (display_trace_info): New function.
654 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
655 and trace_aranges sections name.
656 (dwarf_select_sections_all): Also select trace sections.
657 (debug_displays): Reindent. Add entries for the trace sections.
658 * doc/binutils.texi (readelf): Document new --dwarf parameters.
661 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
664 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
667 2010-05-07 Tristan Gingold <gingold@adacore.com>
669 * Makefile.in: Regenerate with automake 1.11.1.
671 * doc/Makefile.in: Ditto.
673 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
675 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
676 * readelf.c (get_elf_section_flags): Likewise.
677 (process_section_headers): Likewise.
679 2010-05-05 Nick Clifton <nickc@redhat.com>
681 * po/es.po: Updated Spanish translation.
683 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
685 * dlltool.c (main): Query for bfd's underscoring default for
688 2010-04-27 Nick Clifton <nickc@redhat.com>
690 * po/ru.po: Updated Russian translation.
692 2010-04-23 Alan Modra <amodra@gmail.com>
694 * readelf.c (process_program_headers): Replace use of
695 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
697 2010-04-22 Nick Clifton <nickc@redhat.com>
699 * po/binutils.pot: Updated by the Translation project.
700 * po/fi.po: Updated Finnish translation.
701 * po/vi.po: Updated Vietnamese translation.
702 * po/bg.po: New Bulgarian translation.
703 * configure.in (ALL_LINGUAS): Add bg.
704 * configure: Regenerate.
706 2010-04-20 Nick Clifton <nickc@redhat.com>
708 * po/fr.po: Updated french translation.
710 2010-04-20 Nick Clifton <nickc@redhat.com>
712 * readelf.c: Add _() macros to constant strings that are
715 * readelf.c (display_mips_gnu_attribute): Replace GCC options
716 with a textual description of single and double precision float.
718 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
720 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
721 (arm_attr_tag_ABI_align8_needed): Remove.
722 (arm_attr_tag_ABI_align8_preserved): Remove.
723 (arm_attr_tag_ABI_HardFP_use): Update text strings.
724 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
725 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
727 2010-04-13 Nick Clifton <nickc@redhat.com>
730 * dwarf.c (process_debug_info): Initialise the signature array.
732 2010-04-09 Nick Clifton <nickc@redhat.com>
734 * dwarf.c (process_debug_info): Remove unused variable
735 cu_abbrev_offset_ptr.
736 (display_debug_lines_decoded): Remove unused variable prev_line.
737 * elfedit.c (process_archive): Remove unused variable
739 * ieee.c (ieee_start_compilation_unit): Remove unused variable
741 (ieee_set_type): Remove unused variables info, targetindx and
743 * objdump.c (disassmble_byte): Remove unused variable done_dot.
744 * rddbg.c (read_section_stabs_debugging_info): Remove unused
746 * readelf.c (dump_section_as_strings): Remove unused variable
748 (process_archive): Remove unused variable file_name_size.
749 * stabs.c (parse_stab_string): Mark desc parameter as unused.
750 Remove unused variable lineno.
751 (parse_stab_struct_type): Remove unused variable orig.
752 (stab_demangle_type): Remove unused variables constp, volatilep
755 2010-04-07 Alan Modra <amodra@gmail.com>
757 * configure: Regenerate.
759 2010-04-06 Nick Clifton <nickc@redhat.com>
761 * po/vi.po: Updated Vietnamese translation.
763 2010-04-05 Jakub Jelinek <jakub@redhat.com>
765 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
767 (display_debug_frames): Handle CIE version 4.
769 * dwarf.c (struct State_Machine_Registers): Add op_index field,
770 change end_sequence type to unsigned char.
771 (reset_state_machine): Clear op_index.
772 (process_extended_line_op): For DW_LNE_set_address clear op_index.
773 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
774 Track op_index state machine register and print it if
775 li_max_ops_per_insn is != 1.
776 (display_debug_lines_decoded): Likewise.
778 2010-04-01 Jakub Jelinek <jakub@redhat.com>
780 * dwarf.c (read_and_display_attr_value): Don't reject
781 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
783 (process_debug_info): Handle cu_version == 4.
784 (display_debug_lines_raw, display_debug_lines_decoded): Handle
787 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
789 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
790 * Makefile.in: Regenerate.
792 2010-03-25 Joseph Myers <joseph@codesourcery.com>
794 * MAINTAINERS: Add self as TI C6X maintainer.
795 * NEWS: Add news entry for TI C6X support.
796 * readelf.c: Include elf/tic6x.h.
797 (guess_is_rela): Handle EM_TI_C6000.
798 (dump_relocations): Likewise.
799 (get_tic6x_dynamic_type): New.
800 (get_dynamic_type): Call it.
801 (get_machine_flags): Handle EF_C6000_REL.
802 (get_osabi_name): Handle machine-specific values only for relevant
803 machines. Handle C6X values.
804 (get_tic6x_segment_type): New.
805 (get_segment_type): Call it.
806 (get_tic6x_section_type_name): New.
807 (get_section_type_name): Call it.
808 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
811 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
813 * doc/binutils.texi (readelf) <unwind information>: Mention support for
816 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
818 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
820 2010-03-17 Alan Modra <amodra@gmail.com>
822 * readelf.c (dump_arm_unwind): Warning fix.
824 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
826 * MAINTAINERS: Update my email address. List Tristan Gingold
827 as the release branch maintainer.
829 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
831 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
833 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
835 * NEWS: Document .ARM.exidx / .ARM.extab support.
837 * dwarf.c (read_leb128): Make non-static.
838 * dwarf.h (read_leb128): Declare.
839 * readelf.c (REMOVE_ARCH_BITS): Define.
840 (find_section_by_address): New.
841 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
842 (find_symbol_for_address): Handle the Thumb bit for ARM, by
843 using REMOVE_ARCH_BITS.
844 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
845 (arm_free_section, arm_section_get_word, decode_arm_unwind)
846 (dump_arm_unwind, arm_process_unwind): New.
847 (process_unwind): Handle ARM.
849 2010-02-26 Jie Zhang <jie@codesourcery.com>
851 * MAINTAINERS: Update my email address.
853 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
856 * doc/binutils.texi (windmc): Fix synopsis and description of
859 2010-02-19 Alan Modra <amodra@gmail.com>
861 * readelf.c (get_group_flags): Return empty string when flags zero.
862 Add space in other returned values.
863 (process_section_groups): Adjust format string.
865 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
867 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
868 newly permitted attribute values.
869 (arm_attr_tag_Virtualization_use): Likewise.
870 (arm_attr_tag_DIV_use): Add description of new attribute.
871 (arm_attr_tag_MPextension_use_legacy): Likewise.
873 2010-02-15 Nick Clifton <nickc@redhat.com>
875 * po/vi.po: Updated Vietnamese translation.
877 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
879 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
880 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
882 2010-02-08 Jim Blandy <jimb@red-bean.com>
884 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
885 'z' augmentation strings.
887 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
889 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
890 a new address, so as not to reuse a previous, non-related reloc.
892 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
894 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
896 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
898 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
901 2010-01-28 Nick Clifton <nickc@redhat.com>
904 * objdump.c (only): Replace with linked list.
905 (only_size, only_used): Replace with only_list.
906 (process_section_p): Set seen field on matches sections.
907 (add_only): New function.
908 (free_only_list): New function.
909 (disassemble_section): Check only_list.
910 (main): Use add_only and free_only_list.
912 2010-01-26 Tristan Gingold <gingold@adacore.com>
914 * Makefile.am (bin2c): Add libintl dependance and library.
915 * Makefile.in: Regenerate.
917 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
919 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
921 2010-01-19 Ian Lance Taylor <iant@google.com>
923 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
924 with non-ordinary files like /dev/null.
926 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
927 Alan Modra <amodra@gmail.com>
929 * readelf.c (process_file_header): Handle e_phnum extension.
931 2010-01-14 Tristan Gingold <gingold@adacore.com>
933 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
934 and DW_AT_GNAT_descriptive_type.
936 2010-01-13 Tristan Gingold <gingold@adacore.com>
938 * ar.c (main): Use lbasename.
940 * objdump.c (update_source_path): Ditto.
942 2010-01-12 Tristan Gingold <gingold@adacore.com>
944 * makefile.vms (CFLAGS): Turns warnings into informational messages.
946 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
949 * NEWS: Mention --dyn-syms for readelf.
951 * readelf.c (do_dyn_syms): New.
952 (OPTION_DYN_SYMS): Likewise.
953 (options): Add "dyn-syms".
954 (usage): Add --dyn-syms.
955 (parse_args): Handle OPTION_DYN_SYMS.
956 (process_symbol_table): Handle do_dyn_syms.
957 (process_object): Likewise.
958 (process_archive): Likewise.
960 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
961 symbol hash tables for -D.
963 2010-01-11 Nick Clifton <nickc@redhat.com>
965 * NEWS: Mention addition of elfedit.
967 * po/fi.po: Updated Finnish translation.
969 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
971 * Makefile.in: Regenerate.
972 * configure: Regenerate.
973 * doc/Makefile.in: Regenerate.
975 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
977 * version.c (print_version): Change to "Copyright 2010".
979 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
981 * elfedit.c (input_elf_type): New.
982 (output_elf_type): Likewise.
983 (elf_type): Likewise.
984 (update_elf_header): Support updating ELF file type.
985 (command_line_switch): Add OPTION_INPUT_TYPE and
988 (usage): Add --input-type and --output-type.
989 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
990 one of --output-mach and --output-type must be specified.
992 * doc/binutils.texi: Document --input-type and --output-type
995 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
997 * doc/binutils.texi: Fix a typo.
999 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1001 * elfedit.c (update_elf_header): Don't change input_elf_class
1002 nor input_elf_machine if they are -1.
1004 2010-01-08 Tristan Gingold <gingold@adacore.com>
1006 * ar.c: Remove bfd_special_undocumented_glue prototype.
1008 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
1010 * elfedit.c (update_elf_header): Reformat.
1012 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
1014 * readelf.c (usage): Fix indent for --symbols.
1016 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
1018 * doc/binutils.texi: Replace -histogram with --histogram.
1020 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
1023 * Makefile.am (ELFEDIT_PROG): New.
1024 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
1025 (CFILES): Add elfedit.c.
1026 (elfedit_DEPENDENCIES): New.
1027 (elfedit_SOURCES): Likewise.
1028 (elfedit_LDADD): Likewise.
1029 * Makefile.in: Regenerated.
1033 * doc/binutils.texi: Document elfedit.
1035 * doc/Makefile.am (man_MANS): Add elfedit.1.
1037 * doc/Makefile.in: Regenerated.
1039 2010-01-06 Tristan Gingold <gingold@adacore.com>
1041 * nm.c (usage): Remove extra blanks.
1043 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
1045 * objcopy.c: Update copyright.
1046 * readelf.c: Likewise.
1048 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
1051 * objcopy.c (copy_object): Remove "Warning: " from error
1054 2010-01-04 Nick Clifton <nickc@redhat.com>
1057 * readelf.c (dump_section_as_strings): Use two separate
1058 invocations of printf() in order to work around bugs in
1059 the Solaris 8 implementation.
1061 2010-01-04 Nick Clifton <nickc@redhat.com>
1063 * po/ru.po: Updated Russian translation.
1065 For older changes see ChangeLog-2009
1071 version-control: never