1 2010-12-15 Kai Tietz <kai.tietz@onevision.com>
3 * dwarf.c (display_gdb_index): Fix printf types for
6 2010-12-12 Peter Breitenlohner <peb@mppmu.mpg.de>
9 * doc/binutils.texi: Fix typos in elfedit documentation.
11 2010-12-10 Alan Modra <amodra@gmail.com>
13 * binemul.h (do_ar_emul_append): Declare.
14 * binemul.c (any_ok): New function.
15 (do_ar_emul_append): Rename from do_ar_emul_default_append. Make
16 global, add check arg. Adjust callers.
17 (ar_emul_default_replace): Tidy.
18 * configure.tgt (powerpc-*-aix[5-9]*,rs6000-*-aix[5-9]*): Use
20 * emul_aix.c (bin_aix5_emulation, ar_emul_aix_internal): Delete.
21 (ar_emul_aix5_append, ar_emul_aix5_replace): Delete.
22 (check_aix): New function.
23 (ar_emul_aix_append, ar_emul_aix_replace): Rewrite.
25 2010-12-09 Mike Frysinger <vapier@gentoo.org>
27 * .gitignore: New file.
29 2010-12-08 Alan Modra <amodra@gmail.com>
32 (usage): Correct help strings.
33 (decode_options): Correct getopt_long short options. Remove
34 duplicate non-handled option message.
35 (main): Don't handle -M specially.
37 2010-12-08 Arnaud Lacombe <lacombar@gmail.com>
39 * ar.c (long_options): Add target.
40 (decode_options): Handle the --target option.
41 (open_inarch): Check for plugin's target, default to --target
42 (replace_members): Use generic `target'.
44 * ar.c (operation): New global variable.
45 (show_version): Likewise.
46 (show_help): Likewise.
47 (long_options): Likewise.
48 (usage): Fix help string argument order.
49 (decode_options): New.
50 (ranlib_main): Use getopt_long.
51 (main): Use decode_options.
53 * ar.c (main): Split ranlib path.
57 2010-12-03 Doug Evans <dje@google.com>
59 * dwarf.c: #include "bfd_stdint.h".
60 (do_gdb_index): New global.
61 (display_gdb_index): New function.
62 (dwarf_select_sections_by_names) Add "gdb_index".
63 (dwarf_select_sections_all): Set do_gdb_index.
64 (debug_displays): Add .gdb_index.
65 * dwarf.h (do_gdb_index): Declare.
66 * objdump.c (usage): Add gdb_index.
67 * readelf.c (usage): Add gdb_index.
68 (process_section_headers): Process ".gdb_index".
69 * doc/binutils.texi (readelf): Document gdb_index dump.
72 2010-12-01 Kai Tietz <kai.tietz@onevision.com>
75 * dlltool.c (dll_name_set_by_exp_name): New variable.
76 (def_name): Allow setting of dll_name by .def file.
77 (def_library): Likewise.
78 (main): Set dll_name_set_by_exp_name, if dll_name is
79 set indirect by exp_name.
81 2010-11-26 Alan Modra <amodra@gmail.com>
83 * dwarf.c (decode_location_expression, display_debug_frames): Move
84 code handling DW_EH_PE_pcrel into..
85 (get_encoded_value): ..here.
87 2010-11-26 Alan Modra <amodra@gmail.com>
91 2010-11-25 Alan Modra <amodra@gmail.com>
98 * po/zh_CN.po: Update.
100 2010-11-21 H.J. Lu <hongjiu.lu@intel.com>
104 * elfcomm.h: Likewise.
106 * Makefile.am (HFILES): Add elfcomm.h.
107 (CFILES): Add elfcomm.c.
109 (readelf_SOURCES): Add $(ELFLIBS).
110 (elfedit_SOURCES): Likewise.
111 (objdump_SOURCES): Likewise.
112 * Makefile.in: Regenerated.
114 * dwarf.c: Include "elfcomm.h".
116 (byte_get_little_endian): Likewise.
117 (byte_get_big_endian): Likewise.
118 (byte_get_signed): Likewise.
122 * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT.
123 (dwarf_size_type): Likewise.
125 (byte_get_signed): Likewise.
126 (byte_get_little_endian): Likewise.
127 (byte_get_big_endian): Likewise.
131 * elfedit.c: Include "elfcomm.h". Don't include "aout/ar.h".
132 Call error () instead of non_fatal ().
135 (const_strneq): Likewise.
136 (non_fatal): Likewise.
137 (BYTE_GET): Likewise.
138 (BYTE_PUT): Likewise.
139 (byte_get): Likewise.
140 (byte_put): Likewise.
141 (byte_get_little_endian): Likewise.
142 (byte_get_big_endian): Likewise.
143 (byte_put_little_endian): Likewise.
144 (byte_put_big_endian): Likewise.
145 (adjust_relative_path): Likewise.
146 (archive_info): Likewise.
147 (setup_archive): Likewise.
148 (release_archive): Likewise.
149 (setup_nested_archive): Likewise.
150 (get_archive_member_name): Likewise.
151 (get_archive_member_name_at): Likewise.
152 (make_qualified_name): Likewise.
154 * objdump.c: Include "elfcomm.h".
156 * readelf.c: Include "elfcomm.h". Don't include "aout/ar.h".
158 (BYTE_GET_SIGNED): Removed.
161 (const_strneq): Likewise.
162 (byte_put): Likewise.
163 (byte_put_little_endian): Likewise.
164 (byte_put_big_endian): Likewise.
165 (adjust_relative_path): Likewise.
166 (archive_info): Likewise.
167 (setup_archive): Likewise.
168 (release_archive): Likewise.
169 (setup_nested_archive): Likewise.
170 (get_archive_member_name): Likewise.
171 (get_archive_member_name_at): Likewise.
172 (make_qualified_name): Likewise.
174 2010-11-18 Alan Modra <amodra@gmail.com>
177 * readelf.c (get_archive_member_name): Formatting. Properly
178 handle full size ar_name.
180 2010-11-17 Alan Modra <amodra@gmail.com>
182 * ar.c (print_contents): Don't internationalize strings without words.
183 * dwarf.c (process_extended_line_op): Likewise.
184 (process_debug_info): Likwise.
185 (display_debug_lines_raw): Likewise.
186 (display_debug_lines_decoded): Likewise.
187 (display_debug_abbrev): Likewise.
188 * readelf.c (process_file_header): Likewise.
190 (decode_arm_unwind): Likewise.
191 (process_mips_specific): Likewise.
192 * resrc.c (run_cmd): Likewise.
193 (rcparse_warning): Likewise.
194 * objdump.c (dump_headers): Don't print "Pg".
196 2010-11-16 Jorma Karvonen <karvonen.jorma@gmail.com>
198 * windmc.c: ,%s' -> `%s' in a number of strings.
200 2010-11-16 Jie Zhang <jie.zhang@analog.com>
202 * readelf.c (get_machine_flags): Deal with Blackfin specific flags.
204 2010-11-11 Mingming Sun <mingm.sun@gmail.com>
206 * readelf.c (get_machine_flags): Add loongson-3a.
208 2010-11-10 Nick Clifton <nickc@redhat.com>
210 * po/ja.po: Updated Japanese translation.
211 * po/fr.po: Updated French translation.
213 2010-11-08 Nick Clifton <nickc@redhat.com>
215 * po/ja.po: Updated Japanese translation.
217 2010-11-08 Alan Modra <amodra@gmail.com>
219 * objcopy.c (copy_main): No need to rename sections when compressing
222 2010-11-05 Alan Modra <amodra@gmail.com>
224 * bin2c.c: Remove internationalization and version report.
225 * Makefile.am: Update bin2c rule.
226 * Makefile.in: Regenerate.
228 2010-11-05 Tristan Gingold <gingold@adacore.com>
230 * po/binutils.pot: Regenerate
232 2010-11-05 Tristan Gingold <gingold@adacore.com>
234 * NEWS: Add marker for 2.21.
236 2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
238 * objdump.c (dump_bfd_header): Don't display
239 BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
241 2010-11-02 Joseph Myers <joseph@codesourcery.com>
243 * readelf.c (display_tic6x_attribute): Handle more attributes.
245 2010-10-30 Kai Tietz <kai.tietz@onevision.com>
247 * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
250 2010-10-29 Joseph Myers <joseph@codesourcery.com>
252 * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
253 not hardcoded 32. Display name of this attribute.
255 2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
257 * addr2line.c (process_file): Set BFD_DECOMPRESS.
259 * objcopy.c (do_debug_sections): New.
260 (OPTION_COMPRESS_DEBUG_SECTIONS): New.
261 (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
262 (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
263 OPTION_DECOMPRESS_DEBUG_SECTIONS.
264 (copy_usage): Add --compress-debug-sections and
265 --decompress-debug-sections.
266 (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
267 (copy_section): Replace bfd_get_section_contents with
268 bfd_get_full_section_contents.
269 (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
270 OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to
271 rename DWARF debug sections.
273 * objdump.c (load_specific_debug_section): Replace
274 bfd_get_section_contents with bfd_get_full_section_contents.
275 Remove bfd_uncompress_section_contents.
276 (dump_section): Replace bfd_get_section_contents with
277 bfd_get_full_section_contents.
278 (display_file): Set BFD_DECOMPRESS if needed.
280 * readelf.c (uncompress_section_contents): Set buffer to NULL
281 to indiate decompression failure.
282 (load_specific_debug_section): Always call
283 uncompress_section_contents.
285 * doc/binutils.texi: Document --compress-debug-sections and
286 --decompress-debug-sections.
288 2010-10-29 Nick Clifton <nickc@redhat.com>
291 * ar.c (usage): Revert previous change. Describe how 's' can be
292 used as a command letter.
293 * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
296 2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
297 Joseph Myers <joseph@codesourcery.com>
299 * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
301 2010-10-28 Nick Clifton <nickc@redhat.com>
304 * ar.c (usage): Remove spurious 's' from list of accepted command
307 2010-10-28 Alan Modra <amodra@gmail.com>
309 * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
310 (is_32bit_pcrel_reloc): Support microblaze.
312 2010-10-26 Nick Clifton <nickc@redhat.com>
314 * po/ja.po: Updated Japanese transaltion.
316 2010-10-21 Joseph Myers <joseph@codesourcery.com>
318 * readelf.c (display_tic6x_attribute): Update for attribute
321 2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
323 * dwarf.c (byte_get_signed): Make it extern.
325 * dwarf.h (byte_get_signed): New.
327 * readelf.c (BYTE_GET_SIGNED): New.
328 (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
329 (dump_relocations): Properly dump r_addend.
331 2010-10-08 Joseph Myers <joseph@codesourcery.com>
333 * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
334 (set_print_radix): Update for __MSVCRT__ definition of
337 2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
339 Fix build with -DDEBUG=7
340 * nlmheader.y (DEBUG token): Rename to DEBUG_K.
342 2010-10-06 Alan Modra <amodra@gmail.com>
344 * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
346 2010-10-05 Alan Modra <amodra@gmail.com>
348 * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
349 (bfd_nonfatal_message, report, list_matching_formats): Likewise.
350 (list_supported_targets): Tidy.
351 * objdump.c (free_only_list): Formatting.
352 (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
354 (update_source_path): Delete redundant check for NULL filename.
355 (disassemble_bytes): Error if disassemble_fn returns a value
356 that won't increment address.
357 (disassemble_data): Don't capitalize error message.
358 (read_section_stabs): Likewise.
359 (main): Return non-zero exit status on bad options.
361 2010-10-03 H.J. Lu <hongjiu.lu@intel.com>
364 * nm.c (plugin_target): New.
365 (main): Set plugin_target to "plugin" for --plugin.
366 (display_file): Pass plugin_target to bfd_openr if target
369 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
371 * configure: Regenerate.
373 2010-09-22 Mike Frysinger <vapier@gentoo.org>
375 * MAINTAINERS: Add self as ADI Blackfin maintainer.
377 2010-09-17 H.J. Lu <hongjiu.lu@intel.com>
379 * emul_aix.c (ar_emul_aix_append): Add a target argument
380 and ignore it if it is set.
381 (ar_emul_aix5_append): Likewise.
382 (ar_emul_aix_replace): Likewise.
383 (ar_emul_aix5_replace): Likewise.
385 2010-09-15 H.J. Lu <hongjiu.lu@intel.com>
387 * ar.c (plugin_target): New.
388 (main): Set plugin_target to "plugin" for --plugin.
389 (open_inarch): Initialize target to plugin_target.
390 (replace_members): Pass plugin_target to ar_emul_replace
393 * binemul.h (ar_emul_append): Add a target argument.
394 (ar_emul_default_append): Likewise.
395 (ar_emul_replace): Likewise.
396 (ar_emul_default_replace): Likewise.
397 (bin_emulation_xfer_struct): Add a target argument to
398 ar_append and ar_replace.
400 * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr.
401 (do_ar_emul_default_append): Likewise.
402 (ar_emul_default_append): Likewise.
403 (ar_emul_replace): Likewise.
404 (ar_emul_default_replace): Likewise.
406 2010-09-10 Ben Gardiner <bengardiner@nanometrics.ca>
408 * objcopy.c: Add --interleave-width option to allow interleaving
409 of more than one byte at a time.
410 (copy_width): New variable.
411 (copy_options): Add --interleave-width.
412 (copy_section): When interleaving copy in units of copy_width
414 (copy_main): Parse the new option.
415 * doc/binutils: Document the new option.
416 * NEWS: Mention the new feature.
418 2010-09-09 Jakub Jelinek <jakub@redhat.com>
420 * dwarf.c (decode_location_expression): Fix data adjustment
421 for DW_OP_GNU_implicit_pointer in v3+.
423 2010-09-09 Tristan Gingold <gingold@adacore.com>
425 * NEWS: Add entry to NEWS for hppa/som.
427 2010-09-09 Jakub Jelinek <jakub@redhat.com>
429 * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
430 * dwarf.c (decode_location_expression): Add offset_size and
431 dwarf_version arguments. Prefix DIE offset with 0x for
432 DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
433 complain if in frame info section. Handle
434 DW_OP_GNU_implicit_pointer.
435 (read_and_display_attr_value, display_debug_loc,
436 display_debug_frames): Adjust decode_location_expression callers.
437 (process_debug_info): Save offset_size and dwarf_version values
438 into debug_information array.
440 2010-09-07 Nick Clifton <nickc@redhat.com>
442 * readelf.c (process_section_headers): Mention meaning of 'l'
443 section flag for x86-64 targets.
445 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
446 Jakub Jelinek <jakub@redhat.com>
448 * dwarf.c (regname): New declaration.
449 (decode_location_expression): Print for registers also regname output.
451 2010-09-02 Richard Henderson <rth@redhat.com>
453 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
454 (init_dwarf_regnames): Use them.
455 * dwarf.h: Declare them.
456 * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
457 the regnames, rather than using elf_machine_code.
459 2010-09-02 Richard Henderson <rth@redhat.com>
461 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
463 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
465 * elfedit.c (input_elf_osabi): New.
466 (output_elf_osbi): Likewise.
468 (elf_osabi): Likewise.
469 (update_elf_header): Support updating ELF OSABI.
470 (make_qualified_name): Break long line.
471 (command_line_switch): Add OPTION_INPUT_OSABI and
474 (usage): Add --input-osabi and --output-osabi.
475 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
477 * doc/binutils.texi: Document --input-osabi and --output-osabi
480 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
482 * readelf.c (display_mips_gnu_attribute): Replace GCC options
483 with a textual description of a MIPS32r2 64-bit FPU.
485 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
488 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
490 (get_64bit_elf_symbols): Likewise.
491 (process_symbol_table): Likewise.
492 (process_section_groups): Check for corrupt headers.
493 (process_version_sections): Check for corrupt indicies.
494 (process_corefile_note_segment): Likewise.
496 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
498 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
501 2010-08-13 Tom Tromey <tromey@redhat.com>
503 * dwarf.c (process_debug_info): Don't subtract section address
504 when calculating location of cu abbrev within section.
506 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
509 * readelf.c (get_archive_member_name): Do not read beyond the end
510 of the ar_name field.
512 2010-08-03 Tristan Gingold <gingold@adacore.com>
514 * dwarf.c (display_debug_lines): Mark file argument unused.
515 Do not try to load .debug_info section.
517 2010-08-02 Alan Modra <amodra@gmail.com>
519 * readelf.c (apply_relocations): D30V is really REL.
521 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
522 Ina Pandit <ina.pandit@kpitcummins.com>
524 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
526 2010-07-22 Alan Modra <amodra@gmail.com>
528 * readelf.c: Add Moxie support.
530 2010-07-20 Alan Modra <amodra@gmail.com>
532 * readelf.c (process_program_headers): Don't ignore all zero size
535 2010-07-19 Andreas Schwab <schwab@redhat.com>
537 * readelf.c (process_section_headers): Update key to flags.
539 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
541 * objcopy.c (copy_usage): Tweak previous typofix.
543 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
545 * objcopy.c (copy_usage): Fix a typo.
547 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
549 * dllwrap.c (main): Make sure is_leading_underscore
550 gets initialized with correct default.
552 2010-07-05 Alan Modra <amodra@gmail.com>
554 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
556 2010-07-03 Cary Coutant <ccoutant@google.com>
558 * objdump.c (load_specific_debug_section): Decompress section contents
559 before applying relocations.
560 * readelf.c (load_specific_debug_section): Update section size after
563 2010-06-29 Alan Modra <amodra@gmail.com>
566 * objcopy.c (is_strip_section): Revert 2006-09-05.
567 (setup_section): Make SHT_GROUP section nobits.
569 2010-06-29 Alan Modra <amodra@gmail.com>
571 * configure: Regenerate.
572 * po/POTFILES.in: Regenerate.
574 2010-06-27 Alan Modra <amodra@gmail.com>
576 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
578 2010-06-17 Nick Clifton <nickc@redhat.com>
581 * windres.c (enum option_values): New enum.
582 (long_options): Use separate option number for --include-dir
584 (main): Separate backwards compatibility check from code to
585 implement --include-dir. Check to see if directory exists and do
586 not complain if it does.
588 2010-06-15 Joseph Myers <joseph@codesourcery.com>
590 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
592 (process_arch_specific): Call process_tic6x_specific for
595 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
597 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
600 2010-06-11 Tristan Gingold <gingold@adacore.com>
601 Doug Rupp <rupp@gnat.com>
603 * readelf.c (is_ia64_vms): New function.
604 (dump_relocations): Use it.
605 (get_machine_flags): Display IA-64 OpenVMS flags.
606 (process_program_headers): No error on OpenVMS if no .dynamic section.
607 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
609 (dump_ia64_vms_dynamic_fixups): New function.
610 (dump_ia64_vms_dynamic_relocs): Ditto.
611 (process_ia64_vms_dynamic_relocs): Ditto.
612 (process_relocs): Handle IA-64 OpenVMS relocs.
613 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
614 (print_vms_time): New function.
615 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
616 DT_IA_64_VMS_LNKFLAGS.
617 (get_ia64_symbol_other): New function.
618 (get_symbol_other): Handle EM_IA_64.
620 2010-06-11 Tristan Gingold <gingold@adacore.com>
622 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
623 (UNW_DEC_ABI): Ditto for abiname.
624 (unw_decode_table): Make it const.
626 2010-06-10 Tristan Gingold <gingold@adacore.com>
628 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
631 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
632 Joseph Myers <joseph@codesourcery.com>
633 Andrew Stubbs <ams@codesourcery.com>
635 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
637 2010-05-25 Jay Krell <jay.krell@cornell.edu>
640 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
641 * Makefile.in: Regenerate.
643 2010-05-24 Tristan Gingold <gingold@adacore.com>
645 * readelf.c (usage): Add new trace sections for --debug-dump.
646 (process_section_headers): Handle dump of trace sections.
647 * objdump.c (usage): Add new trace sections for --dwarf.
648 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
649 (do_trace_aranges): Ditto.
650 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
651 and trace_aranges literals.
652 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
653 (do_trace_aranges): Ditto.
654 (process_debug_info): Add abbrev_sec argument and replace
655 abbrev with abbrev_sec.
656 (load_debug_info): Adjust call of process_debug_info.
657 (display_debug_info): Ditto.
658 (display_trace_info): New function.
659 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
660 and trace_aranges sections name.
661 (dwarf_select_sections_all): Also select trace sections.
662 (debug_displays): Reindent. Add entries for the trace sections.
663 * doc/binutils.texi (readelf): Document new --dwarf parameters.
666 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
669 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
672 2010-05-07 Tristan Gingold <gingold@adacore.com>
674 * Makefile.in: Regenerate with automake 1.11.1.
676 * doc/Makefile.in: Ditto.
678 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
680 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
681 * readelf.c (get_elf_section_flags): Likewise.
682 (process_section_headers): Likewise.
684 2010-05-05 Nick Clifton <nickc@redhat.com>
686 * po/es.po: Updated Spanish translation.
688 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
690 * dlltool.c (main): Query for bfd's underscoring default for
693 2010-04-27 Nick Clifton <nickc@redhat.com>
695 * po/ru.po: Updated Russian translation.
697 2010-04-23 Alan Modra <amodra@gmail.com>
699 * readelf.c (process_program_headers): Replace use of
700 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
702 2010-04-22 Nick Clifton <nickc@redhat.com>
704 * po/binutils.pot: Updated by the Translation project.
705 * po/fi.po: Updated Finnish translation.
706 * po/vi.po: Updated Vietnamese translation.
707 * po/bg.po: New Bulgarian translation.
708 * configure.in (ALL_LINGUAS): Add bg.
709 * configure: Regenerate.
711 2010-04-20 Nick Clifton <nickc@redhat.com>
713 * po/fr.po: Updated french translation.
715 2010-04-20 Nick Clifton <nickc@redhat.com>
717 * readelf.c: Add _() macros to constant strings that are
720 * readelf.c (display_mips_gnu_attribute): Replace GCC options
721 with a textual description of single and double precision float.
723 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
725 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
726 (arm_attr_tag_ABI_align8_needed): Remove.
727 (arm_attr_tag_ABI_align8_preserved): Remove.
728 (arm_attr_tag_ABI_HardFP_use): Update text strings.
729 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
730 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
732 2010-04-13 Nick Clifton <nickc@redhat.com>
735 * dwarf.c (process_debug_info): Initialise the signature array.
737 2010-04-09 Nick Clifton <nickc@redhat.com>
739 * dwarf.c (process_debug_info): Remove unused variable
740 cu_abbrev_offset_ptr.
741 (display_debug_lines_decoded): Remove unused variable prev_line.
742 * elfedit.c (process_archive): Remove unused variable
744 * ieee.c (ieee_start_compilation_unit): Remove unused variable
746 (ieee_set_type): Remove unused variables info, targetindx and
748 * objdump.c (disassmble_byte): Remove unused variable done_dot.
749 * rddbg.c (read_section_stabs_debugging_info): Remove unused
751 * readelf.c (dump_section_as_strings): Remove unused variable
753 (process_archive): Remove unused variable file_name_size.
754 * stabs.c (parse_stab_string): Mark desc parameter as unused.
755 Remove unused variable lineno.
756 (parse_stab_struct_type): Remove unused variable orig.
757 (stab_demangle_type): Remove unused variables constp, volatilep
760 2010-04-07 Alan Modra <amodra@gmail.com>
762 * configure: Regenerate.
764 2010-04-06 Nick Clifton <nickc@redhat.com>
766 * po/vi.po: Updated Vietnamese translation.
768 2010-04-05 Jakub Jelinek <jakub@redhat.com>
770 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
772 (display_debug_frames): Handle CIE version 4.
774 * dwarf.c (struct State_Machine_Registers): Add op_index field,
775 change end_sequence type to unsigned char.
776 (reset_state_machine): Clear op_index.
777 (process_extended_line_op): For DW_LNE_set_address clear op_index.
778 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
779 Track op_index state machine register and print it if
780 li_max_ops_per_insn is != 1.
781 (display_debug_lines_decoded): Likewise.
783 2010-04-01 Jakub Jelinek <jakub@redhat.com>
785 * dwarf.c (read_and_display_attr_value): Don't reject
786 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
788 (process_debug_info): Handle cu_version == 4.
789 (display_debug_lines_raw, display_debug_lines_decoded): Handle
792 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
794 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
795 * Makefile.in: Regenerate.
797 2010-03-25 Joseph Myers <joseph@codesourcery.com>
799 * MAINTAINERS: Add self as TI C6X maintainer.
800 * NEWS: Add news entry for TI C6X support.
801 * readelf.c: Include elf/tic6x.h.
802 (guess_is_rela): Handle EM_TI_C6000.
803 (dump_relocations): Likewise.
804 (get_tic6x_dynamic_type): New.
805 (get_dynamic_type): Call it.
806 (get_machine_flags): Handle EF_C6000_REL.
807 (get_osabi_name): Handle machine-specific values only for relevant
808 machines. Handle C6X values.
809 (get_tic6x_segment_type): New.
810 (get_segment_type): Call it.
811 (get_tic6x_section_type_name): New.
812 (get_section_type_name): Call it.
813 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
816 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
818 * doc/binutils.texi (readelf) <unwind information>: Mention support for
821 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
823 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
825 2010-03-17 Alan Modra <amodra@gmail.com>
827 * readelf.c (dump_arm_unwind): Warning fix.
829 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
831 * MAINTAINERS: Update my email address. List Tristan Gingold
832 as the release branch maintainer.
834 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
836 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
838 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
840 * NEWS: Document .ARM.exidx / .ARM.extab support.
842 * dwarf.c (read_leb128): Make non-static.
843 * dwarf.h (read_leb128): Declare.
844 * readelf.c (REMOVE_ARCH_BITS): Define.
845 (find_section_by_address): New.
846 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
847 (find_symbol_for_address): Handle the Thumb bit for ARM, by
848 using REMOVE_ARCH_BITS.
849 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
850 (arm_free_section, arm_section_get_word, decode_arm_unwind)
851 (dump_arm_unwind, arm_process_unwind): New.
852 (process_unwind): Handle ARM.
854 2010-02-26 Jie Zhang <jie@codesourcery.com>
856 * MAINTAINERS: Update my email address.
858 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
861 * doc/binutils.texi (windmc): Fix synopsis and description of
864 2010-02-19 Alan Modra <amodra@gmail.com>
866 * readelf.c (get_group_flags): Return empty string when flags zero.
867 Add space in other returned values.
868 (process_section_groups): Adjust format string.
870 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
872 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
873 newly permitted attribute values.
874 (arm_attr_tag_Virtualization_use): Likewise.
875 (arm_attr_tag_DIV_use): Add description of new attribute.
876 (arm_attr_tag_MPextension_use_legacy): Likewise.
878 2010-02-15 Nick Clifton <nickc@redhat.com>
880 * po/vi.po: Updated Vietnamese translation.
882 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
884 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
885 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
887 2010-02-08 Jim Blandy <jimb@red-bean.com>
889 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
890 'z' augmentation strings.
892 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
894 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
895 a new address, so as not to reuse a previous, non-related reloc.
897 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
899 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
901 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
903 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
906 2010-01-28 Nick Clifton <nickc@redhat.com>
909 * objdump.c (only): Replace with linked list.
910 (only_size, only_used): Replace with only_list.
911 (process_section_p): Set seen field on matches sections.
912 (add_only): New function.
913 (free_only_list): New function.
914 (disassemble_section): Check only_list.
915 (main): Use add_only and free_only_list.
917 2010-01-26 Tristan Gingold <gingold@adacore.com>
919 * Makefile.am (bin2c): Add libintl dependance and library.
920 * Makefile.in: Regenerate.
922 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
924 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
926 2010-01-19 Ian Lance Taylor <iant@google.com>
928 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
929 with non-ordinary files like /dev/null.
931 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
932 Alan Modra <amodra@gmail.com>
934 * readelf.c (process_file_header): Handle e_phnum extension.
936 2010-01-14 Tristan Gingold <gingold@adacore.com>
938 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
939 and DW_AT_GNAT_descriptive_type.
941 2010-01-13 Tristan Gingold <gingold@adacore.com>
943 * ar.c (main): Use lbasename.
945 * objdump.c (update_source_path): Ditto.
947 2010-01-12 Tristan Gingold <gingold@adacore.com>
949 * makefile.vms (CFLAGS): Turns warnings into informational messages.
951 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
954 * NEWS: Mention --dyn-syms for readelf.
956 * readelf.c (do_dyn_syms): New.
957 (OPTION_DYN_SYMS): Likewise.
958 (options): Add "dyn-syms".
959 (usage): Add --dyn-syms.
960 (parse_args): Handle OPTION_DYN_SYMS.
961 (process_symbol_table): Handle do_dyn_syms.
962 (process_object): Likewise.
963 (process_archive): Likewise.
965 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
966 symbol hash tables for -D.
968 2010-01-11 Nick Clifton <nickc@redhat.com>
970 * NEWS: Mention addition of elfedit.
972 * po/fi.po: Updated Finnish translation.
974 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
976 * Makefile.in: Regenerate.
977 * configure: Regenerate.
978 * doc/Makefile.in: Regenerate.
980 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
982 * version.c (print_version): Change to "Copyright 2010".
984 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
986 * elfedit.c (input_elf_type): New.
987 (output_elf_type): Likewise.
988 (elf_type): Likewise.
989 (update_elf_header): Support updating ELF file type.
990 (command_line_switch): Add OPTION_INPUT_TYPE and
993 (usage): Add --input-type and --output-type.
994 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
995 one of --output-mach and --output-type must be specified.
997 * doc/binutils.texi: Document --input-type and --output-type
1000 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1002 * doc/binutils.texi: Fix a typo.
1004 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
1006 * elfedit.c (update_elf_header): Don't change input_elf_class
1007 nor input_elf_machine if they are -1.
1009 2010-01-08 Tristan Gingold <gingold@adacore.com>
1011 * ar.c: Remove bfd_special_undocumented_glue prototype.
1013 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
1015 * elfedit.c (update_elf_header): Reformat.
1017 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
1019 * readelf.c (usage): Fix indent for --symbols.
1021 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
1023 * doc/binutils.texi: Replace -histogram with --histogram.
1025 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
1028 * Makefile.am (ELFEDIT_PROG): New.
1029 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
1030 (CFILES): Add elfedit.c.
1031 (elfedit_DEPENDENCIES): New.
1032 (elfedit_SOURCES): Likewise.
1033 (elfedit_LDADD): Likewise.
1034 * Makefile.in: Regenerated.
1038 * doc/binutils.texi: Document elfedit.
1040 * doc/Makefile.am (man_MANS): Add elfedit.1.
1042 * doc/Makefile.in: Regenerated.
1044 2010-01-06 Tristan Gingold <gingold@adacore.com>
1046 * nm.c (usage): Remove extra blanks.
1048 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
1050 * objcopy.c: Update copyright.
1051 * readelf.c: Likewise.
1053 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
1056 * objcopy.c (copy_object): Remove "Warning: " from error
1059 2010-01-04 Nick Clifton <nickc@redhat.com>
1062 * readelf.c (dump_section_as_strings): Use two separate
1063 invocations of printf() in order to work around bugs in
1064 the Solaris 8 implementation.
1066 2010-01-04 Nick Clifton <nickc@redhat.com>
1068 * po/ru.po: Updated Russian translation.
1070 For older changes see ChangeLog-2009
1076 version-control: never