1 2010-12-08 Alan Modra <amodra@gmail.com>
4 (usage): Correct help strings.
5 (decode_options): Correct getopt_long short options. Remove
6 duplicate non-handled option message.
7 (main): Don't handle -M specially.
9 2010-12-08 Arnaud Lacombe <lacombar@gmail.com>
11 * ar.c (long_options): Add target.
12 (decode_options): Handle the --target option.
13 (open_inarch): Check for plugin's target, default to --target
14 (replace_members): Use generic `target'.
16 * ar.c (operation): New global variable.
17 (show_version): Likewise.
18 (show_help): Likewise.
19 (long_options): Likewise.
20 (usage): Fix help string argument order.
21 (decode_options): New.
22 (ranlib_main): Use getopt_long.
23 (main): Use decode_options.
25 * ar.c (main): Split ranlib path.
29 2010-12-03 Doug Evans <dje@google.com>
31 * dwarf.c: #include "bfd_stdint.h".
32 (do_gdb_index): New global.
33 (display_gdb_index): New function.
34 (dwarf_select_sections_by_names) Add "gdb_index".
35 (dwarf_select_sections_all): Set do_gdb_index.
36 (debug_displays): Add .gdb_index.
37 * dwarf.h (do_gdb_index): Declare.
38 * objdump.c (usage): Add gdb_index.
39 * readelf.c (usage): Add gdb_index.
40 (process_section_headers): Process ".gdb_index".
41 * doc/binutils.texi (readelf): Document gdb_index dump.
44 2010-12-01 Kai Tietz <kai.tietz@onevision.com>
47 * dlltool.c (dll_name_set_by_exp_name): New variable.
48 (def_name): Allow setting of dll_name by .def file.
49 (def_library): Likewise.
50 (main): Set dll_name_set_by_exp_name, if dll_name is
51 set indirect by exp_name.
53 2010-11-26 Alan Modra <amodra@gmail.com>
55 * dwarf.c (decode_location_expression, display_debug_frames): Move
56 code handling DW_EH_PE_pcrel into..
57 (get_encoded_value): ..here.
59 2010-11-26 Alan Modra <amodra@gmail.com>
63 2010-11-25 Alan Modra <amodra@gmail.com>
70 * po/zh_CN.po: Update.
72 2010-11-21 H.J. Lu <hongjiu.lu@intel.com>
76 * elfcomm.h: Likewise.
78 * Makefile.am (HFILES): Add elfcomm.h.
79 (CFILES): Add elfcomm.c.
81 (readelf_SOURCES): Add $(ELFLIBS).
82 (elfedit_SOURCES): Likewise.
83 (objdump_SOURCES): Likewise.
84 * Makefile.in: Regenerated.
86 * dwarf.c: Include "elfcomm.h".
88 (byte_get_little_endian): Likewise.
89 (byte_get_big_endian): Likewise.
90 (byte_get_signed): Likewise.
94 * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT.
95 (dwarf_size_type): Likewise.
97 (byte_get_signed): Likewise.
98 (byte_get_little_endian): Likewise.
99 (byte_get_big_endian): Likewise.
103 * elfedit.c: Include "elfcomm.h". Don't include "aout/ar.h".
104 Call error () instead of non_fatal ().
107 (const_strneq): Likewise.
108 (non_fatal): Likewise.
109 (BYTE_GET): Likewise.
110 (BYTE_PUT): Likewise.
111 (byte_get): Likewise.
112 (byte_put): Likewise.
113 (byte_get_little_endian): Likewise.
114 (byte_get_big_endian): Likewise.
115 (byte_put_little_endian): Likewise.
116 (byte_put_big_endian): Likewise.
117 (adjust_relative_path): Likewise.
118 (archive_info): Likewise.
119 (setup_archive): Likewise.
120 (release_archive): Likewise.
121 (setup_nested_archive): Likewise.
122 (get_archive_member_name): Likewise.
123 (get_archive_member_name_at): Likewise.
124 (make_qualified_name): Likewise.
126 * objdump.c: Include "elfcomm.h".
128 * readelf.c: Include "elfcomm.h". Don't include "aout/ar.h".
130 (BYTE_GET_SIGNED): Removed.
133 (const_strneq): Likewise.
134 (byte_put): Likewise.
135 (byte_put_little_endian): Likewise.
136 (byte_put_big_endian): Likewise.
137 (adjust_relative_path): Likewise.
138 (archive_info): Likewise.
139 (setup_archive): Likewise.
140 (release_archive): Likewise.
141 (setup_nested_archive): Likewise.
142 (get_archive_member_name): Likewise.
143 (get_archive_member_name_at): Likewise.
144 (make_qualified_name): Likewise.
146 2010-11-18 Alan Modra <amodra@gmail.com>
149 * readelf.c (get_archive_member_name): Formatting. Properly
150 handle full size ar_name.
152 2010-11-17 Alan Modra <amodra@gmail.com>
154 * ar.c (print_contents): Don't internationalize strings without words.
155 * dwarf.c (process_extended_line_op): Likewise.
156 (process_debug_info): Likwise.
157 (display_debug_lines_raw): Likewise.
158 (display_debug_lines_decoded): Likewise.
159 (display_debug_abbrev): Likewise.
160 * readelf.c (process_file_header): Likewise.
162 (decode_arm_unwind): Likewise.
163 (process_mips_specific): Likewise.
164 * resrc.c (run_cmd): Likewise.
165 (rcparse_warning): Likewise.
166 * objdump.c (dump_headers): Don't print "Pg".
168 2010-11-16 Jorma Karvonen <karvonen.jorma@gmail.com>
170 * windmc.c: ,%s' -> `%s' in a number of strings.
172 2010-11-16 Jie Zhang <jie.zhang@analog.com>
174 * readelf.c (get_machine_flags): Deal with Blackfin specific flags.
176 2010-11-11 Mingming Sun <mingm.sun@gmail.com>
178 * readelf.c (get_machine_flags): Add loongson-3a.
180 2010-11-10 Nick Clifton <nickc@redhat.com>
182 * po/ja.po: Updated Japanese translation.
183 * po/fr.po: Updated French translation.
185 2010-11-08 Nick Clifton <nickc@redhat.com>
187 * po/ja.po: Updated Japanese translation.
189 2010-11-08 Alan Modra <amodra@gmail.com>
191 * objcopy.c (copy_main): No need to rename sections when compressing
194 2010-11-05 Alan Modra <amodra@gmail.com>
196 * bin2c.c: Remove internationalization and version report.
197 * Makefile.am: Update bin2c rule.
198 * Makefile.in: Regenerate.
200 2010-11-05 Tristan Gingold <gingold@adacore.com>
202 * po/binutils.pot: Regenerate
204 2010-11-05 Tristan Gingold <gingold@adacore.com>
206 * NEWS: Add marker for 2.21.
208 2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
210 * objdump.c (dump_bfd_header): Don't display
211 BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
213 2010-11-02 Joseph Myers <joseph@codesourcery.com>
215 * readelf.c (display_tic6x_attribute): Handle more attributes.
217 2010-10-30 Kai Tietz <kai.tietz@onevision.com>
219 * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
222 2010-10-29 Joseph Myers <joseph@codesourcery.com>
224 * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
225 not hardcoded 32. Display name of this attribute.
227 2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
229 * addr2line.c (process_file): Set BFD_DECOMPRESS.
231 * objcopy.c (do_debug_sections): New.
232 (OPTION_COMPRESS_DEBUG_SECTIONS): New.
233 (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
234 (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
235 OPTION_DECOMPRESS_DEBUG_SECTIONS.
236 (copy_usage): Add --compress-debug-sections and
237 --decompress-debug-sections.
238 (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
239 (copy_section): Replace bfd_get_section_contents with
240 bfd_get_full_section_contents.
241 (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
242 OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to
243 rename DWARF debug sections.
245 * objdump.c (load_specific_debug_section): Replace
246 bfd_get_section_contents with bfd_get_full_section_contents.
247 Remove bfd_uncompress_section_contents.
248 (dump_section): Replace bfd_get_section_contents with
249 bfd_get_full_section_contents.
250 (display_file): Set BFD_DECOMPRESS if needed.
252 * readelf.c (uncompress_section_contents): Set buffer to NULL
253 to indiate decompression failure.
254 (load_specific_debug_section): Always call
255 uncompress_section_contents.
257 * doc/binutils.texi: Document --compress-debug-sections and
258 --decompress-debug-sections.
260 2010-10-29 Nick Clifton <nickc@redhat.com>
263 * ar.c (usage): Revert previous change. Describe how 's' can be
264 used as a command letter.
265 * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
268 2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
269 Joseph Myers <joseph@codesourcery.com>
271 * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
273 2010-10-28 Nick Clifton <nickc@redhat.com>
276 * ar.c (usage): Remove spurious 's' from list of accepted command
279 2010-10-28 Alan Modra <amodra@gmail.com>
281 * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
282 (is_32bit_pcrel_reloc): Support microblaze.
284 2010-10-26 Nick Clifton <nickc@redhat.com>
286 * po/ja.po: Updated Japanese transaltion.
288 2010-10-21 Joseph Myers <joseph@codesourcery.com>
290 * readelf.c (display_tic6x_attribute): Update for attribute
293 2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
295 * dwarf.c (byte_get_signed): Make it extern.
297 * dwarf.h (byte_get_signed): New.
299 * readelf.c (BYTE_GET_SIGNED): New.
300 (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
301 (dump_relocations): Properly dump r_addend.
303 2010-10-08 Joseph Myers <joseph@codesourcery.com>
305 * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
306 (set_print_radix): Update for __MSVCRT__ definition of
309 2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
311 Fix build with -DDEBUG=7
312 * nlmheader.y (DEBUG token): Rename to DEBUG_K.
314 2010-10-06 Alan Modra <amodra@gmail.com>
316 * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
318 2010-10-05 Alan Modra <amodra@gmail.com>
320 * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
321 (bfd_nonfatal_message, report, list_matching_formats): Likewise.
322 (list_supported_targets): Tidy.
323 * objdump.c (free_only_list): Formatting.
324 (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
326 (update_source_path): Delete redundant check for NULL filename.
327 (disassemble_bytes): Error if disassemble_fn returns a value
328 that won't increment address.
329 (disassemble_data): Don't capitalize error message.
330 (read_section_stabs): Likewise.
331 (main): Return non-zero exit status on bad options.
333 2010-10-03 H.J. Lu <hongjiu.lu@intel.com>
336 * nm.c (plugin_target): New.
337 (main): Set plugin_target to "plugin" for --plugin.
338 (display_file): Pass plugin_target to bfd_openr if target
341 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
343 * configure: Regenerate.
345 2010-09-22 Mike Frysinger <vapier@gentoo.org>
347 * MAINTAINERS: Add self as ADI Blackfin maintainer.
349 2010-09-17 H.J. Lu <hongjiu.lu@intel.com>
351 * emul_aix.c (ar_emul_aix_append): Add a target argument
352 and ignore it if it is set.
353 (ar_emul_aix5_append): Likewise.
354 (ar_emul_aix_replace): Likewise.
355 (ar_emul_aix5_replace): Likewise.
357 2010-09-15 H.J. Lu <hongjiu.lu@intel.com>
359 * ar.c (plugin_target): New.
360 (main): Set plugin_target to "plugin" for --plugin.
361 (open_inarch): Initialize target to plugin_target.
362 (replace_members): Pass plugin_target to ar_emul_replace
365 * binemul.h (ar_emul_append): Add a target argument.
366 (ar_emul_default_append): Likewise.
367 (ar_emul_replace): Likewise.
368 (ar_emul_default_replace): Likewise.
369 (bin_emulation_xfer_struct): Add a target argument to
370 ar_append and ar_replace.
372 * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr.
373 (do_ar_emul_default_append): Likewise.
374 (ar_emul_default_append): Likewise.
375 (ar_emul_replace): Likewise.
376 (ar_emul_default_replace): Likewise.
378 2010-09-10 Ben Gardiner <bengardiner@nanometrics.ca>
380 * objcopy.c: Add --interleave-width option to allow interleaving
381 of more than one byte at a time.
382 (copy_width): New variable.
383 (copy_options): Add --interleave-width.
384 (copy_section): When interleaving copy in units of copy_width
386 (copy_main): Parse the new option.
387 * doc/binutils: Document the new option.
388 * NEWS: Mention the new feature.
390 2010-09-09 Jakub Jelinek <jakub@redhat.com>
392 * dwarf.c (decode_location_expression): Fix data adjustment
393 for DW_OP_GNU_implicit_pointer in v3+.
395 2010-09-09 Tristan Gingold <gingold@adacore.com>
397 * NEWS: Add entry to NEWS for hppa/som.
399 2010-09-09 Jakub Jelinek <jakub@redhat.com>
401 * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
402 * dwarf.c (decode_location_expression): Add offset_size and
403 dwarf_version arguments. Prefix DIE offset with 0x for
404 DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
405 complain if in frame info section. Handle
406 DW_OP_GNU_implicit_pointer.
407 (read_and_display_attr_value, display_debug_loc,
408 display_debug_frames): Adjust decode_location_expression callers.
409 (process_debug_info): Save offset_size and dwarf_version values
410 into debug_information array.
412 2010-09-07 Nick Clifton <nickc@redhat.com>
414 * readelf.c (process_section_headers): Mention meaning of 'l'
415 section flag for x86-64 targets.
417 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
418 Jakub Jelinek <jakub@redhat.com>
420 * dwarf.c (regname): New declaration.
421 (decode_location_expression): Print for registers also regname output.
423 2010-09-02 Richard Henderson <rth@redhat.com>
425 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
426 (init_dwarf_regnames): Use them.
427 * dwarf.h: Declare them.
428 * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
429 the regnames, rather than using elf_machine_code.
431 2010-09-02 Richard Henderson <rth@redhat.com>
433 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
435 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
437 * elfedit.c (input_elf_osabi): New.
438 (output_elf_osbi): Likewise.
440 (elf_osabi): Likewise.
441 (update_elf_header): Support updating ELF OSABI.
442 (make_qualified_name): Break long line.
443 (command_line_switch): Add OPTION_INPUT_OSABI and
446 (usage): Add --input-osabi and --output-osabi.
447 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
449 * doc/binutils.texi: Document --input-osabi and --output-osabi
452 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
454 * readelf.c (display_mips_gnu_attribute): Replace GCC options
455 with a textual description of a MIPS32r2 64-bit FPU.
457 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
460 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
462 (get_64bit_elf_symbols): Likewise.
463 (process_symbol_table): Likewise.
464 (process_section_groups): Check for corrupt headers.
465 (process_version_sections): Check for corrupt indicies.
466 (process_corefile_note_segment): Likewise.
468 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
470 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
473 2010-08-13 Tom Tromey <tromey@redhat.com>
475 * dwarf.c (process_debug_info): Don't subtract section address
476 when calculating location of cu abbrev within section.
478 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
481 * readelf.c (get_archive_member_name): Do not read beyond the end
482 of the ar_name field.
484 2010-08-03 Tristan Gingold <gingold@adacore.com>
486 * dwarf.c (display_debug_lines): Mark file argument unused.
487 Do not try to load .debug_info section.
489 2010-08-02 Alan Modra <amodra@gmail.com>
491 * readelf.c (apply_relocations): D30V is really REL.
493 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
494 Ina Pandit <ina.pandit@kpitcummins.com>
496 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
498 2010-07-22 Alan Modra <amodra@gmail.com>
500 * readelf.c: Add Moxie support.
502 2010-07-20 Alan Modra <amodra@gmail.com>
504 * readelf.c (process_program_headers): Don't ignore all zero size
507 2010-07-19 Andreas Schwab <schwab@redhat.com>
509 * readelf.c (process_section_headers): Update key to flags.
511 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
513 * objcopy.c (copy_usage): Tweak previous typofix.
515 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
517 * objcopy.c (copy_usage): Fix a typo.
519 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
521 * dllwrap.c (main): Make sure is_leading_underscore
522 gets initialized with correct default.
524 2010-07-05 Alan Modra <amodra@gmail.com>
526 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
528 2010-07-03 Cary Coutant <ccoutant@google.com>
530 * objdump.c (load_specific_debug_section): Decompress section contents
531 before applying relocations.
532 * readelf.c (load_specific_debug_section): Update section size after
535 2010-06-29 Alan Modra <amodra@gmail.com>
538 * objcopy.c (is_strip_section): Revert 2006-09-05.
539 (setup_section): Make SHT_GROUP section nobits.
541 2010-06-29 Alan Modra <amodra@gmail.com>
543 * configure: Regenerate.
544 * po/POTFILES.in: Regenerate.
546 2010-06-27 Alan Modra <amodra@gmail.com>
548 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
550 2010-06-17 Nick Clifton <nickc@redhat.com>
553 * windres.c (enum option_values): New enum.
554 (long_options): Use separate option number for --include-dir
556 (main): Separate backwards compatibility check from code to
557 implement --include-dir. Check to see if directory exists and do
558 not complain if it does.
560 2010-06-15 Joseph Myers <joseph@codesourcery.com>
562 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
564 (process_arch_specific): Call process_tic6x_specific for
567 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
569 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
572 2010-06-11 Tristan Gingold <gingold@adacore.com>
573 Doug Rupp <rupp@gnat.com>
575 * readelf.c (is_ia64_vms): New function.
576 (dump_relocations): Use it.
577 (get_machine_flags): Display IA-64 OpenVMS flags.
578 (process_program_headers): No error on OpenVMS if no .dynamic section.
579 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
581 (dump_ia64_vms_dynamic_fixups): New function.
582 (dump_ia64_vms_dynamic_relocs): Ditto.
583 (process_ia64_vms_dynamic_relocs): Ditto.
584 (process_relocs): Handle IA-64 OpenVMS relocs.
585 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
586 (print_vms_time): New function.
587 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
588 DT_IA_64_VMS_LNKFLAGS.
589 (get_ia64_symbol_other): New function.
590 (get_symbol_other): Handle EM_IA_64.
592 2010-06-11 Tristan Gingold <gingold@adacore.com>
594 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
595 (UNW_DEC_ABI): Ditto for abiname.
596 (unw_decode_table): Make it const.
598 2010-06-10 Tristan Gingold <gingold@adacore.com>
600 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
603 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
604 Joseph Myers <joseph@codesourcery.com>
605 Andrew Stubbs <ams@codesourcery.com>
607 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
609 2010-05-25 Jay Krell <jay.krell@cornell.edu>
612 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
613 * Makefile.in: Regenerate.
615 2010-05-24 Tristan Gingold <gingold@adacore.com>
617 * readelf.c (usage): Add new trace sections for --debug-dump.
618 (process_section_headers): Handle dump of trace sections.
619 * objdump.c (usage): Add new trace sections for --dwarf.
620 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
621 (do_trace_aranges): Ditto.
622 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
623 and trace_aranges literals.
624 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
625 (do_trace_aranges): Ditto.
626 (process_debug_info): Add abbrev_sec argument and replace
627 abbrev with abbrev_sec.
628 (load_debug_info): Adjust call of process_debug_info.
629 (display_debug_info): Ditto.
630 (display_trace_info): New function.
631 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
632 and trace_aranges sections name.
633 (dwarf_select_sections_all): Also select trace sections.
634 (debug_displays): Reindent. Add entries for the trace sections.
635 * doc/binutils.texi (readelf): Document new --dwarf parameters.
638 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
641 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
644 2010-05-07 Tristan Gingold <gingold@adacore.com>
646 * Makefile.in: Regenerate with automake 1.11.1.
648 * doc/Makefile.in: Ditto.
650 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
652 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
653 * readelf.c (get_elf_section_flags): Likewise.
654 (process_section_headers): Likewise.
656 2010-05-05 Nick Clifton <nickc@redhat.com>
658 * po/es.po: Updated Spanish translation.
660 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
662 * dlltool.c (main): Query for bfd's underscoring default for
665 2010-04-27 Nick Clifton <nickc@redhat.com>
667 * po/ru.po: Updated Russian translation.
669 2010-04-23 Alan Modra <amodra@gmail.com>
671 * readelf.c (process_program_headers): Replace use of
672 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
674 2010-04-22 Nick Clifton <nickc@redhat.com>
676 * po/binutils.pot: Updated by the Translation project.
677 * po/fi.po: Updated Finnish translation.
678 * po/vi.po: Updated Vietnamese translation.
679 * po/bg.po: New Bulgarian translation.
680 * configure.in (ALL_LINGUAS): Add bg.
681 * configure: Regenerate.
683 2010-04-20 Nick Clifton <nickc@redhat.com>
685 * po/fr.po: Updated french translation.
687 2010-04-20 Nick Clifton <nickc@redhat.com>
689 * readelf.c: Add _() macros to constant strings that are
692 * readelf.c (display_mips_gnu_attribute): Replace GCC options
693 with a textual description of single and double precision float.
695 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
697 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
698 (arm_attr_tag_ABI_align8_needed): Remove.
699 (arm_attr_tag_ABI_align8_preserved): Remove.
700 (arm_attr_tag_ABI_HardFP_use): Update text strings.
701 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
702 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
704 2010-04-13 Nick Clifton <nickc@redhat.com>
707 * dwarf.c (process_debug_info): Initialise the signature array.
709 2010-04-09 Nick Clifton <nickc@redhat.com>
711 * dwarf.c (process_debug_info): Remove unused variable
712 cu_abbrev_offset_ptr.
713 (display_debug_lines_decoded): Remove unused variable prev_line.
714 * elfedit.c (process_archive): Remove unused variable
716 * ieee.c (ieee_start_compilation_unit): Remove unused variable
718 (ieee_set_type): Remove unused variables info, targetindx and
720 * objdump.c (disassmble_byte): Remove unused variable done_dot.
721 * rddbg.c (read_section_stabs_debugging_info): Remove unused
723 * readelf.c (dump_section_as_strings): Remove unused variable
725 (process_archive): Remove unused variable file_name_size.
726 * stabs.c (parse_stab_string): Mark desc parameter as unused.
727 Remove unused variable lineno.
728 (parse_stab_struct_type): Remove unused variable orig.
729 (stab_demangle_type): Remove unused variables constp, volatilep
732 2010-04-07 Alan Modra <amodra@gmail.com>
734 * configure: Regenerate.
736 2010-04-06 Nick Clifton <nickc@redhat.com>
738 * po/vi.po: Updated Vietnamese translation.
740 2010-04-05 Jakub Jelinek <jakub@redhat.com>
742 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
744 (display_debug_frames): Handle CIE version 4.
746 * dwarf.c (struct State_Machine_Registers): Add op_index field,
747 change end_sequence type to unsigned char.
748 (reset_state_machine): Clear op_index.
749 (process_extended_line_op): For DW_LNE_set_address clear op_index.
750 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
751 Track op_index state machine register and print it if
752 li_max_ops_per_insn is != 1.
753 (display_debug_lines_decoded): Likewise.
755 2010-04-01 Jakub Jelinek <jakub@redhat.com>
757 * dwarf.c (read_and_display_attr_value): Don't reject
758 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
760 (process_debug_info): Handle cu_version == 4.
761 (display_debug_lines_raw, display_debug_lines_decoded): Handle
764 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
766 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
767 * Makefile.in: Regenerate.
769 2010-03-25 Joseph Myers <joseph@codesourcery.com>
771 * MAINTAINERS: Add self as TI C6X maintainer.
772 * NEWS: Add news entry for TI C6X support.
773 * readelf.c: Include elf/tic6x.h.
774 (guess_is_rela): Handle EM_TI_C6000.
775 (dump_relocations): Likewise.
776 (get_tic6x_dynamic_type): New.
777 (get_dynamic_type): Call it.
778 (get_machine_flags): Handle EF_C6000_REL.
779 (get_osabi_name): Handle machine-specific values only for relevant
780 machines. Handle C6X values.
781 (get_tic6x_segment_type): New.
782 (get_segment_type): Call it.
783 (get_tic6x_section_type_name): New.
784 (get_section_type_name): Call it.
785 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
788 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
790 * doc/binutils.texi (readelf) <unwind information>: Mention support for
793 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
795 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
797 2010-03-17 Alan Modra <amodra@gmail.com>
799 * readelf.c (dump_arm_unwind): Warning fix.
801 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
803 * MAINTAINERS: Update my email address. List Tristan Gingold
804 as the release branch maintainer.
806 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
808 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
810 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
812 * NEWS: Document .ARM.exidx / .ARM.extab support.
814 * dwarf.c (read_leb128): Make non-static.
815 * dwarf.h (read_leb128): Declare.
816 * readelf.c (REMOVE_ARCH_BITS): Define.
817 (find_section_by_address): New.
818 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
819 (find_symbol_for_address): Handle the Thumb bit for ARM, by
820 using REMOVE_ARCH_BITS.
821 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
822 (arm_free_section, arm_section_get_word, decode_arm_unwind)
823 (dump_arm_unwind, arm_process_unwind): New.
824 (process_unwind): Handle ARM.
826 2010-02-26 Jie Zhang <jie@codesourcery.com>
828 * MAINTAINERS: Update my email address.
830 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
833 * doc/binutils.texi (windmc): Fix synopsis and description of
836 2010-02-19 Alan Modra <amodra@gmail.com>
838 * readelf.c (get_group_flags): Return empty string when flags zero.
839 Add space in other returned values.
840 (process_section_groups): Adjust format string.
842 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
844 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
845 newly permitted attribute values.
846 (arm_attr_tag_Virtualization_use): Likewise.
847 (arm_attr_tag_DIV_use): Add description of new attribute.
848 (arm_attr_tag_MPextension_use_legacy): Likewise.
850 2010-02-15 Nick Clifton <nickc@redhat.com>
852 * po/vi.po: Updated Vietnamese translation.
854 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
856 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
857 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
859 2010-02-08 Jim Blandy <jimb@red-bean.com>
861 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
862 'z' augmentation strings.
864 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
866 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
867 a new address, so as not to reuse a previous, non-related reloc.
869 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
871 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
873 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
875 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
878 2010-01-28 Nick Clifton <nickc@redhat.com>
881 * objdump.c (only): Replace with linked list.
882 (only_size, only_used): Replace with only_list.
883 (process_section_p): Set seen field on matches sections.
884 (add_only): New function.
885 (free_only_list): New function.
886 (disassemble_section): Check only_list.
887 (main): Use add_only and free_only_list.
889 2010-01-26 Tristan Gingold <gingold@adacore.com>
891 * Makefile.am (bin2c): Add libintl dependance and library.
892 * Makefile.in: Regenerate.
894 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
896 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
898 2010-01-19 Ian Lance Taylor <iant@google.com>
900 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
901 with non-ordinary files like /dev/null.
903 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
904 Alan Modra <amodra@gmail.com>
906 * readelf.c (process_file_header): Handle e_phnum extension.
908 2010-01-14 Tristan Gingold <gingold@adacore.com>
910 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
911 and DW_AT_GNAT_descriptive_type.
913 2010-01-13 Tristan Gingold <gingold@adacore.com>
915 * ar.c (main): Use lbasename.
917 * objdump.c (update_source_path): Ditto.
919 2010-01-12 Tristan Gingold <gingold@adacore.com>
921 * makefile.vms (CFLAGS): Turns warnings into informational messages.
923 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
926 * NEWS: Mention --dyn-syms for readelf.
928 * readelf.c (do_dyn_syms): New.
929 (OPTION_DYN_SYMS): Likewise.
930 (options): Add "dyn-syms".
931 (usage): Add --dyn-syms.
932 (parse_args): Handle OPTION_DYN_SYMS.
933 (process_symbol_table): Handle do_dyn_syms.
934 (process_object): Likewise.
935 (process_archive): Likewise.
937 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
938 symbol hash tables for -D.
940 2010-01-11 Nick Clifton <nickc@redhat.com>
942 * NEWS: Mention addition of elfedit.
944 * po/fi.po: Updated Finnish translation.
946 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
948 * Makefile.in: Regenerate.
949 * configure: Regenerate.
950 * doc/Makefile.in: Regenerate.
952 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
954 * version.c (print_version): Change to "Copyright 2010".
956 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
958 * elfedit.c (input_elf_type): New.
959 (output_elf_type): Likewise.
960 (elf_type): Likewise.
961 (update_elf_header): Support updating ELF file type.
962 (command_line_switch): Add OPTION_INPUT_TYPE and
965 (usage): Add --input-type and --output-type.
966 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
967 one of --output-mach and --output-type must be specified.
969 * doc/binutils.texi: Document --input-type and --output-type
972 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
974 * doc/binutils.texi: Fix a typo.
976 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
978 * elfedit.c (update_elf_header): Don't change input_elf_class
979 nor input_elf_machine if they are -1.
981 2010-01-08 Tristan Gingold <gingold@adacore.com>
983 * ar.c: Remove bfd_special_undocumented_glue prototype.
985 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
987 * elfedit.c (update_elf_header): Reformat.
989 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
991 * readelf.c (usage): Fix indent for --symbols.
993 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
995 * doc/binutils.texi: Replace -histogram with --histogram.
997 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
1000 * Makefile.am (ELFEDIT_PROG): New.
1001 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
1002 (CFILES): Add elfedit.c.
1003 (elfedit_DEPENDENCIES): New.
1004 (elfedit_SOURCES): Likewise.
1005 (elfedit_LDADD): Likewise.
1006 * Makefile.in: Regenerated.
1010 * doc/binutils.texi: Document elfedit.
1012 * doc/Makefile.am (man_MANS): Add elfedit.1.
1014 * doc/Makefile.in: Regenerated.
1016 2010-01-06 Tristan Gingold <gingold@adacore.com>
1018 * nm.c (usage): Remove extra blanks.
1020 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
1022 * objcopy.c: Update copyright.
1023 * readelf.c: Likewise.
1025 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
1028 * objcopy.c (copy_object): Remove "Warning: " from error
1031 2010-01-04 Nick Clifton <nickc@redhat.com>
1034 * readelf.c (dump_section_as_strings): Use two separate
1035 invocations of printf() in order to work around bugs in
1036 the Solaris 8 implementation.
1038 2010-01-04 Nick Clifton <nickc@redhat.com>
1040 * po/ru.po: Updated Russian translation.
1042 For older changes see ChangeLog-2009
1048 version-control: never