Don't pass -fvtable-gc to GCC 3.4.0 or above.
[binutils.git] / binutils / ChangeLog
blob5e71463c11c84c9302c99167044854d4f40337a2
1 2010-12-03  Doug Evans  <dje@google.com>
3         * dwarf.c: #include "bfd_stdint.h".
4         (do_gdb_index): New global.
5         (display_gdb_index): New function.
6         (dwarf_select_sections_by_names) Add "gdb_index".
7         (dwarf_select_sections_all): Set do_gdb_index.
8         (debug_displays): Add .gdb_index.
9         * dwarf.h (do_gdb_index): Declare.
10         * objdump.c (usage): Add gdb_index.
11         * readelf.c (usage): Add gdb_index.
12         (process_section_headers): Process ".gdb_index".
13         * doc/binutils.texi (readelf): Document gdb_index dump.
14         (objdump): Ditto.
16 2010-12-01  Kai Tietz  <kai.tietz@onevision.com>
18         PR binutils/11065
19         * dlltool.c (dll_name_set_by_exp_name): New variable.
20         (def_name): Allow setting of dll_name by .def file.
21         (def_library): Likewise.
22         (main): Set dll_name_set_by_exp_name, if dll_name is
23         set indirect by exp_name.
25 2010-11-26  Alan Modra  <amodra@gmail.com>
27         * dwarf.c (decode_location_expression, display_debug_frames): Move
28         code handling DW_EH_PE_pcrel into..
29         (get_encoded_value): ..here.
31 2010-11-26  Alan Modra  <amodra@gmail.com>
33         * po/ja.po: Update.
35 2010-11-25  Alan Modra  <amodra@gmail.com>
37         * po/bg.po: Update.
38         * po/es.po: Update.
39         * po/fi.po: Update.
40         * po/ja.po: Update.
41         * po/ru.po: Update.
42         * po/zh_CN.po: Update.
44 2010-11-21  H.J. Lu  <hongjiu.lu@intel.com>
46         PR binutils/12235
47         * elfcomm.c: New.
48         * elfcomm.h: Likewise.
50         * Makefile.am (HFILES): Add elfcomm.h.
51         (CFILES): Add elfcomm.c.
52         (ELFLIBS): New.
53         (readelf_SOURCES): Add $(ELFLIBS).
54         (elfedit_SOURCES): Likewise.
55         (objdump_SOURCES): Likewise.
56         * Makefile.in: Regenerated.
58         * dwarf.c: Include "elfcomm.h".
59         (byte_get): Removed.
60         (byte_get_little_endian): Likewise.
61         (byte_get_big_endian): Likewise.
62         (byte_get_signed): Likewise.
63         (error): Likewise.
64         (warn): Likewise.
66         * dwarf.h (dwarf_vma): Defined with HOST_WIDEST_INT.
67         (dwarf_size_type): Likewise.
68         (byte_get): Removed.
69         (byte_get_signed): Likewise.
70         (byte_get_little_endian): Likewise.
71         (byte_get_big_endian): Likewise.
72         (error): Likewise.
73         (warn): Likewise.
75         * elfedit.c: Include "elfcomm.h".  Don't include "aout/ar.h".
76         Call error () instead of non_fatal ().
77         (streq): Removed.
78         (strneq): Likewise.
79         (const_strneq): Likewise.
80         (non_fatal): Likewise.
81         (BYTE_GET): Likewise.
82         (BYTE_PUT): Likewise.
83         (byte_get): Likewise.
84         (byte_put): Likewise.
85         (byte_get_little_endian): Likewise.
86         (byte_get_big_endian): Likewise.
87         (byte_put_little_endian): Likewise.
88         (byte_put_big_endian): Likewise.
89         (adjust_relative_path): Likewise.
90         (archive_info): Likewise.
91         (setup_archive): Likewise.
92         (release_archive): Likewise.
93         (setup_nested_archive): Likewise.
94         (get_archive_member_name): Likewise.
95         (get_archive_member_name_at): Likewise.
96         (make_qualified_name): Likewise.
98         * objdump.c: Include "elfcomm.h".
100         * readelf.c: Include "elfcomm.h".  Don't include "aout/ar.h".
101         (BYTE_GET): Removed.
102         (BYTE_GET_SIGNED): Removed.
103         (streq): Likewise.
104         (strneq): Likewise.
105         (const_strneq): Likewise.
106         (byte_put): Likewise.
107         (byte_put_little_endian): Likewise.
108         (byte_put_big_endian): Likewise.
109         (adjust_relative_path): Likewise.
110         (archive_info): Likewise.
111         (setup_archive): Likewise.
112         (release_archive): Likewise.
113         (setup_nested_archive): Likewise.
114         (get_archive_member_name): Likewise.
115         (get_archive_member_name_at): Likewise.
116         (make_qualified_name): Likewise.
118 2010-11-18  Alan Modra  <amodra@gmail.com>
120         PR binutils/11742
121         * readelf.c (get_archive_member_name): Formatting.  Properly
122         handle full size ar_name.
124 2010-11-17  Alan Modra  <amodra@gmail.com>
126         * ar.c (print_contents): Don't internationalize strings without words.
127         * dwarf.c (process_extended_line_op): Likewise.
128         (process_debug_info): Likwise.
129         (display_debug_lines_raw): Likewise.
130         (display_debug_lines_decoded): Likewise.
131         (display_debug_abbrev): Likewise.
132         * readelf.c (process_file_header): Likewise.
133         (GET_OP): Likewise.
134         (decode_arm_unwind): Likewise.
135         (process_mips_specific): Likewise.
136         * resrc.c (run_cmd): Likewise.
137         (rcparse_warning): Likewise.
138         * objdump.c (dump_headers): Don't print "Pg".
140 2010-11-16  Jorma Karvonen  <karvonen.jorma@gmail.com>
142         * windmc.c: ,%s' -> `%s' in a number of strings.
144 2010-11-16  Jie Zhang  <jie.zhang@analog.com>
146         * readelf.c (get_machine_flags): Deal with Blackfin specific flags.
148 2010-11-11  Mingming Sun  <mingm.sun@gmail.com>
150         * readelf.c (get_machine_flags): Add loongson-3a.
152 2010-11-10  Nick Clifton  <nickc@redhat.com>
154         * po/ja.po: Updated Japanese translation.
155         * po/fr.po: Updated French translation.
157 2010-11-08  Nick Clifton  <nickc@redhat.com>
159         * po/ja.po: Updated Japanese translation.
161 2010-11-08  Alan Modra  <amodra@gmail.com>
163         * objcopy.c (copy_main): No need to rename sections when compressing
164         or decompressing.
166 2010-11-05  Alan Modra  <amodra@gmail.com>
168         * bin2c.c: Remove internationalization and version report.
169         * Makefile.am: Update bin2c rule.
170         * Makefile.in: Regenerate.
172 2010-11-05  Tristan Gingold  <gingold@adacore.com>
174         * po/binutils.pot: Regenerate
176 2010-11-05  Tristan Gingold  <gingold@adacore.com>
178         * NEWS: Add marker for 2.21.
180 2010-11-02  H.J. Lu  <hongjiu.lu@intel.com>
182         * objdump.c (dump_bfd_header): Don't display
183         BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
185 2010-11-02  Joseph Myers  <joseph@codesourcery.com>
187         * readelf.c (display_tic6x_attribute): Handle more attributes.
189 2010-10-30  Kai Tietz  <kai.tietz@onevision.com>
191         * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
192         directives.
194 2010-10-29  Joseph Myers  <joseph@codesourcery.com>
196         * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
197         not hardcoded 32.  Display name of this attribute.
199 2010-10-29  H.J. Lu  <hongjiu.lu@intel.com>
201         * addr2line.c (process_file): Set BFD_DECOMPRESS.
203         * objcopy.c (do_debug_sections): New.
204         (OPTION_COMPRESS_DEBUG_SECTIONS): New.
205         (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
206         (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
207         OPTION_DECOMPRESS_DEBUG_SECTIONS.
208         (copy_usage): Add --compress-debug-sections and
209         --decompress-debug-sections.
210         (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
211         (copy_section): Replace bfd_get_section_contents with
212         bfd_get_full_section_contents.
213         (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
214         OPTION_DECOMPRESS_DEBUG_SECTIONS.  Check do_debug_sections to
215         rename DWARF debug sections.
217         * objdump.c (load_specific_debug_section): Replace
218         bfd_get_section_contents with bfd_get_full_section_contents.
219         Remove bfd_uncompress_section_contents.
220         (dump_section): Replace bfd_get_section_contents with
221         bfd_get_full_section_contents.
222         (display_file): Set BFD_DECOMPRESS if needed.
224         * readelf.c (uncompress_section_contents): Set buffer to NULL
225         to indiate decompression failure.
226         (load_specific_debug_section): Always call
227         uncompress_section_contents.
229         * doc/binutils.texi: Document --compress-debug-sections and
230         --decompress-debug-sections.
232 2010-10-29  Nick Clifton  <nickc@redhat.com>
234         PR binutils/12058
235         * ar.c (usage): Revert previous change.  Describe how 's' can be
236         used as a command letter.
237         * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
238         a command letter.
240 2010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
241             Joseph Myers  <joseph@codesourcery.com>
243         * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
245 2010-10-28  Nick Clifton  <nickc@redhat.com>
247         PR binutils/12058
248         * ar.c (usage): Remove spurious 's' from list of accepted command
249         letters.
251 2010-10-28  Alan Modra  <amodra@gmail.com>
253         * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
254         (is_32bit_pcrel_reloc): Support microblaze.
256 2010-10-26  Nick Clifton  <nickc@redhat.com>
258         * po/ja.po: Updated Japanese transaltion.
260 2010-10-21  Joseph Myers  <joseph@codesourcery.com>
262         * readelf.c (display_tic6x_attribute): Update for attribute
263         renaming.
265 2010-10-08  H.J. Lu  <hongjiu.lu@intel.com>
267         * dwarf.c (byte_get_signed): Make it extern.
269         * dwarf.h (byte_get_signed): New.
271         * readelf.c (BYTE_GET_SIGNED): New.
272         (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
273         (dump_relocations): Properly dump r_addend.
275 2010-10-08  Joseph Myers  <joseph@codesourcery.com>
277         * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
278         (set_print_radix): Update for __MSVCRT__ definition of
279         value_format_64bit.
281 2010-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
283         Fix build with -DDEBUG=7
284         * nlmheader.y (DEBUG token): Rename to DEBUG_K.
286 2010-10-06  Alan Modra  <amodra@gmail.com>
288         * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
290 2010-10-05  Alan Modra  <amodra@gmail.com>
292         * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
293         (bfd_nonfatal_message, report, list_matching_formats): Likewise.
294         (list_supported_targets): Tidy.
295         * objdump.c (free_only_list): Formatting.
296         (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
297         object".
298         (update_source_path): Delete redundant check for NULL filename.
299         (disassemble_bytes): Error if disassemble_fn returns a value
300         that won't increment address.
301         (disassemble_data): Don't capitalize error message.
302         (read_section_stabs): Likewise.
303         (main): Return non-zero exit status on bad options.
305 2010-10-03  H.J. Lu  <hongjiu.lu@intel.com>
307         PR binutils/12088
308         * nm.c (plugin_target): New.
309         (main): Set plugin_target to "plugin" for --plugin.
310         (display_file): Pass plugin_target to bfd_openr if target
311         isn't set.
313 2010-09-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
315         * configure: Regenerate.
317 2010-09-22  Mike Frysinger  <vapier@gentoo.org>
319         * MAINTAINERS: Add self as ADI Blackfin maintainer.
321 2010-09-17  H.J. Lu  <hongjiu.lu@intel.com>
323         * emul_aix.c (ar_emul_aix_append): Add a target argument
324         and ignore it if it is set.
325         (ar_emul_aix5_append): Likewise.
326         (ar_emul_aix_replace): Likewise.
327         (ar_emul_aix5_replace): Likewise.
329 2010-09-15  H.J. Lu  <hongjiu.lu@intel.com>
331         * ar.c (plugin_target): New.
332         (main): Set plugin_target to "plugin" for --plugin.
333         (open_inarch): Initialize target to plugin_target.
334         (replace_members): Pass plugin_target to ar_emul_replace
335         and ar_emul_append.
337         * binemul.h (ar_emul_append): Add a target argument.
338         (ar_emul_default_append): Likewise.
339         (ar_emul_replace): Likewise.
340         (ar_emul_default_replace): Likewise.
341         (bin_emulation_xfer_struct): Add a target argument to
342         ar_append and ar_replace.
344         * binemul.c (ar_emul_append): Updated.  Pass target to bfd_openr.
345         (do_ar_emul_default_append): Likewise.
346         (ar_emul_default_append): Likewise.
347         (ar_emul_replace): Likewise.
348         (ar_emul_default_replace): Likewise.
350 2010-09-10  Ben Gardiner  <bengardiner@nanometrics.ca>
352         * objcopy.c: Add --interleave-width option to allow interleaving
353         of more than one byte at a time.
354         (copy_width): New variable.
355         (copy_options): Add --interleave-width.
356         (copy_section): When interleaving copy in units of copy_width
357         bytes.
358         (copy_main): Parse the new option.
359         * doc/binutils: Document the new option.
360         * NEWS: Mention the new feature.
362 2010-09-09  Jakub Jelinek  <jakub@redhat.com>
364         * dwarf.c (decode_location_expression): Fix data adjustment
365         for DW_OP_GNU_implicit_pointer in v3+.
367 2010-09-09  Tristan Gingold  <gingold@adacore.com>
369         * NEWS: Add entry to NEWS for hppa/som.
371 2010-09-09  Jakub Jelinek  <jakub@redhat.com>
373         * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
374         * dwarf.c (decode_location_expression): Add offset_size and
375         dwarf_version arguments.  Prefix DIE offset with 0x for
376         DW_OP_call{2,4,_ref}.  Fix up DW_OP_call_ref operand size,
377         complain if in frame info section.  Handle
378         DW_OP_GNU_implicit_pointer.
379         (read_and_display_attr_value, display_debug_loc,
380         display_debug_frames): Adjust decode_location_expression callers.
381         (process_debug_info): Save offset_size and dwarf_version values
382         into debug_information array.
384 2010-09-07  Nick Clifton  <nickc@redhat.com>
386         * readelf.c (process_section_headers): Mention meaning of 'l'
387         section flag for x86-64 targets.
389 2010-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
390             Jakub Jelinek  <jakub@redhat.com>
392         * dwarf.c (regname): New declaration.
393         (decode_location_expression): Print for registers also regname output.
395 2010-09-02  Richard Henderson  <rth@redhat.com>
397         * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
398         (init_dwarf_regnames): Use them.
399         * dwarf.h: Declare them.
400         * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
401         the regnames, rather than using elf_machine_code.
403 2010-09-02  Richard Henderson  <rth@redhat.com>
405         * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
407 2010-08-23  H.J. Lu  <hongjiu.lu@intel.com>
409         * elfedit.c (input_elf_osabi): New.
410         (output_elf_osbi): Likewise.
411         (osabis): Likewise.
412         (elf_osabi): Likewise.
413         (update_elf_header): Support updating ELF OSABI.
414         (make_qualified_name): Break long line.
415         (command_line_switch): Add OPTION_INPUT_OSABI and
416         OPTION_OUTPUT_OSABI.
417         (options): Likewise.
418         (usage): Add --input-osabi and --output-osabi.
419         (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
421         * doc/binutils.texi: Document --input-osabi and --output-osabi
422         for elfedit.
424 2010-08-23  Maciej W. Rozycki  <macro@codesourcery.com>
426         * readelf.c (display_mips_gnu_attribute): Replace GCC options
427         with a textual description of a MIPS32r2 64-bit FPU.
429 2010-08-13  Dan Rosenberg  <dan.j.rosenberg@gmail.com>
431         PR binutils/11889
432         * readelf.c (get_32bit_elf_symbols): Check for a corrupt
433         sh_entsize.
434         (get_64bit_elf_symbols): Likewise.
435         (process_symbol_table): Likewise.
436         (process_section_groups): Check for corrupt headers.
437         (process_version_sections): Check for corrupt indicies.
438         (process_corefile_note_segment): Likewise.
440 2010-08-13  Nathan Sidwell  <nathan@codesourcery.com>
442         * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
443         variants.
445 2010-08-13  Tom Tromey  <tromey@redhat.com>
447         * dwarf.c (process_debug_info): Don't subtract section address
448         when calculating location of cu abbrev within section.
450 2010-08-12  Michael Haubenwallner  <haubi@gentoo.org>
452         PR binutils/11742
453         * readelf.c (get_archive_member_name): Do not read beyond the end
454         of the ar_name field.
456 2010-08-03  Tristan Gingold  <gingold@adacore.com>
458         * dwarf.c (display_debug_lines): Mark file argument unused.
459         Do not try to load .debug_info section.
461 2010-08-02  Alan Modra  <amodra@gmail.com>
463         * readelf.c (apply_relocations): D30V is really REL.
465 2010-07-23  Naveen.H.S  <naveen.S@kpitcummins.com>
466             Ina Pandit  <ina.pandit@kpitcummins.com>
468         * binutils/readelf.c: Add support for V850E2 and V850E2V3.
470 2010-07-22  Alan Modra  <amodra@gmail.com>
472         * readelf.c: Add Moxie support.
474 2010-07-20  Alan Modra  <amodra@gmail.com>
476         * readelf.c (process_program_headers): Don't ignore all zero size
477         sections.
479 2010-07-19  Andreas Schwab  <schwab@redhat.com>
481         * readelf.c (process_section_headers): Update key to flags.
483 2010-07-17  Dave Korn  <dave.korn.cygwin@gmail.com>
485         * objcopy.c (copy_usage): Tweak previous typofix.
487 2010-07-17  H.J. Lu  <hongjiu.lu@intel.com>
489         * objcopy.c (copy_usage): Fix a typo.
491 2010-07-15  Kai Tietz <kai.tietz@onevision.com>
493         * dllwrap.c (main): Make sure is_leading_underscore
494         gets initialized with correct default.
496 2010-07-05  Alan Modra  <amodra@gmail.com>
498         * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
500 2010-07-03  Cary Coutant  <ccoutant@google.com>
502         * objdump.c (load_specific_debug_section): Decompress section contents
503         before applying relocations.
504         * readelf.c (load_specific_debug_section): Update section size after
505         decompression.
507 2010-06-29  Alan Modra  <amodra@gmail.com>
509         PR binutils/3166
510         * objcopy.c (is_strip_section): Revert 2006-09-05.
511         (setup_section): Make SHT_GROUP section nobits.
513 2010-06-29  Alan Modra  <amodra@gmail.com>
515         * configure: Regenerate.
516         * po/POTFILES.in: Regenerate.
518 2010-06-27  Alan Modra  <amodra@gmail.com>
520         * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
522 2010-06-17  Nick Clifton  <nickc@redhat.com>
524         PR binutils/11711
525         * windres.c (enum option_values): New enum.
526         (long_options): Use separate option number for --include-dir
527         option.
528         (main): Separate backwards compatibility check from code to
529         implement --include-dir.  Check to see if directory exists and do
530         not complain if it does.
532 2010-06-15  Joseph Myers  <joseph@codesourcery.com>
534         * readelf.c (display_tic6x_attribute, process_tic6x_specific):
535         New.
536         (process_arch_specific): Call process_tic6x_specific for
537         EM_TI_C6000.
539 2010-06-11  H.J. Lu  <hongjiu.lu@intel.com>
541         * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
542         for 0x%lx.
544 2010-06-11  Tristan Gingold  <gingold@adacore.com>
545             Doug Rupp <rupp@gnat.com>
547         * readelf.c (is_ia64_vms): New function.
548         (dump_relocations): Use it.
549         (get_machine_flags): Display IA-64 OpenVMS flags.
550         (process_program_headers): No error on OpenVMS if no .dynamic section.
551         (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
552         declarations.
553         (dump_ia64_vms_dynamic_fixups): New function.
554         (dump_ia64_vms_dynamic_relocs): Ditto.
555         (process_ia64_vms_dynamic_relocs): Ditto.
556         (process_relocs): Handle IA-64 OpenVMS relocs.
557         (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
558         (print_vms_time): New function.
559         (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
560         DT_IA_64_VMS_LNKFLAGS.
561         (get_ia64_symbol_other): New function.
562         (get_symbol_other): Handle EM_IA_64.
564 2010-06-11  Tristan Gingold  <gingold@adacore.com>
566         * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
567         (UNW_DEC_ABI): Ditto for abiname.
568         (unw_decode_table): Make it const.
570 2010-06-10  Tristan Gingold  <gingold@adacore.com>
572         * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
573         not inplace.
575 2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
576             Joseph Myers  <joseph@codesourcery.com>
577             Andrew Stubbs  <ams@codesourcery.com>
579         * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
581 2010-05-25  Jay Krell  <jay.krell@cornell.edu>
583         PR ld/11621
584         * Makefile.am: Replace all occurences of .o with .@OBJEXT@
585         * Makefile.in: Regenerate.
587 2010-05-24  Tristan Gingold  <gingold@adacore.com>
589         * readelf.c (usage): Add new trace sections for --debug-dump.
590         (process_section_headers): Handle dump of trace sections.
591         * objdump.c (usage): Add new trace sections for --dwarf.
592         * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
593         (do_trace_aranges): Ditto.
594         (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
595         and trace_aranges literals.
596         * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
597         (do_trace_aranges): Ditto.
598         (process_debug_info): Add abbrev_sec argument and replace
599         abbrev with abbrev_sec.
600         (load_debug_info): Adjust call of process_debug_info.
601         (display_debug_info): Ditto.
602         (display_trace_info): New function.
603         (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
604         and trace_aranges sections name.
605         (dwarf_select_sections_all): Also select trace sections.
606         (debug_displays): Reindent.  Add entries for the trace sections.
607         * doc/binutils.texi (readelf): Document new --dwarf parameters.
608         (objdump): Ditto.
610 2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>
612         PR gas/11600
613         * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
614         generic flag.
616 2010-05-07  Tristan Gingold  <gingold@adacore.com>
618         * Makefile.in: Regenerate with automake 1.11.1.
619         * aclocal.m4: Ditto.
620         * doc/Makefile.in: Ditto.
622 2010-05-06  H.J. Lu  <hongjiu.lu@intel.com>
624         * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
625         * readelf.c (get_elf_section_flags): Likewise.
626         (process_section_headers): Likewise.
628 2010-05-05  Nick Clifton  <nickc@redhat.com>
630         * po/es.po: Updated Spanish translation.
632 2010-04-27  Kai Tietz  <kai.tietz@onevision.com>
634         * dlltool.c (main): Query for bfd's underscoring default for
635         default target case.
637 2010-04-27  Nick Clifton  <nickc@redhat.com>
639         * po/ru.po: Updated Russian translation.
641 2010-04-23  Alan Modra  <amodra@gmail.com>
643         * readelf.c (process_program_headers): Replace use of
644         ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
646 2010-04-22  Nick Clifton  <nickc@redhat.com>
648         * po/binutils.pot: Updated by the Translation project.
649         * po/fi.po: Updated Finnish translation.
650         * po/vi.po: Updated Vietnamese translation.
651         * po/bg.po: New Bulgarian translation.
652         * configure.in (ALL_LINGUAS): Add bg.
653         * configure: Regenerate.
655 2010-04-20  Nick Clifton  <nickc@redhat.com>
657         * po/fr.po: Updated french translation.
659 2010-04-20  Nick Clifton  <nickc@redhat.com>
661         * readelf.c: Add _() macros to constant strings that are
662         translatable.
664         * readelf.c (display_mips_gnu_attribute): Replace GCC options
665         with a textual description of single and double precision float.
667 2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
669         * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
670         (arm_attr_tag_ABI_align8_needed): Remove.
671         (arm_attr_tag_ABI_align8_preserved): Remove.
672         (arm_attr_tag_ABI_HardFP_use): Update text strings.
673         (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
674         (display_arm_attribute): Add decoding of ABI v2.08 attributes.
676 2010-04-13  Nick Clifton  <nickc@redhat.com>
678         PR binutils/11419
679         * dwarf.c (process_debug_info): Initialise the signature array.
681 2010-04-09  Nick Clifton  <nickc@redhat.com>
683         * dwarf.c (process_debug_info): Remove unused variable
684         cu_abbrev_offset_ptr.
685         (display_debug_lines_decoded): Remove unused variable prev_line.
686         * elfedit.c (process_archive): Remove unused variable
687         file_name_size.
688         * ieee.c (ieee_start_compilation_unit): Remove unused variable
689         nindx.
690         (ieee_set_type): Remove unused variables info, targetindx and
691         baseindx.
692         * objdump.c (disassmble_byte): Remove unused variable done_dot.
693         * rddbg.c (read_section_stabs_debugging_info): Remove unused
694         variable other.
695         * readelf.c (dump_section_as_strings): Remove unused variable
696         addr.
697         (process_archive): Remove unused variable file_name_size.
698         * stabs.c (parse_stab_string): Mark desc parameter as unused.
699         Remove unused variable lineno.
700         (parse_stab_struct_type): Remove unused variable orig.
701         (stab_demangle_type): Remove unused variables constp, volatilep
702         and hold.
704 2010-04-07  Alan Modra  <amodra@gmail.com>
706         * configure: Regenerate.
708 2010-04-06  Nick Clifton  <nickc@redhat.com>
710         * po/vi.po: Updated Vietnamese translation.
712 2010-04-05  Jakub Jelinek  <jakub@redhat.com>
714         * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
715         fields.
716         (display_debug_frames): Handle CIE version 4.
718         * dwarf.c (struct State_Machine_Registers): Add op_index field,
719         change end_sequence type to unsigned char.
720         (reset_state_machine): Clear op_index.
721         (process_extended_line_op): For DW_LNE_set_address clear op_index.
722         (display_debug_lines_raw): Initialize li_max_ops_per_insn.
723         Track op_index state machine register and print it if
724         li_max_ops_per_insn is != 1.
725         (display_debug_lines_decoded): Likewise.
727 2010-04-01  Jakub Jelinek  <jakub@redhat.com>
729         * dwarf.c (read_and_display_attr_value): Don't reject
730         dwarf_version == 4.  Handle DW_FORM_sec_offset, DW_FORM_flag_present
731         and DW_FORM_exprloc.
732         (process_debug_info): Handle cu_version == 4.
733         (display_debug_lines_raw, display_debug_lines_decoded): Handle
734         li_version == 4.
736 2010-03-30  Andreas Schwab  <schwab@linux-m68k.org>
738         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
739         * Makefile.in: Regenerate.
741 2010-03-25  Joseph Myers  <joseph@codesourcery.com>
743         * MAINTAINERS: Add self as TI C6X maintainer.
744         * NEWS: Add news entry for TI C6X support.
745         * readelf.c: Include elf/tic6x.h.
746         (guess_is_rela): Handle EM_TI_C6000.
747         (dump_relocations): Likewise.
748         (get_tic6x_dynamic_type): New.
749         (get_dynamic_type): Call it.
750         (get_machine_flags): Handle EF_C6000_REL.
751         (get_osabi_name): Handle machine-specific values only for relevant
752         machines.  Handle C6X values.
753         (get_tic6x_segment_type): New.
754         (get_segment_type): Call it.
755         (get_tic6x_section_type_name): New.
756         (get_section_type_name): Call it.
757         (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
758         EM_TI_C6000.
760 2010-03-25  Thomas Schwinge  <thomas@codesourcery.com>
762         * doc/binutils.texi (readelf) <unwind information>: Mention support for
763         ARM unwind tables.
765 2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>
767         * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
769 2010-03-17  Alan Modra  <amodra@gmail.com>
771         * readelf.c (dump_arm_unwind): Warning fix.
773 2010-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
775         * MAINTAINERS: Update my email address.  List Tristan Gingold
776         as the release branch maintainer.
778 2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
780         * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
782 2010-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
784         * NEWS: Document .ARM.exidx / .ARM.extab support.
786         * dwarf.c (read_leb128): Make non-static.
787         * dwarf.h (read_leb128): Declare.
788         * readelf.c (REMOVE_ARCH_BITS): Define.
789         (find_section_by_address): New.
790         (read_uleb128): Move higher.  Use read_leb128 from dwarf.c.
791         (find_symbol_for_address): Handle the Thumb bit for ARM, by
792         using REMOVE_ARCH_BITS.
793         (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
794         (arm_free_section, arm_section_get_word, decode_arm_unwind)
795         (dump_arm_unwind, arm_process_unwind): New.
796         (process_unwind): Handle ARM.
798 2010-02-26  Jie Zhang  <jie@codesourcery.com>
800         * MAINTAINERS: Update my email address.
802 2010-02-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
804         PR binutils/11298
805         * doc/binutils.texi (windmc): Fix synopsis and description of
806         ASCII options.
808 2010-02-19  Alan Modra  <amodra@gmail.com>
810         * readelf.c (get_group_flags): Return empty string when flags zero.
811         Add space in other returned values.
812         (process_section_groups): Adjust format string.
814 2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
816         * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
817         newly permitted attribute values.
818         (arm_attr_tag_Virtualization_use): Likewise.
819         (arm_attr_tag_DIV_use): Add description of new attribute.
820         (arm_attr_tag_MPextension_use_legacy): Likewise.
822 2010-02-15  Nick Clifton  <nickc@redhat.com>
824         * po/vi.po: Updated Vietnamese translation.
826 2010-02-09  Michael Holzheu  <holzheu@de.ibm.com>
828         * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
829         NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
831 2010-02-08  Jim Blandy  <jimb@red-bean.com>
833         * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
834         'z' augmentation strings.
836 2010-02-08  Christophe Lyon  <christophe.lyon@st.com>
838         * objdump.c (disassemble_bytes): Clear aux->reloc before printing
839         a new address, so as not to reuse a previous, non-related reloc.
841 2010-02-02  H.J. Lu  <hongjiu.lu@intel.com>
843         * readelf.c (get_note_type): Handle NT_X86_XSTATE.
845 2010-02-01  Nathan Sidwell  <nathan@codesourcery.com>
847         * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
848         sections.
850 2010-01-28  Nick Clifton  <nickc@redhat.com>
852         PR 11225
853         * objdump.c (only): Replace with linked list.
854         (only_size, only_used): Replace with only_list.
855         (process_section_p): Set seen field on matches sections.
856         (add_only): New function.
857         (free_only_list): New function.
858         (disassemble_section): Check only_list.
859         (main): Use add_only and free_only_list.
861 2010-01-26  Tristan Gingold  <gingold@adacore.com>
863         * Makefile.am (bin2c): Add libintl dependance and library.
864         * Makefile.in: Regenerate.
866 2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
868         * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
870 2010-01-19  Ian Lance Taylor  <iant@google.com>
872         * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
873         with non-ordinary files like /dev/null.
875 2010-01-19  Daisuke Hatayama  <d.hatayama@jp.fujitsu.com>
876             Alan Modra <amodra@gmail.com>
878         * readelf.c (process_file_header): Handle e_phnum extension.
880 2010-01-14  Tristan Gingold  <gingold@adacore.com>
882         * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
883         and DW_AT_GNAT_descriptive_type.
885 2010-01-13  Tristan Gingold  <gingold@adacore.com>
887         * ar.c (main): Use lbasename.
888         (normalize): Ditto.
889         * objdump.c (update_source_path): Ditto.
891 2010-01-12  Tristan Gingold  <gingold@adacore.com>
893         * makefile.vms (CFLAGS): Turns warnings into informational messages.
895 2010-01-11  H.J. Lu  <hongjiu.lu@intel.com>
897         PR ld/11146
898         * NEWS: Mention --dyn-syms for readelf.
900         * readelf.c (do_dyn_syms): New.
901         (OPTION_DYN_SYMS): Likewise.
902         (options): Add "dyn-syms".
903         (usage): Add --dyn-syms.
904         (parse_args): Handle OPTION_DYN_SYMS.
905         (process_symbol_table): Handle do_dyn_syms.
906         (process_object): Likewise.
907         (process_archive): Likewise.
909         * doc/binutils.texi: Document --dyn-syms for readelf.  Mention
910         symbol hash tables for -D.
912 2010-01-11  Nick Clifton  <nickc@redhat.com>
914         * NEWS: Mention addition of elfedit.
916         * po/fi.po: Updated Finnish translation.
918 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
920         * Makefile.in: Regenerate.
921         * configure: Regenerate.
922         * doc/Makefile.in: Regenerate.
924 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
926         * version.c (print_version): Change to "Copyright 2010".
928 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
930         * elfedit.c (input_elf_type): New.
931         (output_elf_type): Likewise.
932         (elf_type): Likewise.
933         (update_elf_header): Support updating ELF file type.
934         (command_line_switch): Add OPTION_INPUT_TYPE and
935         OPTION_OUTPUT_TYPE.
936         (options): Likewise.
937         (usage): Add --input-type and --output-type.
938         (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE.  Check
939         one of --output-mach and --output-type must be specified.
941         * doc/binutils.texi: Document --input-type and --output-type
942         for elfedit.
944 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
946         * doc/binutils.texi: Fix a typo.
948 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
950         * elfedit.c (update_elf_header): Don't change input_elf_class
951         nor input_elf_machine if they are -1.
953 2010-01-08  Tristan Gingold  <gingold@adacore.com>
955         * ar.c: Remove bfd_special_undocumented_glue prototype.
957 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
959         * elfedit.c (update_elf_header): Reformat.
961 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
963         * readelf.c (usage): Fix indent for --symbols.
965 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
967         * doc/binutils.texi: Replace -histogram with --histogram.
969 2010-01-06  H.J. Lu  <hongjiu.lu@intel.com>
971         PR binutils/11131
972         * Makefile.am (ELFEDIT_PROG): New.
973         (bin_PROGRAMS): Add $(ELFEDIT_PROG).
974         (CFILES): Add elfedit.c.
975         (elfedit_DEPENDENCIES): New.
976         (elfedit_SOURCES): Likewise.
977         (elfedit_LDADD): Likewise.
978         * Makefile.in: Regenerated.
980         * elfedit.c: New.
982         * doc/binutils.texi: Document elfedit.
984         * doc/Makefile.am (man_MANS): Add elfedit.1.
985         (elfedit.1): New.
986         * doc/Makefile.in: Regenerated.
988 2010-01-06  Tristan Gingold  <gingold@adacore.com>
990         * nm.c (usage): Remove extra blanks.
992 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
994         * objcopy.c: Update copyright.
995         * readelf.c: Likewise.
997 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
999         PR binutils/11130
1000         * objcopy.c (copy_object): Remove "Warning: " from error
1001         message.
1003 2010-01-04  Nick Clifton  <nickc@redhat.com>
1005         PR 11128
1006         * readelf.c (dump_section_as_strings): Use two separate
1007         invocations of printf() in order to work around bugs in
1008         the Solaris 8 implementation.
1010 2010-01-04  Nick Clifton  <nickc@redhat.com>
1012         * po/ru.po: Updated Russian translation.
1014 For older changes see ChangeLog-2009
1016 Local Variables:
1017 mode: change-log
1018 left-margin: 8
1019 fill-column: 74
1020 version-control: never
1021 End: