gas/
[binutils.git] / binutils / ChangeLog
blob014d8af34a6244cf34900b618d833da141aa23e9
1 2010-12-09  Mike Frysinger  <vapier@gentoo.org>
3         * .gitignore: New file.
5 2010-12-08  Alan Modra  <amodra@gmail.com>
7         * ar.c: Formatting.
8         (usage): Correct help strings.
9         (decode_options): Correct getopt_long short options.  Remove
10         duplicate non-handled option message.
11         (main): Don't handle -M specially.
13 2010-12-08  Arnaud Lacombe  <lacombar@gmail.com>
15         * ar.c (long_options): Add target.
16         (decode_options): Handle the --target option.
17         (open_inarch): Check for plugin's target, default to --target
18         (replace_members): Use generic `target'.
20         * ar.c (operation): New global variable.
21         (show_version): Likewise.
22         (show_help): Likewise.
23         (long_options): Likewise.
24         (usage): Fix help string argument order.
25         (decode_options): New.
26         (ranlib_main): Use getopt_long.
27         (main): Use decode_options.
29         * ar.c (main): Split ranlib path.
30         (ranlib_usage): New
31         (ranlib_main): New
33 2010-12-03  Doug Evans  <dje@google.com>
35         * dwarf.c: #include "bfd_stdint.h".
36         (do_gdb_index): New global.
37         (display_gdb_index): New function.
38         (dwarf_select_sections_by_names) Add "gdb_index".
39         (dwarf_select_sections_all): Set do_gdb_index.
40         (debug_displays): Add .gdb_index.
41         * dwarf.h (do_gdb_index): Declare.
42         * objdump.c (usage): Add gdb_index.
43         * readelf.c (usage): Add gdb_index.
44         (process_section_headers): Process ".gdb_index".
45         * doc/binutils.texi (readelf): Document gdb_index dump.
46         (objdump): Ditto.
48 2010-12-01  Kai Tietz  <kai.tietz@onevision.com>
50         PR binutils/11065
51         * dlltool.c (dll_name_set_by_exp_name): New variable.
52         (def_name): Allow setting of dll_name by .def file.
53         (def_library): Likewise.
54         (main): Set dll_name_set_by_exp_name, if dll_name is
55         set indirect by exp_name.
57 2010-11-26  Alan Modra  <amodra@gmail.com>
59         * dwarf.c (decode_location_expression, display_debug_frames): Move
60         code handling DW_EH_PE_pcrel into..
61         (get_encoded_value): ..here.
63 2010-11-26  Alan Modra  <amodra@gmail.com>
65         * po/ja.po: Update.
67 2010-11-25  Alan Modra  <amodra@gmail.com>
69         * po/bg.po: Update.
70         * po/es.po: Update.
71         * po/fi.po: Update.
72         * po/ja.po: Update.
73         * po/ru.po: Update.
74         * po/zh_CN.po: Update.
76 2010-11-21  H.J. Lu  <hongjiu.lu@intel.com>
78         PR binutils/12235
79         * elfcomm.c: New.
80         * elfcomm.h: Likewise.
82         * Makefile.am (HFILES): Add elfcomm.h.
83         (CFILES): Add elfcomm.c.
84         (ELFLIBS): New.
85         (readelf_SOURCES): Add $(ELFLIBS).
86         (elfedit_SOURCES): Likewise.
87         (objdump_SOURCES): Likewise.
88         * Makefile.in: Regenerated.
90         * dwarf.c: Include "elfcomm.h".
91         (byte_get): Removed.
92         (byte_get_little_endian): Likewise.
93         (byte_get_big_endian): Likewise.
94         (byte_get_signed): Likewise.
95         (error): Likewise.
96         (warn): Likewise.
98         * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT.
99         (dwarf_size_type): Likewise.
100         (byte_get): Removed.
101         (byte_get_signed): Likewise.
102         (byte_get_little_endian): Likewise.
103         (byte_get_big_endian): Likewise.
104         (error): Likewise.
105         (warn): Likewise.
107         * elfedit.c: Include "elfcomm.h".  Don't include "aout/ar.h".
108         Call error () instead of non_fatal ().
109         (streq): Removed.
110         (strneq): Likewise.
111         (const_strneq): Likewise.
112         (non_fatal): Likewise.
113         (BYTE_GET): Likewise.
114         (BYTE_PUT): Likewise.
115         (byte_get): Likewise.
116         (byte_put): Likewise.
117         (byte_get_little_endian): Likewise.
118         (byte_get_big_endian): Likewise.
119         (byte_put_little_endian): Likewise.
120         (byte_put_big_endian): Likewise.
121         (adjust_relative_path): Likewise.
122         (archive_info): Likewise.
123         (setup_archive): Likewise.
124         (release_archive): Likewise.
125         (setup_nested_archive): Likewise.
126         (get_archive_member_name): Likewise.
127         (get_archive_member_name_at): Likewise.
128         (make_qualified_name): Likewise.
130         * objdump.c: Include "elfcomm.h".
132         * readelf.c: Include "elfcomm.h".  Don't include "aout/ar.h".
133         (BYTE_GET): Removed.
134         (BYTE_GET_SIGNED): Removed.
135         (streq): Likewise.
136         (strneq): Likewise.
137         (const_strneq): Likewise.
138         (byte_put): Likewise.
139         (byte_put_little_endian): Likewise.
140         (byte_put_big_endian): Likewise.
141         (adjust_relative_path): Likewise.
142         (archive_info): Likewise.
143         (setup_archive): Likewise.
144         (release_archive): Likewise.
145         (setup_nested_archive): Likewise.
146         (get_archive_member_name): Likewise.
147         (get_archive_member_name_at): Likewise.
148         (make_qualified_name): Likewise.
150 2010-11-18  Alan Modra  <amodra@gmail.com>
152         PR binutils/11742
153         * readelf.c (get_archive_member_name): Formatting.  Properly
154         handle full size ar_name.
156 2010-11-17  Alan Modra  <amodra@gmail.com>
158         * ar.c (print_contents): Don't internationalize strings without words.
159         * dwarf.c (process_extended_line_op): Likewise.
160         (process_debug_info): Likwise.
161         (display_debug_lines_raw): Likewise.
162         (display_debug_lines_decoded): Likewise.
163         (display_debug_abbrev): Likewise.
164         * readelf.c (process_file_header): Likewise.
165         (GET_OP): Likewise.
166         (decode_arm_unwind): Likewise.
167         (process_mips_specific): Likewise.
168         * resrc.c (run_cmd): Likewise.
169         (rcparse_warning): Likewise.
170         * objdump.c (dump_headers): Don't print "Pg".
172 2010-11-16  Jorma Karvonen  <karvonen.jorma@gmail.com>
174         * windmc.c: ,%s' -> `%s' in a number of strings.
176 2010-11-16  Jie Zhang  <jie.zhang@analog.com>
178         * readelf.c (get_machine_flags): Deal with Blackfin specific flags.
180 2010-11-11  Mingming Sun  <mingm.sun@gmail.com>
182         * readelf.c (get_machine_flags): Add loongson-3a.
184 2010-11-10  Nick Clifton  <nickc@redhat.com>
186         * po/ja.po: Updated Japanese translation.
187         * po/fr.po: Updated French translation.
189 2010-11-08  Nick Clifton  <nickc@redhat.com>
191         * po/ja.po: Updated Japanese translation.
193 2010-11-08  Alan Modra  <amodra@gmail.com>
195         * objcopy.c (copy_main): No need to rename sections when compressing
196         or decompressing.
198 2010-11-05  Alan Modra  <amodra@gmail.com>
200         * bin2c.c: Remove internationalization and version report.
201         * Makefile.am: Update bin2c rule.
202         * Makefile.in: Regenerate.
204 2010-11-05  Tristan Gingold  <gingold@adacore.com>
206         * po/binutils.pot: Regenerate
208 2010-11-05  Tristan Gingold  <gingold@adacore.com>
210         * NEWS: Add marker for 2.21.
212 2010-11-02  H.J. Lu  <hongjiu.lu@intel.com>
214         * objdump.c (dump_bfd_header): Don't display
215         BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
217 2010-11-02  Joseph Myers  <joseph@codesourcery.com>
219         * readelf.c (display_tic6x_attribute): Handle more attributes.
221 2010-10-30  Kai Tietz  <kai.tietz@onevision.com>
223         * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
224         directives.
226 2010-10-29  Joseph Myers  <joseph@codesourcery.com>
228         * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
229         not hardcoded 32.  Display name of this attribute.
231 2010-10-29  H.J. Lu  <hongjiu.lu@intel.com>
233         * addr2line.c (process_file): Set BFD_DECOMPRESS.
235         * objcopy.c (do_debug_sections): New.
236         (OPTION_COMPRESS_DEBUG_SECTIONS): New.
237         (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
238         (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
239         OPTION_DECOMPRESS_DEBUG_SECTIONS.
240         (copy_usage): Add --compress-debug-sections and
241         --decompress-debug-sections.
242         (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
243         (copy_section): Replace bfd_get_section_contents with
244         bfd_get_full_section_contents.
245         (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
246         OPTION_DECOMPRESS_DEBUG_SECTIONS.  Check do_debug_sections to
247         rename DWARF debug sections.
249         * objdump.c (load_specific_debug_section): Replace
250         bfd_get_section_contents with bfd_get_full_section_contents.
251         Remove bfd_uncompress_section_contents.
252         (dump_section): Replace bfd_get_section_contents with
253         bfd_get_full_section_contents.
254         (display_file): Set BFD_DECOMPRESS if needed.
256         * readelf.c (uncompress_section_contents): Set buffer to NULL
257         to indiate decompression failure.
258         (load_specific_debug_section): Always call
259         uncompress_section_contents.
261         * doc/binutils.texi: Document --compress-debug-sections and
262         --decompress-debug-sections.
264 2010-10-29  Nick Clifton  <nickc@redhat.com>
266         PR binutils/12058
267         * ar.c (usage): Revert previous change.  Describe how 's' can be
268         used as a command letter.
269         * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
270         a command letter.
272 2010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
273             Joseph Myers  <joseph@codesourcery.com>
275         * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
277 2010-10-28  Nick Clifton  <nickc@redhat.com>
279         PR binutils/12058
280         * ar.c (usage): Remove spurious 's' from list of accepted command
281         letters.
283 2010-10-28  Alan Modra  <amodra@gmail.com>
285         * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
286         (is_32bit_pcrel_reloc): Support microblaze.
288 2010-10-26  Nick Clifton  <nickc@redhat.com>
290         * po/ja.po: Updated Japanese transaltion.
292 2010-10-21  Joseph Myers  <joseph@codesourcery.com>
294         * readelf.c (display_tic6x_attribute): Update for attribute
295         renaming.
297 2010-10-08  H.J. Lu  <hongjiu.lu@intel.com>
299         * dwarf.c (byte_get_signed): Make it extern.
301         * dwarf.h (byte_get_signed): New.
303         * readelf.c (BYTE_GET_SIGNED): New.
304         (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
305         (dump_relocations): Properly dump r_addend.
307 2010-10-08  Joseph Myers  <joseph@codesourcery.com>
309         * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
310         (set_print_radix): Update for __MSVCRT__ definition of
311         value_format_64bit.
313 2010-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
315         Fix build with -DDEBUG=7
316         * nlmheader.y (DEBUG token): Rename to DEBUG_K.
318 2010-10-06  Alan Modra  <amodra@gmail.com>
320         * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
322 2010-10-05  Alan Modra  <amodra@gmail.com>
324         * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
325         (bfd_nonfatal_message, report, list_matching_formats): Likewise.
326         (list_supported_targets): Tidy.
327         * objdump.c (free_only_list): Formatting.
328         (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
329         object".
330         (update_source_path): Delete redundant check for NULL filename.
331         (disassemble_bytes): Error if disassemble_fn returns a value
332         that won't increment address.
333         (disassemble_data): Don't capitalize error message.
334         (read_section_stabs): Likewise.
335         (main): Return non-zero exit status on bad options.
337 2010-10-03  H.J. Lu  <hongjiu.lu@intel.com>
339         PR binutils/12088
340         * nm.c (plugin_target): New.
341         (main): Set plugin_target to "plugin" for --plugin.
342         (display_file): Pass plugin_target to bfd_openr if target
343         isn't set.
345 2010-09-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
347         * configure: Regenerate.
349 2010-09-22  Mike Frysinger  <vapier@gentoo.org>
351         * MAINTAINERS: Add self as ADI Blackfin maintainer.
353 2010-09-17  H.J. Lu  <hongjiu.lu@intel.com>
355         * emul_aix.c (ar_emul_aix_append): Add a target argument
356         and ignore it if it is set.
357         (ar_emul_aix5_append): Likewise.
358         (ar_emul_aix_replace): Likewise.
359         (ar_emul_aix5_replace): Likewise.
361 2010-09-15  H.J. Lu  <hongjiu.lu@intel.com>
363         * ar.c (plugin_target): New.
364         (main): Set plugin_target to "plugin" for --plugin.
365         (open_inarch): Initialize target to plugin_target.
366         (replace_members): Pass plugin_target to ar_emul_replace
367         and ar_emul_append.
369         * binemul.h (ar_emul_append): Add a target argument.
370         (ar_emul_default_append): Likewise.
371         (ar_emul_replace): Likewise.
372         (ar_emul_default_replace): Likewise.
373         (bin_emulation_xfer_struct): Add a target argument to
374         ar_append and ar_replace.
376         * binemul.c (ar_emul_append): Updated.  Pass target to bfd_openr.
377         (do_ar_emul_default_append): Likewise.
378         (ar_emul_default_append): Likewise.
379         (ar_emul_replace): Likewise.
380         (ar_emul_default_replace): Likewise.
382 2010-09-10  Ben Gardiner  <bengardiner@nanometrics.ca>
384         * objcopy.c: Add --interleave-width option to allow interleaving
385         of more than one byte at a time.
386         (copy_width): New variable.
387         (copy_options): Add --interleave-width.
388         (copy_section): When interleaving copy in units of copy_width
389         bytes.
390         (copy_main): Parse the new option.
391         * doc/binutils: Document the new option.
392         * NEWS: Mention the new feature.
394 2010-09-09  Jakub Jelinek  <jakub@redhat.com>
396         * dwarf.c (decode_location_expression): Fix data adjustment
397         for DW_OP_GNU_implicit_pointer in v3+.
399 2010-09-09  Tristan Gingold  <gingold@adacore.com>
401         * NEWS: Add entry to NEWS for hppa/som.
403 2010-09-09  Jakub Jelinek  <jakub@redhat.com>
405         * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
406         * dwarf.c (decode_location_expression): Add offset_size and
407         dwarf_version arguments.  Prefix DIE offset with 0x for
408         DW_OP_call{2,4,_ref}.  Fix up DW_OP_call_ref operand size,
409         complain if in frame info section.  Handle
410         DW_OP_GNU_implicit_pointer.
411         (read_and_display_attr_value, display_debug_loc,
412         display_debug_frames): Adjust decode_location_expression callers.
413         (process_debug_info): Save offset_size and dwarf_version values
414         into debug_information array.
416 2010-09-07  Nick Clifton  <nickc@redhat.com>
418         * readelf.c (process_section_headers): Mention meaning of 'l'
419         section flag for x86-64 targets.
421 2010-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
422             Jakub Jelinek  <jakub@redhat.com>
424         * dwarf.c (regname): New declaration.
425         (decode_location_expression): Print for registers also regname output.
427 2010-09-02  Richard Henderson  <rth@redhat.com>
429         * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
430         (init_dwarf_regnames): Use them.
431         * dwarf.h: Declare them.
432         * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
433         the regnames, rather than using elf_machine_code.
435 2010-09-02  Richard Henderson  <rth@redhat.com>
437         * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
439 2010-08-23  H.J. Lu  <hongjiu.lu@intel.com>
441         * elfedit.c (input_elf_osabi): New.
442         (output_elf_osbi): Likewise.
443         (osabis): Likewise.
444         (elf_osabi): Likewise.
445         (update_elf_header): Support updating ELF OSABI.
446         (make_qualified_name): Break long line.
447         (command_line_switch): Add OPTION_INPUT_OSABI and
448         OPTION_OUTPUT_OSABI.
449         (options): Likewise.
450         (usage): Add --input-osabi and --output-osabi.
451         (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
453         * doc/binutils.texi: Document --input-osabi and --output-osabi
454         for elfedit.
456 2010-08-23  Maciej W. Rozycki  <macro@codesourcery.com>
458         * readelf.c (display_mips_gnu_attribute): Replace GCC options
459         with a textual description of a MIPS32r2 64-bit FPU.
461 2010-08-13  Dan Rosenberg  <dan.j.rosenberg@gmail.com>
463         PR binutils/11889
464         * readelf.c (get_32bit_elf_symbols): Check for a corrupt
465         sh_entsize.
466         (get_64bit_elf_symbols): Likewise.
467         (process_symbol_table): Likewise.
468         (process_section_groups): Check for corrupt headers.
469         (process_version_sections): Check for corrupt indicies.
470         (process_corefile_note_segment): Likewise.
472 2010-08-13  Nathan Sidwell  <nathan@codesourcery.com>
474         * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
475         variants.
477 2010-08-13  Tom Tromey  <tromey@redhat.com>
479         * dwarf.c (process_debug_info): Don't subtract section address
480         when calculating location of cu abbrev within section.
482 2010-08-12  Michael Haubenwallner  <haubi@gentoo.org>
484         PR binutils/11742
485         * readelf.c (get_archive_member_name): Do not read beyond the end
486         of the ar_name field.
488 2010-08-03  Tristan Gingold  <gingold@adacore.com>
490         * dwarf.c (display_debug_lines): Mark file argument unused.
491         Do not try to load .debug_info section.
493 2010-08-02  Alan Modra  <amodra@gmail.com>
495         * readelf.c (apply_relocations): D30V is really REL.
497 2010-07-23  Naveen.H.S  <naveen.S@kpitcummins.com>
498             Ina Pandit  <ina.pandit@kpitcummins.com>
500         * binutils/readelf.c: Add support for V850E2 and V850E2V3.
502 2010-07-22  Alan Modra  <amodra@gmail.com>
504         * readelf.c: Add Moxie support.
506 2010-07-20  Alan Modra  <amodra@gmail.com>
508         * readelf.c (process_program_headers): Don't ignore all zero size
509         sections.
511 2010-07-19  Andreas Schwab  <schwab@redhat.com>
513         * readelf.c (process_section_headers): Update key to flags.
515 2010-07-17  Dave Korn  <dave.korn.cygwin@gmail.com>
517         * objcopy.c (copy_usage): Tweak previous typofix.
519 2010-07-17  H.J. Lu  <hongjiu.lu@intel.com>
521         * objcopy.c (copy_usage): Fix a typo.
523 2010-07-15  Kai Tietz <kai.tietz@onevision.com>
525         * dllwrap.c (main): Make sure is_leading_underscore
526         gets initialized with correct default.
528 2010-07-05  Alan Modra  <amodra@gmail.com>
530         * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
532 2010-07-03  Cary Coutant  <ccoutant@google.com>
534         * objdump.c (load_specific_debug_section): Decompress section contents
535         before applying relocations.
536         * readelf.c (load_specific_debug_section): Update section size after
537         decompression.
539 2010-06-29  Alan Modra  <amodra@gmail.com>
541         PR binutils/3166
542         * objcopy.c (is_strip_section): Revert 2006-09-05.
543         (setup_section): Make SHT_GROUP section nobits.
545 2010-06-29  Alan Modra  <amodra@gmail.com>
547         * configure: Regenerate.
548         * po/POTFILES.in: Regenerate.
550 2010-06-27  Alan Modra  <amodra@gmail.com>
552         * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
554 2010-06-17  Nick Clifton  <nickc@redhat.com>
556         PR binutils/11711
557         * windres.c (enum option_values): New enum.
558         (long_options): Use separate option number for --include-dir
559         option.
560         (main): Separate backwards compatibility check from code to
561         implement --include-dir.  Check to see if directory exists and do
562         not complain if it does.
564 2010-06-15  Joseph Myers  <joseph@codesourcery.com>
566         * readelf.c (display_tic6x_attribute, process_tic6x_specific):
567         New.
568         (process_arch_specific): Call process_tic6x_specific for
569         EM_TI_C6000.
571 2010-06-11  H.J. Lu  <hongjiu.lu@intel.com>
573         * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
574         for 0x%lx.
576 2010-06-11  Tristan Gingold  <gingold@adacore.com>
577             Doug Rupp <rupp@gnat.com>
579         * readelf.c (is_ia64_vms): New function.
580         (dump_relocations): Use it.
581         (get_machine_flags): Display IA-64 OpenVMS flags.
582         (process_program_headers): No error on OpenVMS if no .dynamic section.
583         (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
584         declarations.
585         (dump_ia64_vms_dynamic_fixups): New function.
586         (dump_ia64_vms_dynamic_relocs): Ditto.
587         (process_ia64_vms_dynamic_relocs): Ditto.
588         (process_relocs): Handle IA-64 OpenVMS relocs.
589         (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
590         (print_vms_time): New function.
591         (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
592         DT_IA_64_VMS_LNKFLAGS.
593         (get_ia64_symbol_other): New function.
594         (get_symbol_other): Handle EM_IA_64.
596 2010-06-11  Tristan Gingold  <gingold@adacore.com>
598         * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
599         (UNW_DEC_ABI): Ditto for abiname.
600         (unw_decode_table): Make it const.
602 2010-06-10  Tristan Gingold  <gingold@adacore.com>
604         * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
605         not inplace.
607 2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
608             Joseph Myers  <joseph@codesourcery.com>
609             Andrew Stubbs  <ams@codesourcery.com>
611         * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
613 2010-05-25  Jay Krell  <jay.krell@cornell.edu>
615         PR ld/11621
616         * Makefile.am: Replace all occurences of .o with .@OBJEXT@
617         * Makefile.in: Regenerate.
619 2010-05-24  Tristan Gingold  <gingold@adacore.com>
621         * readelf.c (usage): Add new trace sections for --debug-dump.
622         (process_section_headers): Handle dump of trace sections.
623         * objdump.c (usage): Add new trace sections for --dwarf.
624         * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
625         (do_trace_aranges): Ditto.
626         (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
627         and trace_aranges literals.
628         * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
629         (do_trace_aranges): Ditto.
630         (process_debug_info): Add abbrev_sec argument and replace
631         abbrev with abbrev_sec.
632         (load_debug_info): Adjust call of process_debug_info.
633         (display_debug_info): Ditto.
634         (display_trace_info): New function.
635         (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
636         and trace_aranges sections name.
637         (dwarf_select_sections_all): Also select trace sections.
638         (debug_displays): Reindent.  Add entries for the trace sections.
639         * doc/binutils.texi (readelf): Document new --dwarf parameters.
640         (objdump): Ditto.
642 2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>
644         PR gas/11600
645         * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
646         generic flag.
648 2010-05-07  Tristan Gingold  <gingold@adacore.com>
650         * Makefile.in: Regenerate with automake 1.11.1.
651         * aclocal.m4: Ditto.
652         * doc/Makefile.in: Ditto.
654 2010-05-06  H.J. Lu  <hongjiu.lu@intel.com>
656         * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
657         * readelf.c (get_elf_section_flags): Likewise.
658         (process_section_headers): Likewise.
660 2010-05-05  Nick Clifton  <nickc@redhat.com>
662         * po/es.po: Updated Spanish translation.
664 2010-04-27  Kai Tietz  <kai.tietz@onevision.com>
666         * dlltool.c (main): Query for bfd's underscoring default for
667         default target case.
669 2010-04-27  Nick Clifton  <nickc@redhat.com>
671         * po/ru.po: Updated Russian translation.
673 2010-04-23  Alan Modra  <amodra@gmail.com>
675         * readelf.c (process_program_headers): Replace use of
676         ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
678 2010-04-22  Nick Clifton  <nickc@redhat.com>
680         * po/binutils.pot: Updated by the Translation project.
681         * po/fi.po: Updated Finnish translation.
682         * po/vi.po: Updated Vietnamese translation.
683         * po/bg.po: New Bulgarian translation.
684         * configure.in (ALL_LINGUAS): Add bg.
685         * configure: Regenerate.
687 2010-04-20  Nick Clifton  <nickc@redhat.com>
689         * po/fr.po: Updated french translation.
691 2010-04-20  Nick Clifton  <nickc@redhat.com>
693         * readelf.c: Add _() macros to constant strings that are
694         translatable.
696         * readelf.c (display_mips_gnu_attribute): Replace GCC options
697         with a textual description of single and double precision float.
699 2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
701         * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
702         (arm_attr_tag_ABI_align8_needed): Remove.
703         (arm_attr_tag_ABI_align8_preserved): Remove.
704         (arm_attr_tag_ABI_HardFP_use): Update text strings.
705         (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
706         (display_arm_attribute): Add decoding of ABI v2.08 attributes.
708 2010-04-13  Nick Clifton  <nickc@redhat.com>
710         PR binutils/11419
711         * dwarf.c (process_debug_info): Initialise the signature array.
713 2010-04-09  Nick Clifton  <nickc@redhat.com>
715         * dwarf.c (process_debug_info): Remove unused variable
716         cu_abbrev_offset_ptr.
717         (display_debug_lines_decoded): Remove unused variable prev_line.
718         * elfedit.c (process_archive): Remove unused variable
719         file_name_size.
720         * ieee.c (ieee_start_compilation_unit): Remove unused variable
721         nindx.
722         (ieee_set_type): Remove unused variables info, targetindx and
723         baseindx.
724         * objdump.c (disassmble_byte): Remove unused variable done_dot.
725         * rddbg.c (read_section_stabs_debugging_info): Remove unused
726         variable other.
727         * readelf.c (dump_section_as_strings): Remove unused variable
728         addr.
729         (process_archive): Remove unused variable file_name_size.
730         * stabs.c (parse_stab_string): Mark desc parameter as unused.
731         Remove unused variable lineno.
732         (parse_stab_struct_type): Remove unused variable orig.
733         (stab_demangle_type): Remove unused variables constp, volatilep
734         and hold.
736 2010-04-07  Alan Modra  <amodra@gmail.com>
738         * configure: Regenerate.
740 2010-04-06  Nick Clifton  <nickc@redhat.com>
742         * po/vi.po: Updated Vietnamese translation.
744 2010-04-05  Jakub Jelinek  <jakub@redhat.com>
746         * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
747         fields.
748         (display_debug_frames): Handle CIE version 4.
750         * dwarf.c (struct State_Machine_Registers): Add op_index field,
751         change end_sequence type to unsigned char.
752         (reset_state_machine): Clear op_index.
753         (process_extended_line_op): For DW_LNE_set_address clear op_index.
754         (display_debug_lines_raw): Initialize li_max_ops_per_insn.
755         Track op_index state machine register and print it if
756         li_max_ops_per_insn is != 1.
757         (display_debug_lines_decoded): Likewise.
759 2010-04-01  Jakub Jelinek  <jakub@redhat.com>
761         * dwarf.c (read_and_display_attr_value): Don't reject
762         dwarf_version == 4.  Handle DW_FORM_sec_offset, DW_FORM_flag_present
763         and DW_FORM_exprloc.
764         (process_debug_info): Handle cu_version == 4.
765         (display_debug_lines_raw, display_debug_lines_decoded): Handle
766         li_version == 4.
768 2010-03-30  Andreas Schwab  <schwab@linux-m68k.org>
770         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
771         * Makefile.in: Regenerate.
773 2010-03-25  Joseph Myers  <joseph@codesourcery.com>
775         * MAINTAINERS: Add self as TI C6X maintainer.
776         * NEWS: Add news entry for TI C6X support.
777         * readelf.c: Include elf/tic6x.h.
778         (guess_is_rela): Handle EM_TI_C6000.
779         (dump_relocations): Likewise.
780         (get_tic6x_dynamic_type): New.
781         (get_dynamic_type): Call it.
782         (get_machine_flags): Handle EF_C6000_REL.
783         (get_osabi_name): Handle machine-specific values only for relevant
784         machines.  Handle C6X values.
785         (get_tic6x_segment_type): New.
786         (get_segment_type): Call it.
787         (get_tic6x_section_type_name): New.
788         (get_section_type_name): Call it.
789         (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
790         EM_TI_C6000.
792 2010-03-25  Thomas Schwinge  <thomas@codesourcery.com>
794         * doc/binutils.texi (readelf) <unwind information>: Mention support for
795         ARM unwind tables.
797 2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>
799         * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
801 2010-03-17  Alan Modra  <amodra@gmail.com>
803         * readelf.c (dump_arm_unwind): Warning fix.
805 2010-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
807         * MAINTAINERS: Update my email address.  List Tristan Gingold
808         as the release branch maintainer.
810 2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
812         * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
814 2010-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
816         * NEWS: Document .ARM.exidx / .ARM.extab support.
818         * dwarf.c (read_leb128): Make non-static.
819         * dwarf.h (read_leb128): Declare.
820         * readelf.c (REMOVE_ARCH_BITS): Define.
821         (find_section_by_address): New.
822         (read_uleb128): Move higher.  Use read_leb128 from dwarf.c.
823         (find_symbol_for_address): Handle the Thumb bit for ARM, by
824         using REMOVE_ARCH_BITS.
825         (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
826         (arm_free_section, arm_section_get_word, decode_arm_unwind)
827         (dump_arm_unwind, arm_process_unwind): New.
828         (process_unwind): Handle ARM.
830 2010-02-26  Jie Zhang  <jie@codesourcery.com>
832         * MAINTAINERS: Update my email address.
834 2010-02-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
836         PR binutils/11298
837         * doc/binutils.texi (windmc): Fix synopsis and description of
838         ASCII options.
840 2010-02-19  Alan Modra  <amodra@gmail.com>
842         * readelf.c (get_group_flags): Return empty string when flags zero.
843         Add space in other returned values.
844         (process_section_groups): Adjust format string.
846 2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
848         * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
849         newly permitted attribute values.
850         (arm_attr_tag_Virtualization_use): Likewise.
851         (arm_attr_tag_DIV_use): Add description of new attribute.
852         (arm_attr_tag_MPextension_use_legacy): Likewise.
854 2010-02-15  Nick Clifton  <nickc@redhat.com>
856         * po/vi.po: Updated Vietnamese translation.
858 2010-02-09  Michael Holzheu  <holzheu@de.ibm.com>
860         * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
861         NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
863 2010-02-08  Jim Blandy  <jimb@red-bean.com>
865         * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
866         'z' augmentation strings.
868 2010-02-08  Christophe Lyon  <christophe.lyon@st.com>
870         * objdump.c (disassemble_bytes): Clear aux->reloc before printing
871         a new address, so as not to reuse a previous, non-related reloc.
873 2010-02-02  H.J. Lu  <hongjiu.lu@intel.com>
875         * readelf.c (get_note_type): Handle NT_X86_XSTATE.
877 2010-02-01  Nathan Sidwell  <nathan@codesourcery.com>
879         * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
880         sections.
882 2010-01-28  Nick Clifton  <nickc@redhat.com>
884         PR 11225
885         * objdump.c (only): Replace with linked list.
886         (only_size, only_used): Replace with only_list.
887         (process_section_p): Set seen field on matches sections.
888         (add_only): New function.
889         (free_only_list): New function.
890         (disassemble_section): Check only_list.
891         (main): Use add_only and free_only_list.
893 2010-01-26  Tristan Gingold  <gingold@adacore.com>
895         * Makefile.am (bin2c): Add libintl dependance and library.
896         * Makefile.in: Regenerate.
898 2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
900         * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
902 2010-01-19  Ian Lance Taylor  <iant@google.com>
904         * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
905         with non-ordinary files like /dev/null.
907 2010-01-19  Daisuke Hatayama  <d.hatayama@jp.fujitsu.com>
908             Alan Modra <amodra@gmail.com>
910         * readelf.c (process_file_header): Handle e_phnum extension.
912 2010-01-14  Tristan Gingold  <gingold@adacore.com>
914         * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
915         and DW_AT_GNAT_descriptive_type.
917 2010-01-13  Tristan Gingold  <gingold@adacore.com>
919         * ar.c (main): Use lbasename.
920         (normalize): Ditto.
921         * objdump.c (update_source_path): Ditto.
923 2010-01-12  Tristan Gingold  <gingold@adacore.com>
925         * makefile.vms (CFLAGS): Turns warnings into informational messages.
927 2010-01-11  H.J. Lu  <hongjiu.lu@intel.com>
929         PR ld/11146
930         * NEWS: Mention --dyn-syms for readelf.
932         * readelf.c (do_dyn_syms): New.
933         (OPTION_DYN_SYMS): Likewise.
934         (options): Add "dyn-syms".
935         (usage): Add --dyn-syms.
936         (parse_args): Handle OPTION_DYN_SYMS.
937         (process_symbol_table): Handle do_dyn_syms.
938         (process_object): Likewise.
939         (process_archive): Likewise.
941         * doc/binutils.texi: Document --dyn-syms for readelf.  Mention
942         symbol hash tables for -D.
944 2010-01-11  Nick Clifton  <nickc@redhat.com>
946         * NEWS: Mention addition of elfedit.
948         * po/fi.po: Updated Finnish translation.
950 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
952         * Makefile.in: Regenerate.
953         * configure: Regenerate.
954         * doc/Makefile.in: Regenerate.
956 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
958         * version.c (print_version): Change to "Copyright 2010".
960 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
962         * elfedit.c (input_elf_type): New.
963         (output_elf_type): Likewise.
964         (elf_type): Likewise.
965         (update_elf_header): Support updating ELF file type.
966         (command_line_switch): Add OPTION_INPUT_TYPE and
967         OPTION_OUTPUT_TYPE.
968         (options): Likewise.
969         (usage): Add --input-type and --output-type.
970         (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE.  Check
971         one of --output-mach and --output-type must be specified.
973         * doc/binutils.texi: Document --input-type and --output-type
974         for elfedit.
976 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
978         * doc/binutils.texi: Fix a typo.
980 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
982         * elfedit.c (update_elf_header): Don't change input_elf_class
983         nor input_elf_machine if they are -1.
985 2010-01-08  Tristan Gingold  <gingold@adacore.com>
987         * ar.c: Remove bfd_special_undocumented_glue prototype.
989 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
991         * elfedit.c (update_elf_header): Reformat.
993 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
995         * readelf.c (usage): Fix indent for --symbols.
997 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
999         * doc/binutils.texi: Replace -histogram with --histogram.
1001 2010-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1003         PR binutils/11131
1004         * Makefile.am (ELFEDIT_PROG): New.
1005         (bin_PROGRAMS): Add $(ELFEDIT_PROG).
1006         (CFILES): Add elfedit.c.
1007         (elfedit_DEPENDENCIES): New.
1008         (elfedit_SOURCES): Likewise.
1009         (elfedit_LDADD): Likewise.
1010         * Makefile.in: Regenerated.
1012         * elfedit.c: New.
1014         * doc/binutils.texi: Document elfedit.
1016         * doc/Makefile.am (man_MANS): Add elfedit.1.
1017         (elfedit.1): New.
1018         * doc/Makefile.in: Regenerated.
1020 2010-01-06  Tristan Gingold  <gingold@adacore.com>
1022         * nm.c (usage): Remove extra blanks.
1024 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
1026         * objcopy.c: Update copyright.
1027         * readelf.c: Likewise.
1029 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
1031         PR binutils/11130
1032         * objcopy.c (copy_object): Remove "Warning: " from error
1033         message.
1035 2010-01-04  Nick Clifton  <nickc@redhat.com>
1037         PR 11128
1038         * readelf.c (dump_section_as_strings): Use two separate
1039         invocations of printf() in order to work around bugs in
1040         the Solaris 8 implementation.
1042 2010-01-04  Nick Clifton  <nickc@redhat.com>
1044         * po/ru.po: Updated Russian translation.
1046 For older changes see ChangeLog-2009
1048 Local Variables:
1049 mode: change-log
1050 left-margin: 8
1051 fill-column: 74
1052 version-control: never
1053 End: