1 2010-12-01 Kai Tietz <kai.tietz@onevision.com>
4 * dlltool.c (dll_name_set_by_exp_name): New variable.
5 (def_name): Allow setting of dll_name by .def file.
6 (def_library): Likewise.
7 (main): Set dll_name_set_by_exp_name, if dll_name is
8 set indirect by exp_name.
10 2010-11-26 Alan Modra <amodra@gmail.com>
12 * dwarf.c (decode_location_expression, display_debug_frames): Move
13 code handling DW_EH_PE_pcrel into..
14 (get_encoded_value): ..here.
16 2010-11-26 Alan Modra <amodra@gmail.com>
20 2010-11-25 Alan Modra <amodra@gmail.com>
27 * po/zh_CN.po: Update.
29 2010-11-21 H.J. Lu <hongjiu.lu@intel.com>
33 * elfcomm.h: Likewise.
35 * Makefile.am (HFILES): Add elfcomm.h.
36 (CFILES): Add elfcomm.c.
38 (readelf_SOURCES): Add $(ELFLIBS).
39 (elfedit_SOURCES): Likewise.
40 (objdump_SOURCES): Likewise.
41 * Makefile.in: Regenerated.
43 * dwarf.c: Include "elfcomm.h".
45 (byte_get_little_endian): Likewise.
46 (byte_get_big_endian): Likewise.
47 (byte_get_signed): Likewise.
51 * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT.
52 (dwarf_size_type): Likewise.
54 (byte_get_signed): Likewise.
55 (byte_get_little_endian): Likewise.
56 (byte_get_big_endian): Likewise.
60 * elfedit.c: Include "elfcomm.h". Don't include "aout/ar.h".
61 Call error () instead of non_fatal ().
64 (const_strneq): Likewise.
65 (non_fatal): Likewise.
70 (byte_get_little_endian): Likewise.
71 (byte_get_big_endian): Likewise.
72 (byte_put_little_endian): Likewise.
73 (byte_put_big_endian): Likewise.
74 (adjust_relative_path): Likewise.
75 (archive_info): Likewise.
76 (setup_archive): Likewise.
77 (release_archive): Likewise.
78 (setup_nested_archive): Likewise.
79 (get_archive_member_name): Likewise.
80 (get_archive_member_name_at): Likewise.
81 (make_qualified_name): Likewise.
83 * objdump.c: Include "elfcomm.h".
85 * readelf.c: Include "elfcomm.h". Don't include "aout/ar.h".
87 (BYTE_GET_SIGNED): Removed.
90 (const_strneq): Likewise.
92 (byte_put_little_endian): Likewise.
93 (byte_put_big_endian): Likewise.
94 (adjust_relative_path): Likewise.
95 (archive_info): Likewise.
96 (setup_archive): Likewise.
97 (release_archive): Likewise.
98 (setup_nested_archive): Likewise.
99 (get_archive_member_name): Likewise.
100 (get_archive_member_name_at): Likewise.
101 (make_qualified_name): Likewise.
103 2010-11-18 Alan Modra <amodra@gmail.com>
106 * readelf.c (get_archive_member_name): Formatting. Properly
107 handle full size ar_name.
109 2010-11-17 Alan Modra <amodra@gmail.com>
111 * ar.c (print_contents): Don't internationalize strings without words.
112 * dwarf.c (process_extended_line_op): Likewise.
113 (process_debug_info): Likwise.
114 (display_debug_lines_raw): Likewise.
115 (display_debug_lines_decoded): Likewise.
116 (display_debug_abbrev): Likewise.
117 * readelf.c (process_file_header): Likewise.
119 (decode_arm_unwind): Likewise.
120 (process_mips_specific): Likewise.
121 * resrc.c (run_cmd): Likewise.
122 (rcparse_warning): Likewise.
123 * objdump.c (dump_headers): Don't print "Pg".
125 2010-11-16 Jorma Karvonen <karvonen.jorma@gmail.com>
127 * windmc.c: ,%s' -> `%s' in a number of strings.
129 2010-11-16 Jie Zhang <jie.zhang@analog.com>
131 * readelf.c (get_machine_flags): Deal with Blackfin specific flags.
133 2010-11-11 Mingming Sun <mingm.sun@gmail.com>
135 * readelf.c (get_machine_flags): Add loongson-3a.
137 2010-11-10 Nick Clifton <nickc@redhat.com>
139 * po/ja.po: Updated Japanese translation.
140 * po/fr.po: Updated French translation.
142 2010-11-08 Nick Clifton <nickc@redhat.com>
144 * po/ja.po: Updated Japanese translation.
146 2010-11-08 Alan Modra <amodra@gmail.com>
148 * objcopy.c (copy_main): No need to rename sections when compressing
151 2010-11-05 Alan Modra <amodra@gmail.com>
153 * bin2c.c: Remove internationalization and version report.
154 * Makefile.am: Update bin2c rule.
155 * Makefile.in: Regenerate.
157 2010-11-05 Tristan Gingold <gingold@adacore.com>
159 * po/binutils.pot: Regenerate
161 2010-11-05 Tristan Gingold <gingold@adacore.com>
163 * NEWS: Add marker for 2.21.
165 2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
167 * objdump.c (dump_bfd_header): Don't display
168 BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
170 2010-11-02 Joseph Myers <joseph@codesourcery.com>
172 * readelf.c (display_tic6x_attribute): Handle more attributes.
174 2010-10-30 Kai Tietz <kai.tietz@onevision.com>
176 * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
179 2010-10-29 Joseph Myers <joseph@codesourcery.com>
181 * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
182 not hardcoded 32. Display name of this attribute.
184 2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
186 * addr2line.c (process_file): Set BFD_DECOMPRESS.
188 * objcopy.c (do_debug_sections): New.
189 (OPTION_COMPRESS_DEBUG_SECTIONS): New.
190 (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
191 (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
192 OPTION_DECOMPRESS_DEBUG_SECTIONS.
193 (copy_usage): Add --compress-debug-sections and
194 --decompress-debug-sections.
195 (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
196 (copy_section): Replace bfd_get_section_contents with
197 bfd_get_full_section_contents.
198 (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
199 OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to
200 rename DWARF debug sections.
202 * objdump.c (load_specific_debug_section): Replace
203 bfd_get_section_contents with bfd_get_full_section_contents.
204 Remove bfd_uncompress_section_contents.
205 (dump_section): Replace bfd_get_section_contents with
206 bfd_get_full_section_contents.
207 (display_file): Set BFD_DECOMPRESS if needed.
209 * readelf.c (uncompress_section_contents): Set buffer to NULL
210 to indiate decompression failure.
211 (load_specific_debug_section): Always call
212 uncompress_section_contents.
214 * doc/binutils.texi: Document --compress-debug-sections and
215 --decompress-debug-sections.
217 2010-10-29 Nick Clifton <nickc@redhat.com>
220 * ar.c (usage): Revert previous change. Describe how 's' can be
221 used as a command letter.
222 * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
225 2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
226 Joseph Myers <joseph@codesourcery.com>
228 * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
230 2010-10-28 Nick Clifton <nickc@redhat.com>
233 * ar.c (usage): Remove spurious 's' from list of accepted command
236 2010-10-28 Alan Modra <amodra@gmail.com>
238 * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
239 (is_32bit_pcrel_reloc): Support microblaze.
241 2010-10-26 Nick Clifton <nickc@redhat.com>
243 * po/ja.po: Updated Japanese transaltion.
245 2010-10-21 Joseph Myers <joseph@codesourcery.com>
247 * readelf.c (display_tic6x_attribute): Update for attribute
250 2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
252 * dwarf.c (byte_get_signed): Make it extern.
254 * dwarf.h (byte_get_signed): New.
256 * readelf.c (BYTE_GET_SIGNED): New.
257 (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
258 (dump_relocations): Properly dump r_addend.
260 2010-10-08 Joseph Myers <joseph@codesourcery.com>
262 * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
263 (set_print_radix): Update for __MSVCRT__ definition of
266 2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
268 Fix build with -DDEBUG=7
269 * nlmheader.y (DEBUG token): Rename to DEBUG_K.
271 2010-10-06 Alan Modra <amodra@gmail.com>
273 * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
275 2010-10-05 Alan Modra <amodra@gmail.com>
277 * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
278 (bfd_nonfatal_message, report, list_matching_formats): Likewise.
279 (list_supported_targets): Tidy.
280 * objdump.c (free_only_list): Formatting.
281 (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
283 (update_source_path): Delete redundant check for NULL filename.
284 (disassemble_bytes): Error if disassemble_fn returns a value
285 that won't increment address.
286 (disassemble_data): Don't capitalize error message.
287 (read_section_stabs): Likewise.
288 (main): Return non-zero exit status on bad options.
290 2010-10-03 H.J. Lu <hongjiu.lu@intel.com>
293 * nm.c (plugin_target): New.
294 (main): Set plugin_target to "plugin" for --plugin.
295 (display_file): Pass plugin_target to bfd_openr if target
298 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
300 * configure: Regenerate.
302 2010-09-22 Mike Frysinger <vapier@gentoo.org>
304 * MAINTAINERS: Add self as ADI Blackfin maintainer.
306 2010-09-17 H.J. Lu <hongjiu.lu@intel.com>
308 * emul_aix.c (ar_emul_aix_append): Add a target argument
309 and ignore it if it is set.
310 (ar_emul_aix5_append): Likewise.
311 (ar_emul_aix_replace): Likewise.
312 (ar_emul_aix5_replace): Likewise.
314 2010-09-15 H.J. Lu <hongjiu.lu@intel.com>
316 * ar.c (plugin_target): New.
317 (main): Set plugin_target to "plugin" for --plugin.
318 (open_inarch): Initialize target to plugin_target.
319 (replace_members): Pass plugin_target to ar_emul_replace
322 * binemul.h (ar_emul_append): Add a target argument.
323 (ar_emul_default_append): Likewise.
324 (ar_emul_replace): Likewise.
325 (ar_emul_default_replace): Likewise.
326 (bin_emulation_xfer_struct): Add a target argument to
327 ar_append and ar_replace.
329 * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr.
330 (do_ar_emul_default_append): Likewise.
331 (ar_emul_default_append): Likewise.
332 (ar_emul_replace): Likewise.
333 (ar_emul_default_replace): Likewise.
335 2010-09-10 Ben Gardiner <bengardiner@nanometrics.ca>
337 * objcopy.c: Add --interleave-width option to allow interleaving
338 of more than one byte at a time.
339 (copy_width): New variable.
340 (copy_options): Add --interleave-width.
341 (copy_section): When interleaving copy in units of copy_width
343 (copy_main): Parse the new option.
344 * doc/binutils: Document the new option.
345 * NEWS: Mention the new feature.
347 2010-09-09 Jakub Jelinek <jakub@redhat.com>
349 * dwarf.c (decode_location_expression): Fix data adjustment
350 for DW_OP_GNU_implicit_pointer in v3+.
352 2010-09-09 Tristan Gingold <gingold@adacore.com>
354 * NEWS: Add entry to NEWS for hppa/som.
356 2010-09-09 Jakub Jelinek <jakub@redhat.com>
358 * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
359 * dwarf.c (decode_location_expression): Add offset_size and
360 dwarf_version arguments. Prefix DIE offset with 0x for
361 DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
362 complain if in frame info section. Handle
363 DW_OP_GNU_implicit_pointer.
364 (read_and_display_attr_value, display_debug_loc,
365 display_debug_frames): Adjust decode_location_expression callers.
366 (process_debug_info): Save offset_size and dwarf_version values
367 into debug_information array.
369 2010-09-07 Nick Clifton <nickc@redhat.com>
371 * readelf.c (process_section_headers): Mention meaning of 'l'
372 section flag for x86-64 targets.
374 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
375 Jakub Jelinek <jakub@redhat.com>
377 * dwarf.c (regname): New declaration.
378 (decode_location_expression): Print for registers also regname output.
380 2010-09-02 Richard Henderson <rth@redhat.com>
382 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
383 (init_dwarf_regnames): Use them.
384 * dwarf.h: Declare them.
385 * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
386 the regnames, rather than using elf_machine_code.
388 2010-09-02 Richard Henderson <rth@redhat.com>
390 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
392 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
394 * elfedit.c (input_elf_osabi): New.
395 (output_elf_osbi): Likewise.
397 (elf_osabi): Likewise.
398 (update_elf_header): Support updating ELF OSABI.
399 (make_qualified_name): Break long line.
400 (command_line_switch): Add OPTION_INPUT_OSABI and
403 (usage): Add --input-osabi and --output-osabi.
404 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
406 * doc/binutils.texi: Document --input-osabi and --output-osabi
409 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
411 * readelf.c (display_mips_gnu_attribute): Replace GCC options
412 with a textual description of a MIPS32r2 64-bit FPU.
414 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
417 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
419 (get_64bit_elf_symbols): Likewise.
420 (process_symbol_table): Likewise.
421 (process_section_groups): Check for corrupt headers.
422 (process_version_sections): Check for corrupt indicies.
423 (process_corefile_note_segment): Likewise.
425 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
427 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
430 2010-08-13 Tom Tromey <tromey@redhat.com>
432 * dwarf.c (process_debug_info): Don't subtract section address
433 when calculating location of cu abbrev within section.
435 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
438 * readelf.c (get_archive_member_name): Do not read beyond the end
439 of the ar_name field.
441 2010-08-03 Tristan Gingold <gingold@adacore.com>
443 * dwarf.c (display_debug_lines): Mark file argument unused.
444 Do not try to load .debug_info section.
446 2010-08-02 Alan Modra <amodra@gmail.com>
448 * readelf.c (apply_relocations): D30V is really REL.
450 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
451 Ina Pandit <ina.pandit@kpitcummins.com>
453 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
455 2010-07-22 Alan Modra <amodra@gmail.com>
457 * readelf.c: Add Moxie support.
459 2010-07-20 Alan Modra <amodra@gmail.com>
461 * readelf.c (process_program_headers): Don't ignore all zero size
464 2010-07-19 Andreas Schwab <schwab@redhat.com>
466 * readelf.c (process_section_headers): Update key to flags.
468 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
470 * objcopy.c (copy_usage): Tweak previous typofix.
472 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
474 * objcopy.c (copy_usage): Fix a typo.
476 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
478 * dllwrap.c (main): Make sure is_leading_underscore
479 gets initialized with correct default.
481 2010-07-05 Alan Modra <amodra@gmail.com>
483 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
485 2010-07-03 Cary Coutant <ccoutant@google.com>
487 * objdump.c (load_specific_debug_section): Decompress section contents
488 before applying relocations.
489 * readelf.c (load_specific_debug_section): Update section size after
492 2010-06-29 Alan Modra <amodra@gmail.com>
495 * objcopy.c (is_strip_section): Revert 2006-09-05.
496 (setup_section): Make SHT_GROUP section nobits.
498 2010-06-29 Alan Modra <amodra@gmail.com>
500 * configure: Regenerate.
501 * po/POTFILES.in: Regenerate.
503 2010-06-27 Alan Modra <amodra@gmail.com>
505 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
507 2010-06-17 Nick Clifton <nickc@redhat.com>
510 * windres.c (enum option_values): New enum.
511 (long_options): Use separate option number for --include-dir
513 (main): Separate backwards compatibility check from code to
514 implement --include-dir. Check to see if directory exists and do
515 not complain if it does.
517 2010-06-15 Joseph Myers <joseph@codesourcery.com>
519 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
521 (process_arch_specific): Call process_tic6x_specific for
524 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
526 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
529 2010-06-11 Tristan Gingold <gingold@adacore.com>
530 Doug Rupp <rupp@gnat.com>
532 * readelf.c (is_ia64_vms): New function.
533 (dump_relocations): Use it.
534 (get_machine_flags): Display IA-64 OpenVMS flags.
535 (process_program_headers): No error on OpenVMS if no .dynamic section.
536 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
538 (dump_ia64_vms_dynamic_fixups): New function.
539 (dump_ia64_vms_dynamic_relocs): Ditto.
540 (process_ia64_vms_dynamic_relocs): Ditto.
541 (process_relocs): Handle IA-64 OpenVMS relocs.
542 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
543 (print_vms_time): New function.
544 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
545 DT_IA_64_VMS_LNKFLAGS.
546 (get_ia64_symbol_other): New function.
547 (get_symbol_other): Handle EM_IA_64.
549 2010-06-11 Tristan Gingold <gingold@adacore.com>
551 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
552 (UNW_DEC_ABI): Ditto for abiname.
553 (unw_decode_table): Make it const.
555 2010-06-10 Tristan Gingold <gingold@adacore.com>
557 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
560 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
561 Joseph Myers <joseph@codesourcery.com>
562 Andrew Stubbs <ams@codesourcery.com>
564 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
566 2010-05-25 Jay Krell <jay.krell@cornell.edu>
569 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
570 * Makefile.in: Regenerate.
572 2010-05-24 Tristan Gingold <gingold@adacore.com>
574 * readelf.c (usage): Add new trace sections for --debug-dump.
575 (process_section_headers): Handle dump of trace sections.
576 * objdump.c (usage): Add new trace sections for --dwarf.
577 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
578 (do_trace_aranges): Ditto.
579 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
580 and trace_aranges literals.
581 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
582 (do_trace_aranges): Ditto.
583 (process_debug_info): Add abbrev_sec argument and replace
584 abbrev with abbrev_sec.
585 (load_debug_info): Adjust call of process_debug_info.
586 (display_debug_info): Ditto.
587 (display_trace_info): New function.
588 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
589 and trace_aranges sections name.
590 (dwarf_select_sections_all): Also select trace sections.
591 (debug_displays): Reindent. Add entries for the trace sections.
592 * doc/binutils.texi (readelf): Document new --dwarf parameters.
595 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
598 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
601 2010-05-07 Tristan Gingold <gingold@adacore.com>
603 * Makefile.in: Regenerate with automake 1.11.1.
605 * doc/Makefile.in: Ditto.
607 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
609 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
610 * readelf.c (get_elf_section_flags): Likewise.
611 (process_section_headers): Likewise.
613 2010-05-05 Nick Clifton <nickc@redhat.com>
615 * po/es.po: Updated Spanish translation.
617 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
619 * dlltool.c (main): Query for bfd's underscoring default for
622 2010-04-27 Nick Clifton <nickc@redhat.com>
624 * po/ru.po: Updated Russian translation.
626 2010-04-23 Alan Modra <amodra@gmail.com>
628 * readelf.c (process_program_headers): Replace use of
629 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
631 2010-04-22 Nick Clifton <nickc@redhat.com>
633 * po/binutils.pot: Updated by the Translation project.
634 * po/fi.po: Updated Finnish translation.
635 * po/vi.po: Updated Vietnamese translation.
636 * po/bg.po: New Bulgarian translation.
637 * configure.in (ALL_LINGUAS): Add bg.
638 * configure: Regenerate.
640 2010-04-20 Nick Clifton <nickc@redhat.com>
642 * po/fr.po: Updated french translation.
644 2010-04-20 Nick Clifton <nickc@redhat.com>
646 * readelf.c: Add _() macros to constant strings that are
649 * readelf.c (display_mips_gnu_attribute): Replace GCC options
650 with a textual description of single and double precision float.
652 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
654 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
655 (arm_attr_tag_ABI_align8_needed): Remove.
656 (arm_attr_tag_ABI_align8_preserved): Remove.
657 (arm_attr_tag_ABI_HardFP_use): Update text strings.
658 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
659 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
661 2010-04-13 Nick Clifton <nickc@redhat.com>
664 * dwarf.c (process_debug_info): Initialise the signature array.
666 2010-04-09 Nick Clifton <nickc@redhat.com>
668 * dwarf.c (process_debug_info): Remove unused variable
669 cu_abbrev_offset_ptr.
670 (display_debug_lines_decoded): Remove unused variable prev_line.
671 * elfedit.c (process_archive): Remove unused variable
673 * ieee.c (ieee_start_compilation_unit): Remove unused variable
675 (ieee_set_type): Remove unused variables info, targetindx and
677 * objdump.c (disassmble_byte): Remove unused variable done_dot.
678 * rddbg.c (read_section_stabs_debugging_info): Remove unused
680 * readelf.c (dump_section_as_strings): Remove unused variable
682 (process_archive): Remove unused variable file_name_size.
683 * stabs.c (parse_stab_string): Mark desc parameter as unused.
684 Remove unused variable lineno.
685 (parse_stab_struct_type): Remove unused variable orig.
686 (stab_demangle_type): Remove unused variables constp, volatilep
689 2010-04-07 Alan Modra <amodra@gmail.com>
691 * configure: Regenerate.
693 2010-04-06 Nick Clifton <nickc@redhat.com>
695 * po/vi.po: Updated Vietnamese translation.
697 2010-04-05 Jakub Jelinek <jakub@redhat.com>
699 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
701 (display_debug_frames): Handle CIE version 4.
703 * dwarf.c (struct State_Machine_Registers): Add op_index field,
704 change end_sequence type to unsigned char.
705 (reset_state_machine): Clear op_index.
706 (process_extended_line_op): For DW_LNE_set_address clear op_index.
707 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
708 Track op_index state machine register and print it if
709 li_max_ops_per_insn is != 1.
710 (display_debug_lines_decoded): Likewise.
712 2010-04-01 Jakub Jelinek <jakub@redhat.com>
714 * dwarf.c (read_and_display_attr_value): Don't reject
715 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
717 (process_debug_info): Handle cu_version == 4.
718 (display_debug_lines_raw, display_debug_lines_decoded): Handle
721 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
723 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
724 * Makefile.in: Regenerate.
726 2010-03-25 Joseph Myers <joseph@codesourcery.com>
728 * MAINTAINERS: Add self as TI C6X maintainer.
729 * NEWS: Add news entry for TI C6X support.
730 * readelf.c: Include elf/tic6x.h.
731 (guess_is_rela): Handle EM_TI_C6000.
732 (dump_relocations): Likewise.
733 (get_tic6x_dynamic_type): New.
734 (get_dynamic_type): Call it.
735 (get_machine_flags): Handle EF_C6000_REL.
736 (get_osabi_name): Handle machine-specific values only for relevant
737 machines. Handle C6X values.
738 (get_tic6x_segment_type): New.
739 (get_segment_type): Call it.
740 (get_tic6x_section_type_name): New.
741 (get_section_type_name): Call it.
742 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
745 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
747 * doc/binutils.texi (readelf) <unwind information>: Mention support for
750 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
752 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
754 2010-03-17 Alan Modra <amodra@gmail.com>
756 * readelf.c (dump_arm_unwind): Warning fix.
758 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
760 * MAINTAINERS: Update my email address. List Tristan Gingold
761 as the release branch maintainer.
763 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
765 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
767 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
769 * NEWS: Document .ARM.exidx / .ARM.extab support.
771 * dwarf.c (read_leb128): Make non-static.
772 * dwarf.h (read_leb128): Declare.
773 * readelf.c (REMOVE_ARCH_BITS): Define.
774 (find_section_by_address): New.
775 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
776 (find_symbol_for_address): Handle the Thumb bit for ARM, by
777 using REMOVE_ARCH_BITS.
778 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
779 (arm_free_section, arm_section_get_word, decode_arm_unwind)
780 (dump_arm_unwind, arm_process_unwind): New.
781 (process_unwind): Handle ARM.
783 2010-02-26 Jie Zhang <jie@codesourcery.com>
785 * MAINTAINERS: Update my email address.
787 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
790 * doc/binutils.texi (windmc): Fix synopsis and description of
793 2010-02-19 Alan Modra <amodra@gmail.com>
795 * readelf.c (get_group_flags): Return empty string when flags zero.
796 Add space in other returned values.
797 (process_section_groups): Adjust format string.
799 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
801 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
802 newly permitted attribute values.
803 (arm_attr_tag_Virtualization_use): Likewise.
804 (arm_attr_tag_DIV_use): Add description of new attribute.
805 (arm_attr_tag_MPextension_use_legacy): Likewise.
807 2010-02-15 Nick Clifton <nickc@redhat.com>
809 * po/vi.po: Updated Vietnamese translation.
811 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
813 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
814 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
816 2010-02-08 Jim Blandy <jimb@red-bean.com>
818 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
819 'z' augmentation strings.
821 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
823 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
824 a new address, so as not to reuse a previous, non-related reloc.
826 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
828 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
830 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
832 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
835 2010-01-28 Nick Clifton <nickc@redhat.com>
838 * objdump.c (only): Replace with linked list.
839 (only_size, only_used): Replace with only_list.
840 (process_section_p): Set seen field on matches sections.
841 (add_only): New function.
842 (free_only_list): New function.
843 (disassemble_section): Check only_list.
844 (main): Use add_only and free_only_list.
846 2010-01-26 Tristan Gingold <gingold@adacore.com>
848 * Makefile.am (bin2c): Add libintl dependance and library.
849 * Makefile.in: Regenerate.
851 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
853 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
855 2010-01-19 Ian Lance Taylor <iant@google.com>
857 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
858 with non-ordinary files like /dev/null.
860 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
861 Alan Modra <amodra@gmail.com>
863 * readelf.c (process_file_header): Handle e_phnum extension.
865 2010-01-14 Tristan Gingold <gingold@adacore.com>
867 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
868 and DW_AT_GNAT_descriptive_type.
870 2010-01-13 Tristan Gingold <gingold@adacore.com>
872 * ar.c (main): Use lbasename.
874 * objdump.c (update_source_path): Ditto.
876 2010-01-12 Tristan Gingold <gingold@adacore.com>
878 * makefile.vms (CFLAGS): Turns warnings into informational messages.
880 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
883 * NEWS: Mention --dyn-syms for readelf.
885 * readelf.c (do_dyn_syms): New.
886 (OPTION_DYN_SYMS): Likewise.
887 (options): Add "dyn-syms".
888 (usage): Add --dyn-syms.
889 (parse_args): Handle OPTION_DYN_SYMS.
890 (process_symbol_table): Handle do_dyn_syms.
891 (process_object): Likewise.
892 (process_archive): Likewise.
894 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
895 symbol hash tables for -D.
897 2010-01-11 Nick Clifton <nickc@redhat.com>
899 * NEWS: Mention addition of elfedit.
901 * po/fi.po: Updated Finnish translation.
903 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
905 * Makefile.in: Regenerate.
906 * configure: Regenerate.
907 * doc/Makefile.in: Regenerate.
909 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
911 * version.c (print_version): Change to "Copyright 2010".
913 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
915 * elfedit.c (input_elf_type): New.
916 (output_elf_type): Likewise.
917 (elf_type): Likewise.
918 (update_elf_header): Support updating ELF file type.
919 (command_line_switch): Add OPTION_INPUT_TYPE and
922 (usage): Add --input-type and --output-type.
923 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
924 one of --output-mach and --output-type must be specified.
926 * doc/binutils.texi: Document --input-type and --output-type
929 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
931 * doc/binutils.texi: Fix a typo.
933 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
935 * elfedit.c (update_elf_header): Don't change input_elf_class
936 nor input_elf_machine if they are -1.
938 2010-01-08 Tristan Gingold <gingold@adacore.com>
940 * ar.c: Remove bfd_special_undocumented_glue prototype.
942 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
944 * elfedit.c (update_elf_header): Reformat.
946 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
948 * readelf.c (usage): Fix indent for --symbols.
950 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
952 * doc/binutils.texi: Replace -histogram with --histogram.
954 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
957 * Makefile.am (ELFEDIT_PROG): New.
958 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
959 (CFILES): Add elfedit.c.
960 (elfedit_DEPENDENCIES): New.
961 (elfedit_SOURCES): Likewise.
962 (elfedit_LDADD): Likewise.
963 * Makefile.in: Regenerated.
967 * doc/binutils.texi: Document elfedit.
969 * doc/Makefile.am (man_MANS): Add elfedit.1.
971 * doc/Makefile.in: Regenerated.
973 2010-01-06 Tristan Gingold <gingold@adacore.com>
975 * nm.c (usage): Remove extra blanks.
977 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
979 * objcopy.c: Update copyright.
980 * readelf.c: Likewise.
982 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
985 * objcopy.c (copy_object): Remove "Warning: " from error
988 2010-01-04 Nick Clifton <nickc@redhat.com>
991 * readelf.c (dump_section_as_strings): Use two separate
992 invocations of printf() in order to work around bugs in
993 the Solaris 8 implementation.
995 2010-01-04 Nick Clifton <nickc@redhat.com>
997 * po/ru.po: Updated Russian translation.
999 For older changes see ChangeLog-2009
1005 version-control: never