1 2010-12-08 Arnaud Lacombe <lacombar@gmail.com>
3 * ar.c (operation): New global variable.
4 (show_version): Likewise.
6 (long_options): Likewise.
7 (usage): Fix help string argument order.
9 (ranlib_main): Use getopt_long.
10 (main): Use decode_options.
12 * ar.c (main): Split ranlib path.
16 2010-12-03 Doug Evans <dje@google.com>
18 * dwarf.c: #include "bfd_stdint.h".
19 (do_gdb_index): New global.
20 (display_gdb_index): New function.
21 (dwarf_select_sections_by_names) Add "gdb_index".
22 (dwarf_select_sections_all): Set do_gdb_index.
23 (debug_displays): Add .gdb_index.
24 * dwarf.h (do_gdb_index): Declare.
25 * objdump.c (usage): Add gdb_index.
26 * readelf.c (usage): Add gdb_index.
27 (process_section_headers): Process ".gdb_index".
28 * doc/binutils.texi (readelf): Document gdb_index dump.
31 2010-12-01 Kai Tietz <kai.tietz@onevision.com>
34 * dlltool.c (dll_name_set_by_exp_name): New variable.
35 (def_name): Allow setting of dll_name by .def file.
36 (def_library): Likewise.
37 (main): Set dll_name_set_by_exp_name, if dll_name is
38 set indirect by exp_name.
40 2010-11-26 Alan Modra <amodra@gmail.com>
42 * dwarf.c (decode_location_expression, display_debug_frames): Move
43 code handling DW_EH_PE_pcrel into..
44 (get_encoded_value): ..here.
46 2010-11-26 Alan Modra <amodra@gmail.com>
50 2010-11-25 Alan Modra <amodra@gmail.com>
57 * po/zh_CN.po: Update.
59 2010-11-21 H.J. Lu <hongjiu.lu@intel.com>
63 * elfcomm.h: Likewise.
65 * Makefile.am (HFILES): Add elfcomm.h.
66 (CFILES): Add elfcomm.c.
68 (readelf_SOURCES): Add $(ELFLIBS).
69 (elfedit_SOURCES): Likewise.
70 (objdump_SOURCES): Likewise.
71 * Makefile.in: Regenerated.
73 * dwarf.c: Include "elfcomm.h".
75 (byte_get_little_endian): Likewise.
76 (byte_get_big_endian): Likewise.
77 (byte_get_signed): Likewise.
81 * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT.
82 (dwarf_size_type): Likewise.
84 (byte_get_signed): Likewise.
85 (byte_get_little_endian): Likewise.
86 (byte_get_big_endian): Likewise.
90 * elfedit.c: Include "elfcomm.h". Don't include "aout/ar.h".
91 Call error () instead of non_fatal ().
94 (const_strneq): Likewise.
95 (non_fatal): Likewise.
100 (byte_get_little_endian): Likewise.
101 (byte_get_big_endian): Likewise.
102 (byte_put_little_endian): Likewise.
103 (byte_put_big_endian): Likewise.
104 (adjust_relative_path): Likewise.
105 (archive_info): Likewise.
106 (setup_archive): Likewise.
107 (release_archive): Likewise.
108 (setup_nested_archive): Likewise.
109 (get_archive_member_name): Likewise.
110 (get_archive_member_name_at): Likewise.
111 (make_qualified_name): Likewise.
113 * objdump.c: Include "elfcomm.h".
115 * readelf.c: Include "elfcomm.h". Don't include "aout/ar.h".
117 (BYTE_GET_SIGNED): Removed.
120 (const_strneq): Likewise.
121 (byte_put): Likewise.
122 (byte_put_little_endian): Likewise.
123 (byte_put_big_endian): Likewise.
124 (adjust_relative_path): Likewise.
125 (archive_info): Likewise.
126 (setup_archive): Likewise.
127 (release_archive): Likewise.
128 (setup_nested_archive): Likewise.
129 (get_archive_member_name): Likewise.
130 (get_archive_member_name_at): Likewise.
131 (make_qualified_name): Likewise.
133 2010-11-18 Alan Modra <amodra@gmail.com>
136 * readelf.c (get_archive_member_name): Formatting. Properly
137 handle full size ar_name.
139 2010-11-17 Alan Modra <amodra@gmail.com>
141 * ar.c (print_contents): Don't internationalize strings without words.
142 * dwarf.c (process_extended_line_op): Likewise.
143 (process_debug_info): Likwise.
144 (display_debug_lines_raw): Likewise.
145 (display_debug_lines_decoded): Likewise.
146 (display_debug_abbrev): Likewise.
147 * readelf.c (process_file_header): Likewise.
149 (decode_arm_unwind): Likewise.
150 (process_mips_specific): Likewise.
151 * resrc.c (run_cmd): Likewise.
152 (rcparse_warning): Likewise.
153 * objdump.c (dump_headers): Don't print "Pg".
155 2010-11-16 Jorma Karvonen <karvonen.jorma@gmail.com>
157 * windmc.c: ,%s' -> `%s' in a number of strings.
159 2010-11-16 Jie Zhang <jie.zhang@analog.com>
161 * readelf.c (get_machine_flags): Deal with Blackfin specific flags.
163 2010-11-11 Mingming Sun <mingm.sun@gmail.com>
165 * readelf.c (get_machine_flags): Add loongson-3a.
167 2010-11-10 Nick Clifton <nickc@redhat.com>
169 * po/ja.po: Updated Japanese translation.
170 * po/fr.po: Updated French translation.
172 2010-11-08 Nick Clifton <nickc@redhat.com>
174 * po/ja.po: Updated Japanese translation.
176 2010-11-08 Alan Modra <amodra@gmail.com>
178 * objcopy.c (copy_main): No need to rename sections when compressing
181 2010-11-05 Alan Modra <amodra@gmail.com>
183 * bin2c.c: Remove internationalization and version report.
184 * Makefile.am: Update bin2c rule.
185 * Makefile.in: Regenerate.
187 2010-11-05 Tristan Gingold <gingold@adacore.com>
189 * po/binutils.pot: Regenerate
191 2010-11-05 Tristan Gingold <gingold@adacore.com>
193 * NEWS: Add marker for 2.21.
195 2010-11-02 H.J. Lu <hongjiu.lu@intel.com>
197 * objdump.c (dump_bfd_header): Don't display
198 BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
200 2010-11-02 Joseph Myers <joseph@codesourcery.com>
202 * readelf.c (display_tic6x_attribute): Handle more attributes.
204 2010-10-30 Kai Tietz <kai.tietz@onevision.com>
206 * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
209 2010-10-29 Joseph Myers <joseph@codesourcery.com>
211 * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
212 not hardcoded 32. Display name of this attribute.
214 2010-10-29 H.J. Lu <hongjiu.lu@intel.com>
216 * addr2line.c (process_file): Set BFD_DECOMPRESS.
218 * objcopy.c (do_debug_sections): New.
219 (OPTION_COMPRESS_DEBUG_SECTIONS): New.
220 (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
221 (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
222 OPTION_DECOMPRESS_DEBUG_SECTIONS.
223 (copy_usage): Add --compress-debug-sections and
224 --decompress-debug-sections.
225 (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
226 (copy_section): Replace bfd_get_section_contents with
227 bfd_get_full_section_contents.
228 (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
229 OPTION_DECOMPRESS_DEBUG_SECTIONS. Check do_debug_sections to
230 rename DWARF debug sections.
232 * objdump.c (load_specific_debug_section): Replace
233 bfd_get_section_contents with bfd_get_full_section_contents.
234 Remove bfd_uncompress_section_contents.
235 (dump_section): Replace bfd_get_section_contents with
236 bfd_get_full_section_contents.
237 (display_file): Set BFD_DECOMPRESS if needed.
239 * readelf.c (uncompress_section_contents): Set buffer to NULL
240 to indiate decompression failure.
241 (load_specific_debug_section): Always call
242 uncompress_section_contents.
244 * doc/binutils.texi: Document --compress-debug-sections and
245 --decompress-debug-sections.
247 2010-10-29 Nick Clifton <nickc@redhat.com>
250 * ar.c (usage): Revert previous change. Describe how 's' can be
251 used as a command letter.
252 * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
255 2010-10-29 Bernd Schmidt <bernds@codesourcery.com>
256 Joseph Myers <joseph@codesourcery.com>
258 * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
260 2010-10-28 Nick Clifton <nickc@redhat.com>
263 * ar.c (usage): Remove spurious 's' from list of accepted command
266 2010-10-28 Alan Modra <amodra@gmail.com>
268 * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
269 (is_32bit_pcrel_reloc): Support microblaze.
271 2010-10-26 Nick Clifton <nickc@redhat.com>
273 * po/ja.po: Updated Japanese transaltion.
275 2010-10-21 Joseph Myers <joseph@codesourcery.com>
277 * readelf.c (display_tic6x_attribute): Update for attribute
280 2010-10-08 H.J. Lu <hongjiu.lu@intel.com>
282 * dwarf.c (byte_get_signed): Make it extern.
284 * dwarf.h (byte_get_signed): New.
286 * readelf.c (BYTE_GET_SIGNED): New.
287 (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
288 (dump_relocations): Properly dump r_addend.
290 2010-10-08 Joseph Myers <joseph@codesourcery.com>
292 * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
293 (set_print_radix): Update for __MSVCRT__ definition of
296 2010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
298 Fix build with -DDEBUG=7
299 * nlmheader.y (DEBUG token): Rename to DEBUG_K.
301 2010-10-06 Alan Modra <amodra@gmail.com>
303 * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
305 2010-10-05 Alan Modra <amodra@gmail.com>
307 * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
308 (bfd_nonfatal_message, report, list_matching_formats): Likewise.
309 (list_supported_targets): Tidy.
310 * objdump.c (free_only_list): Formatting.
311 (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
313 (update_source_path): Delete redundant check for NULL filename.
314 (disassemble_bytes): Error if disassemble_fn returns a value
315 that won't increment address.
316 (disassemble_data): Don't capitalize error message.
317 (read_section_stabs): Likewise.
318 (main): Return non-zero exit status on bad options.
320 2010-10-03 H.J. Lu <hongjiu.lu@intel.com>
323 * nm.c (plugin_target): New.
324 (main): Set plugin_target to "plugin" for --plugin.
325 (display_file): Pass plugin_target to bfd_openr if target
328 2010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
330 * configure: Regenerate.
332 2010-09-22 Mike Frysinger <vapier@gentoo.org>
334 * MAINTAINERS: Add self as ADI Blackfin maintainer.
336 2010-09-17 H.J. Lu <hongjiu.lu@intel.com>
338 * emul_aix.c (ar_emul_aix_append): Add a target argument
339 and ignore it if it is set.
340 (ar_emul_aix5_append): Likewise.
341 (ar_emul_aix_replace): Likewise.
342 (ar_emul_aix5_replace): Likewise.
344 2010-09-15 H.J. Lu <hongjiu.lu@intel.com>
346 * ar.c (plugin_target): New.
347 (main): Set plugin_target to "plugin" for --plugin.
348 (open_inarch): Initialize target to plugin_target.
349 (replace_members): Pass plugin_target to ar_emul_replace
352 * binemul.h (ar_emul_append): Add a target argument.
353 (ar_emul_default_append): Likewise.
354 (ar_emul_replace): Likewise.
355 (ar_emul_default_replace): Likewise.
356 (bin_emulation_xfer_struct): Add a target argument to
357 ar_append and ar_replace.
359 * binemul.c (ar_emul_append): Updated. Pass target to bfd_openr.
360 (do_ar_emul_default_append): Likewise.
361 (ar_emul_default_append): Likewise.
362 (ar_emul_replace): Likewise.
363 (ar_emul_default_replace): Likewise.
365 2010-09-10 Ben Gardiner <bengardiner@nanometrics.ca>
367 * objcopy.c: Add --interleave-width option to allow interleaving
368 of more than one byte at a time.
369 (copy_width): New variable.
370 (copy_options): Add --interleave-width.
371 (copy_section): When interleaving copy in units of copy_width
373 (copy_main): Parse the new option.
374 * doc/binutils: Document the new option.
375 * NEWS: Mention the new feature.
377 2010-09-09 Jakub Jelinek <jakub@redhat.com>
379 * dwarf.c (decode_location_expression): Fix data adjustment
380 for DW_OP_GNU_implicit_pointer in v3+.
382 2010-09-09 Tristan Gingold <gingold@adacore.com>
384 * NEWS: Add entry to NEWS for hppa/som.
386 2010-09-09 Jakub Jelinek <jakub@redhat.com>
388 * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
389 * dwarf.c (decode_location_expression): Add offset_size and
390 dwarf_version arguments. Prefix DIE offset with 0x for
391 DW_OP_call{2,4,_ref}. Fix up DW_OP_call_ref operand size,
392 complain if in frame info section. Handle
393 DW_OP_GNU_implicit_pointer.
394 (read_and_display_attr_value, display_debug_loc,
395 display_debug_frames): Adjust decode_location_expression callers.
396 (process_debug_info): Save offset_size and dwarf_version values
397 into debug_information array.
399 2010-09-07 Nick Clifton <nickc@redhat.com>
401 * readelf.c (process_section_headers): Mention meaning of 'l'
402 section flag for x86-64 targets.
404 2010-09-03 Jan Kratochvil <jan.kratochvil@redhat.com>
405 Jakub Jelinek <jakub@redhat.com>
407 * dwarf.c (regname): New declaration.
408 (decode_location_expression): Print for registers also regname output.
410 2010-09-02 Richard Henderson <rth@redhat.com>
412 * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
413 (init_dwarf_regnames): Use them.
414 * dwarf.h: Declare them.
415 * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
416 the regnames, rather than using elf_machine_code.
418 2010-09-02 Richard Henderson <rth@redhat.com>
420 * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
422 2010-08-23 H.J. Lu <hongjiu.lu@intel.com>
424 * elfedit.c (input_elf_osabi): New.
425 (output_elf_osbi): Likewise.
427 (elf_osabi): Likewise.
428 (update_elf_header): Support updating ELF OSABI.
429 (make_qualified_name): Break long line.
430 (command_line_switch): Add OPTION_INPUT_OSABI and
433 (usage): Add --input-osabi and --output-osabi.
434 (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
436 * doc/binutils.texi: Document --input-osabi and --output-osabi
439 2010-08-23 Maciej W. Rozycki <macro@codesourcery.com>
441 * readelf.c (display_mips_gnu_attribute): Replace GCC options
442 with a textual description of a MIPS32r2 64-bit FPU.
444 2010-08-13 Dan Rosenberg <dan.j.rosenberg@gmail.com>
447 * readelf.c (get_32bit_elf_symbols): Check for a corrupt
449 (get_64bit_elf_symbols): Likewise.
450 (process_symbol_table): Likewise.
451 (process_section_groups): Check for corrupt headers.
452 (process_version_sections): Check for corrupt indicies.
453 (process_corefile_note_segment): Likewise.
455 2010-08-13 Nathan Sidwell <nathan@codesourcery.com>
457 * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
460 2010-08-13 Tom Tromey <tromey@redhat.com>
462 * dwarf.c (process_debug_info): Don't subtract section address
463 when calculating location of cu abbrev within section.
465 2010-08-12 Michael Haubenwallner <haubi@gentoo.org>
468 * readelf.c (get_archive_member_name): Do not read beyond the end
469 of the ar_name field.
471 2010-08-03 Tristan Gingold <gingold@adacore.com>
473 * dwarf.c (display_debug_lines): Mark file argument unused.
474 Do not try to load .debug_info section.
476 2010-08-02 Alan Modra <amodra@gmail.com>
478 * readelf.c (apply_relocations): D30V is really REL.
480 2010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
481 Ina Pandit <ina.pandit@kpitcummins.com>
483 * binutils/readelf.c: Add support for V850E2 and V850E2V3.
485 2010-07-22 Alan Modra <amodra@gmail.com>
487 * readelf.c: Add Moxie support.
489 2010-07-20 Alan Modra <amodra@gmail.com>
491 * readelf.c (process_program_headers): Don't ignore all zero size
494 2010-07-19 Andreas Schwab <schwab@redhat.com>
496 * readelf.c (process_section_headers): Update key to flags.
498 2010-07-17 Dave Korn <dave.korn.cygwin@gmail.com>
500 * objcopy.c (copy_usage): Tweak previous typofix.
502 2010-07-17 H.J. Lu <hongjiu.lu@intel.com>
504 * objcopy.c (copy_usage): Fix a typo.
506 2010-07-15 Kai Tietz <kai.tietz@onevision.com>
508 * dllwrap.c (main): Make sure is_leading_underscore
509 gets initialized with correct default.
511 2010-07-05 Alan Modra <amodra@gmail.com>
513 * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
515 2010-07-03 Cary Coutant <ccoutant@google.com>
517 * objdump.c (load_specific_debug_section): Decompress section contents
518 before applying relocations.
519 * readelf.c (load_specific_debug_section): Update section size after
522 2010-06-29 Alan Modra <amodra@gmail.com>
525 * objcopy.c (is_strip_section): Revert 2006-09-05.
526 (setup_section): Make SHT_GROUP section nobits.
528 2010-06-29 Alan Modra <amodra@gmail.com>
530 * configure: Regenerate.
531 * po/POTFILES.in: Regenerate.
533 2010-06-27 Alan Modra <amodra@gmail.com>
535 * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
537 2010-06-17 Nick Clifton <nickc@redhat.com>
540 * windres.c (enum option_values): New enum.
541 (long_options): Use separate option number for --include-dir
543 (main): Separate backwards compatibility check from code to
544 implement --include-dir. Check to see if directory exists and do
545 not complain if it does.
547 2010-06-15 Joseph Myers <joseph@codesourcery.com>
549 * readelf.c (display_tic6x_attribute, process_tic6x_specific):
551 (process_arch_specific): Call process_tic6x_specific for
554 2010-06-11 H.J. Lu <hongjiu.lu@intel.com>
556 * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
559 2010-06-11 Tristan Gingold <gingold@adacore.com>
560 Doug Rupp <rupp@gnat.com>
562 * readelf.c (is_ia64_vms): New function.
563 (dump_relocations): Use it.
564 (get_machine_flags): Display IA-64 OpenVMS flags.
565 (process_program_headers): No error on OpenVMS if no .dynamic section.
566 (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
568 (dump_ia64_vms_dynamic_fixups): New function.
569 (dump_ia64_vms_dynamic_relocs): Ditto.
570 (process_ia64_vms_dynamic_relocs): Ditto.
571 (process_relocs): Handle IA-64 OpenVMS relocs.
572 (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
573 (print_vms_time): New function.
574 (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
575 DT_IA_64_VMS_LNKFLAGS.
576 (get_ia64_symbol_other): New function.
577 (get_symbol_other): Handle EM_IA_64.
579 2010-06-11 Tristan Gingold <gingold@adacore.com>
581 * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
582 (UNW_DEC_ABI): Ditto for abiname.
583 (unw_decode_table): Make it const.
585 2010-06-10 Tristan Gingold <gingold@adacore.com>
587 * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
590 2010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
591 Joseph Myers <joseph@codesourcery.com>
592 Andrew Stubbs <ams@codesourcery.com>
594 * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
596 2010-05-25 Jay Krell <jay.krell@cornell.edu>
599 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
600 * Makefile.in: Regenerate.
602 2010-05-24 Tristan Gingold <gingold@adacore.com>
604 * readelf.c (usage): Add new trace sections for --debug-dump.
605 (process_section_headers): Handle dump of trace sections.
606 * objdump.c (usage): Add new trace sections for --dwarf.
607 * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
608 (do_trace_aranges): Ditto.
609 (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
610 and trace_aranges literals.
611 * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
612 (do_trace_aranges): Ditto.
613 (process_debug_info): Add abbrev_sec argument and replace
614 abbrev with abbrev_sec.
615 (load_debug_info): Adjust call of process_debug_info.
616 (display_debug_info): Ditto.
617 (display_trace_info): New function.
618 (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
619 and trace_aranges sections name.
620 (dwarf_select_sections_all): Also select trace sections.
621 (debug_displays): Reindent. Add entries for the trace sections.
622 * doc/binutils.texi (readelf): Document new --dwarf parameters.
625 2010-05-18 H.J. Lu <hongjiu.lu@intel.com>
628 * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
631 2010-05-07 Tristan Gingold <gingold@adacore.com>
633 * Makefile.in: Regenerate with automake 1.11.1.
635 * doc/Makefile.in: Ditto.
637 2010-05-06 H.J. Lu <hongjiu.lu@intel.com>
639 * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
640 * readelf.c (get_elf_section_flags): Likewise.
641 (process_section_headers): Likewise.
643 2010-05-05 Nick Clifton <nickc@redhat.com>
645 * po/es.po: Updated Spanish translation.
647 2010-04-27 Kai Tietz <kai.tietz@onevision.com>
649 * dlltool.c (main): Query for bfd's underscoring default for
652 2010-04-27 Nick Clifton <nickc@redhat.com>
654 * po/ru.po: Updated Russian translation.
656 2010-04-23 Alan Modra <amodra@gmail.com>
658 * readelf.c (process_program_headers): Replace use of
659 ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
661 2010-04-22 Nick Clifton <nickc@redhat.com>
663 * po/binutils.pot: Updated by the Translation project.
664 * po/fi.po: Updated Finnish translation.
665 * po/vi.po: Updated Vietnamese translation.
666 * po/bg.po: New Bulgarian translation.
667 * configure.in (ALL_LINGUAS): Add bg.
668 * configure: Regenerate.
670 2010-04-20 Nick Clifton <nickc@redhat.com>
672 * po/fr.po: Updated french translation.
674 2010-04-20 Nick Clifton <nickc@redhat.com>
676 * readelf.c: Add _() macros to constant strings that are
679 * readelf.c (display_mips_gnu_attribute): Replace GCC options
680 with a textual description of single and double precision float.
682 2010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
684 * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
685 (arm_attr_tag_ABI_align8_needed): Remove.
686 (arm_attr_tag_ABI_align8_preserved): Remove.
687 (arm_attr_tag_ABI_HardFP_use): Update text strings.
688 (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
689 (display_arm_attribute): Add decoding of ABI v2.08 attributes.
691 2010-04-13 Nick Clifton <nickc@redhat.com>
694 * dwarf.c (process_debug_info): Initialise the signature array.
696 2010-04-09 Nick Clifton <nickc@redhat.com>
698 * dwarf.c (process_debug_info): Remove unused variable
699 cu_abbrev_offset_ptr.
700 (display_debug_lines_decoded): Remove unused variable prev_line.
701 * elfedit.c (process_archive): Remove unused variable
703 * ieee.c (ieee_start_compilation_unit): Remove unused variable
705 (ieee_set_type): Remove unused variables info, targetindx and
707 * objdump.c (disassmble_byte): Remove unused variable done_dot.
708 * rddbg.c (read_section_stabs_debugging_info): Remove unused
710 * readelf.c (dump_section_as_strings): Remove unused variable
712 (process_archive): Remove unused variable file_name_size.
713 * stabs.c (parse_stab_string): Mark desc parameter as unused.
714 Remove unused variable lineno.
715 (parse_stab_struct_type): Remove unused variable orig.
716 (stab_demangle_type): Remove unused variables constp, volatilep
719 2010-04-07 Alan Modra <amodra@gmail.com>
721 * configure: Regenerate.
723 2010-04-06 Nick Clifton <nickc@redhat.com>
725 * po/vi.po: Updated Vietnamese translation.
727 2010-04-05 Jakub Jelinek <jakub@redhat.com>
729 * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
731 (display_debug_frames): Handle CIE version 4.
733 * dwarf.c (struct State_Machine_Registers): Add op_index field,
734 change end_sequence type to unsigned char.
735 (reset_state_machine): Clear op_index.
736 (process_extended_line_op): For DW_LNE_set_address clear op_index.
737 (display_debug_lines_raw): Initialize li_max_ops_per_insn.
738 Track op_index state machine register and print it if
739 li_max_ops_per_insn is != 1.
740 (display_debug_lines_decoded): Likewise.
742 2010-04-01 Jakub Jelinek <jakub@redhat.com>
744 * dwarf.c (read_and_display_attr_value): Don't reject
745 dwarf_version == 4. Handle DW_FORM_sec_offset, DW_FORM_flag_present
747 (process_debug_info): Handle cu_version == 4.
748 (display_debug_lines_raw, display_debug_lines_decoded): Handle
751 2010-03-30 Andreas Schwab <schwab@linux-m68k.org>
753 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
754 * Makefile.in: Regenerate.
756 2010-03-25 Joseph Myers <joseph@codesourcery.com>
758 * MAINTAINERS: Add self as TI C6X maintainer.
759 * NEWS: Add news entry for TI C6X support.
760 * readelf.c: Include elf/tic6x.h.
761 (guess_is_rela): Handle EM_TI_C6000.
762 (dump_relocations): Likewise.
763 (get_tic6x_dynamic_type): New.
764 (get_dynamic_type): Call it.
765 (get_machine_flags): Handle EF_C6000_REL.
766 (get_osabi_name): Handle machine-specific values only for relevant
767 machines. Handle C6X values.
768 (get_tic6x_segment_type): New.
769 (get_segment_type): Call it.
770 (get_tic6x_section_type_name): New.
771 (get_section_type_name): Call it.
772 (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
775 2010-03-25 Thomas Schwinge <thomas@codesourcery.com>
777 * doc/binutils.texi (readelf) <unwind information>: Mention support for
780 2010-03-18 H.J. Lu <hongjiu.lu@intel.com>
782 * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
784 2010-03-17 Alan Modra <amodra@gmail.com>
786 * readelf.c (dump_arm_unwind): Warning fix.
788 2010-03-16 Daniel Jacobowitz <dan@codesourcery.com>
790 * MAINTAINERS: Update my email address. List Tristan Gingold
791 as the release branch maintainer.
793 2010-03-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
795 * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
797 2010-03-02 Daniel Jacobowitz <dan@codesourcery.com>
799 * NEWS: Document .ARM.exidx / .ARM.extab support.
801 * dwarf.c (read_leb128): Make non-static.
802 * dwarf.h (read_leb128): Declare.
803 * readelf.c (REMOVE_ARCH_BITS): Define.
804 (find_section_by_address): New.
805 (read_uleb128): Move higher. Use read_leb128 from dwarf.c.
806 (find_symbol_for_address): Handle the Thumb bit for ARM, by
807 using REMOVE_ARCH_BITS.
808 (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
809 (arm_free_section, arm_section_get_word, decode_arm_unwind)
810 (dump_arm_unwind, arm_process_unwind): New.
811 (process_unwind): Handle ARM.
813 2010-02-26 Jie Zhang <jie@codesourcery.com>
815 * MAINTAINERS: Update my email address.
817 2010-02-23 Peter Breitenlohner <peb@mppmu.mpg.de>
820 * doc/binutils.texi (windmc): Fix synopsis and description of
823 2010-02-19 Alan Modra <amodra@gmail.com>
825 * readelf.c (get_group_flags): Return empty string when flags zero.
826 Add space in other returned values.
827 (process_section_groups): Adjust format string.
829 2010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
831 * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
832 newly permitted attribute values.
833 (arm_attr_tag_Virtualization_use): Likewise.
834 (arm_attr_tag_DIV_use): Add description of new attribute.
835 (arm_attr_tag_MPextension_use_legacy): Likewise.
837 2010-02-15 Nick Clifton <nickc@redhat.com>
839 * po/vi.po: Updated Vietnamese translation.
841 2010-02-09 Michael Holzheu <holzheu@de.ibm.com>
843 * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
844 NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
846 2010-02-08 Jim Blandy <jimb@red-bean.com>
848 * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
849 'z' augmentation strings.
851 2010-02-08 Christophe Lyon <christophe.lyon@st.com>
853 * objdump.c (disassemble_bytes): Clear aux->reloc before printing
854 a new address, so as not to reuse a previous, non-related reloc.
856 2010-02-02 H.J. Lu <hongjiu.lu@intel.com>
858 * readelf.c (get_note_type): Handle NT_X86_XSTATE.
860 2010-02-01 Nathan Sidwell <nathan@codesourcery.com>
862 * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
865 2010-01-28 Nick Clifton <nickc@redhat.com>
868 * objdump.c (only): Replace with linked list.
869 (only_size, only_used): Replace with only_list.
870 (process_section_p): Set seen field on matches sections.
871 (add_only): New function.
872 (free_only_list): New function.
873 (disassemble_section): Check only_list.
874 (main): Use add_only and free_only_list.
876 2010-01-26 Tristan Gingold <gingold@adacore.com>
878 * Makefile.am (bin2c): Add libintl dependance and library.
879 * Makefile.in: Regenerate.
881 2010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
883 * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
885 2010-01-19 Ian Lance Taylor <iant@google.com>
887 * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
888 with non-ordinary files like /dev/null.
890 2010-01-19 Daisuke Hatayama <d.hatayama@jp.fujitsu.com>
891 Alan Modra <amodra@gmail.com>
893 * readelf.c (process_file_header): Handle e_phnum extension.
895 2010-01-14 Tristan Gingold <gingold@adacore.com>
897 * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
898 and DW_AT_GNAT_descriptive_type.
900 2010-01-13 Tristan Gingold <gingold@adacore.com>
902 * ar.c (main): Use lbasename.
904 * objdump.c (update_source_path): Ditto.
906 2010-01-12 Tristan Gingold <gingold@adacore.com>
908 * makefile.vms (CFLAGS): Turns warnings into informational messages.
910 2010-01-11 H.J. Lu <hongjiu.lu@intel.com>
913 * NEWS: Mention --dyn-syms for readelf.
915 * readelf.c (do_dyn_syms): New.
916 (OPTION_DYN_SYMS): Likewise.
917 (options): Add "dyn-syms".
918 (usage): Add --dyn-syms.
919 (parse_args): Handle OPTION_DYN_SYMS.
920 (process_symbol_table): Handle do_dyn_syms.
921 (process_object): Likewise.
922 (process_archive): Likewise.
924 * doc/binutils.texi: Document --dyn-syms for readelf. Mention
925 symbol hash tables for -D.
927 2010-01-11 Nick Clifton <nickc@redhat.com>
929 * NEWS: Mention addition of elfedit.
931 * po/fi.po: Updated Finnish translation.
933 2010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
935 * Makefile.in: Regenerate.
936 * configure: Regenerate.
937 * doc/Makefile.in: Regenerate.
939 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
941 * version.c (print_version): Change to "Copyright 2010".
943 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
945 * elfedit.c (input_elf_type): New.
946 (output_elf_type): Likewise.
947 (elf_type): Likewise.
948 (update_elf_header): Support updating ELF file type.
949 (command_line_switch): Add OPTION_INPUT_TYPE and
952 (usage): Add --input-type and --output-type.
953 (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE. Check
954 one of --output-mach and --output-type must be specified.
956 * doc/binutils.texi: Document --input-type and --output-type
959 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
961 * doc/binutils.texi: Fix a typo.
963 2010-01-08 H.J. Lu <hongjiu.lu@intel.com>
965 * elfedit.c (update_elf_header): Don't change input_elf_class
966 nor input_elf_machine if they are -1.
968 2010-01-08 Tristan Gingold <gingold@adacore.com>
970 * ar.c: Remove bfd_special_undocumented_glue prototype.
972 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
974 * elfedit.c (update_elf_header): Reformat.
976 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
978 * readelf.c (usage): Fix indent for --symbols.
980 2010-01-07 H.J. Lu <hongjiu.lu@intel.com>
982 * doc/binutils.texi: Replace -histogram with --histogram.
984 2010-01-06 H.J. Lu <hongjiu.lu@intel.com>
987 * Makefile.am (ELFEDIT_PROG): New.
988 (bin_PROGRAMS): Add $(ELFEDIT_PROG).
989 (CFILES): Add elfedit.c.
990 (elfedit_DEPENDENCIES): New.
991 (elfedit_SOURCES): Likewise.
992 (elfedit_LDADD): Likewise.
993 * Makefile.in: Regenerated.
997 * doc/binutils.texi: Document elfedit.
999 * doc/Makefile.am (man_MANS): Add elfedit.1.
1001 * doc/Makefile.in: Regenerated.
1003 2010-01-06 Tristan Gingold <gingold@adacore.com>
1005 * nm.c (usage): Remove extra blanks.
1007 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
1009 * objcopy.c: Update copyright.
1010 * readelf.c: Likewise.
1012 2010-01-04 H.J. Lu <hongjiu.lu@intel.com>
1015 * objcopy.c (copy_object): Remove "Warning: " from error
1018 2010-01-04 Nick Clifton <nickc@redhat.com>
1021 * readelf.c (dump_section_as_strings): Use two separate
1022 invocations of printf() in order to work around bugs in
1023 the Solaris 8 implementation.
1025 2010-01-04 Nick Clifton <nickc@redhat.com>
1027 * po/ru.po: Updated Russian translation.
1029 For older changes see ChangeLog-2009
1035 version-control: never