Move the first i.error out of the loop.
[binutils.git] / binutils / ChangeLog
blobe86b293ac03c601f730e07baff1c1897012129f1
1 2010-08-03  Tristan Gingold  <gingold@adacore.com>
3         * dwarf.c (display_debug_lines): Mark file argument unused.
4         Do not try to load .debug_info section.
6 2010-08-02  Alan Modra  <amodra@gmail.com>
8         * readelf.c (apply_relocations): D30V is really REL.
10 2010-07-23  Naveen.H.S  <naveen.S@kpitcummins.com>
11             Ina Pandit  <ina.pandit@kpitcummins.com>
13         * binutils/readelf.c: Add support for V850E2 and V850E2V3.
15 2010-07-22  Alan Modra  <amodra@gmail.com>
17         * readelf.c: Add Moxie support.
19 2010-07-20  Alan Modra  <amodra@gmail.com>
21         * readelf.c (process_program_headers): Don't ignore all zero size
22         sections.
24 2010-07-19  Andreas Schwab  <schwab@redhat.com>
26         * readelf.c (process_section_headers): Update key to flags.
28 2010-07-17  Dave Korn  <dave.korn.cygwin@gmail.com>
30         * objcopy.c (copy_usage): Tweak previous typofix.
32 2010-07-17  H.J. Lu  <hongjiu.lu@intel.com>
34         * objcopy.c (copy_usage): Fix a typo.
36 2010-07-15  Kai Tietz <kai.tietz@onevision.com>
38         * dllwrap.c (main): Make sure is_leading_underscore
39         gets initialized with correct default.
41 2010-07-05  Alan Modra  <amodra@gmail.com>
43         * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
45 2010-07-03  Cary Coutant  <ccoutant@google.com>
47         * objdump.c (load_specific_debug_section): Decompress section contents
48         before applying relocations.
49         * readelf.c (load_specific_debug_section): Update section size after
50         decompression.
52 2010-06-29  Alan Modra  <amodra@gmail.com>
54         PR binutils/3166
55         * objcopy.c (is_strip_section): Revert 2006-09-05.
56         (setup_section): Make SHT_GROUP section nobits.
58 2010-06-29  Alan Modra  <amodra@gmail.com>
60         * configure: Regenerate.
61         * po/POTFILES.in: Regenerate.
63 2010-06-27  Alan Modra  <amodra@gmail.com>
65         * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
67 2010-06-17  Nick Clifton  <nickc@redhat.com>
69         PR binutils/11711
70         * windres.c (enum option_values): New enum.
71         (long_options): Use separate option number for --include-dir
72         option.
73         (main): Separate backwards compatibility check from code to
74         implement --include-dir.  Check to see if directory exists and do
75         not complain if it does.
77 2010-06-15  Joseph Myers  <joseph@codesourcery.com>
79         * readelf.c (display_tic6x_attribute, process_tic6x_specific):
80         New.
81         (process_arch_specific): Call process_tic6x_specific for
82         EM_TI_C6000.
84 2010-06-11  H.J. Lu  <hongjiu.lu@intel.com>
86         * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
87         for 0x%lx.
89 2010-06-11  Tristan Gingold  <gingold@adacore.com>
90             Doug Rupp <rupp@gnat.com>
92         * readelf.c (is_ia64_vms): New function.
93         (dump_relocations): Use it.
94         (get_machine_flags): Display IA-64 OpenVMS flags.
95         (process_program_headers): No error on OpenVMS if no .dynamic section.
96         (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
97         declarations.
98         (dump_ia64_vms_dynamic_fixups): New function.
99         (dump_ia64_vms_dynamic_relocs): Ditto.
100         (process_ia64_vms_dynamic_relocs): Ditto.
101         (process_relocs): Handle IA-64 OpenVMS relocs.
102         (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
103         (print_vms_time): New function.
104         (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
105         DT_IA_64_VMS_LNKFLAGS.
106         (get_ia64_symbol_other): New function.
107         (get_symbol_other): Handle EM_IA_64.
109 2010-06-11  Tristan Gingold  <gingold@adacore.com>
111         * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
112         (UNW_DEC_ABI): Ditto for abiname.
113         (unw_decode_table): Make it const.
115 2010-06-10  Tristan Gingold  <gingold@adacore.com>
117         * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
118         not inplace.
120 2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
121             Joseph Myers  <joseph@codesourcery.com>
122             Andrew Stubbs  <ams@codesourcery.com>
124         * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
126 2010-05-25  Jay Krell  <jay.krell@cornell.edu>
128         PR ld/11621
129         * Makefile.am: Replace all occurences of .o with .@OBJEXT@
130         * Makefile.in: Regenerate.
132 2010-05-24  Tristan Gingold  <gingold@adacore.com>
134         * readelf.c (usage): Add new trace sections for --debug-dump.
135         (process_section_headers): Handle dump of trace sections.
136         * objdump.c (usage): Add new trace sections for --dwarf.
137         * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
138         (do_trace_aranges): Ditto.
139         (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
140         and trace_aranges literals.
141         * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
142         (do_trace_aranges): Ditto.
143         (process_debug_info): Add abbrev_sec argument and replace
144         abbrev with abbrev_sec.
145         (load_debug_info): Adjust call of process_debug_info.
146         (display_debug_info): Ditto.
147         (display_trace_info): New function.
148         (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
149         and trace_aranges sections name.
150         (dwarf_select_sections_all): Also select trace sections.
151         (debug_displays): Reindent.  Add entries for the trace sections.
152         * doc/binutils.texi (readelf): Document new --dwarf parameters.
153         (objdump): Ditto.
155 2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>
157         PR gas/11600
158         * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
159         generic flag.
161 2010-05-07  Tristan Gingold  <gingold@adacore.com>
163         * Makefile.in: Regenerate with automake 1.11.1.
164         * aclocal.m4: Ditto.
165         * doc/Makefile.in: Ditto.
167 2010-05-06  H.J. Lu  <hongjiu.lu@intel.com>
169         * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
170         * readelf.c (get_elf_section_flags): Likewise.
171         (process_section_headers): Likewise.
173 2010-05-05  Nick Clifton  <nickc@redhat.com>
175         * po/es.po: Updated Spanish translation.
177 2010-04-27  Kai Tietz  <kai.tietz@onevision.com>
179         * dlltool.c (main): Query for bfd's underscoring default for
180         default target case.
182 2010-04-27  Nick Clifton  <nickc@redhat.com>
184         * po/ru.po: Updated Russian translation.
186 2010-04-23  Alan Modra  <amodra@gmail.com>
188         * readelf.c (process_program_headers): Replace use of
189         ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
191 2010-04-22  Nick Clifton  <nickc@redhat.com>
193         * po/binutils.pot: Updated by the Translation project.
194         * po/fi.po: Updated Finnish translation.
195         * po/vi.po: Updated Vietnamese translation.
196         * po/bg.po: New Bulgarian translation.
197         * configure.in (ALL_LINGUAS): Add bg.
198         * configure: Regenerate.
200 2010-04-20  Nick Clifton  <nickc@redhat.com>
202         * po/fr.po: Updated french translation.
204 2010-04-20  Nick Clifton  <nickc@redhat.com>
206         * readelf.c: Add _() macros to constant strings that are
207         translatable.
209 2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
211         * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
212         (arm_attr_tag_ABI_align8_needed): Remove.
213         (arm_attr_tag_ABI_align8_preserved): Remove.
214         (arm_attr_tag_ABI_HardFP_use): Update text strings.
215         (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
216         (display_arm_attribute): Add decoding of ABI v2.08 attributes.
218 2010-04-13  Nick Clifton  <nickc@redhat.com>
220         PR binutils/11419
221         * dwarf.c (process_debug_info): Initialise the signature array.
223 2010-04-09  Nick Clifton  <nickc@redhat.com>
225         * dwarf.c (process_debug_info): Remove unused variable
226         cu_abbrev_offset_ptr.
227         (display_debug_lines_decoded): Remove unused variable prev_line.
228         * elfedit.c (process_archive): Remove unused variable
229         file_name_size.
230         * ieee.c (ieee_start_compilation_unit): Remove unused variable
231         nindx.
232         (ieee_set_type): Remove unused variables info, targetindx and
233         baseindx.
234         * objdump.c (disassmble_byte): Remove unused variable done_dot.
235         * rddbg.c (read_section_stabs_debugging_info): Remove unused
236         variable other.
237         * readelf.c (dump_section_as_strings): Remove unused variable
238         addr.
239         (process_archive): Remove unused variable file_name_size.
240         * stabs.c (parse_stab_string): Mark desc parameter as unused.
241         Remove unused variable lineno.
242         (parse_stab_struct_type): Remove unused variable orig.
243         (stab_demangle_type): Remove unused variables constp, volatilep
244         and hold.
246 2010-04-07  Alan Modra  <amodra@gmail.com>
248         * configure: Regenerate.
250 2010-04-06  Nick Clifton  <nickc@redhat.com>
252         * po/vi.po: Updated Vietnamese translation.
254 2010-04-05  Jakub Jelinek  <jakub@redhat.com>
256         * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
257         fields.
258         (display_debug_frames): Handle CIE version 4.
260         * dwarf.c (struct State_Machine_Registers): Add op_index field,
261         change end_sequence type to unsigned char.
262         (reset_state_machine): Clear op_index.
263         (process_extended_line_op): For DW_LNE_set_address clear op_index.
264         (display_debug_lines_raw): Initialize li_max_ops_per_insn.
265         Track op_index state machine register and print it if
266         li_max_ops_per_insn is != 1.
267         (display_debug_lines_decoded): Likewise.
269 2010-04-01  Jakub Jelinek  <jakub@redhat.com>
271         * dwarf.c (read_and_display_attr_value): Don't reject
272         dwarf_version == 4.  Handle DW_FORM_sec_offset, DW_FORM_flag_present
273         and DW_FORM_exprloc.
274         (process_debug_info): Handle cu_version == 4.
275         (display_debug_lines_raw, display_debug_lines_decoded): Handle
276         li_version == 4.
278 2010-03-30  Andreas Schwab  <schwab@linux-m68k.org>
280         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
281         * Makefile.in: Regenerate.
283 2010-03-25  Joseph Myers  <joseph@codesourcery.com>
285         * MAINTAINERS: Add self as TI C6X maintainer.
286         * NEWS: Add news entry for TI C6X support.
287         * readelf.c: Include elf/tic6x.h.
288         (guess_is_rela): Handle EM_TI_C6000.
289         (dump_relocations): Likewise.
290         (get_tic6x_dynamic_type): New.
291         (get_dynamic_type): Call it.
292         (get_machine_flags): Handle EF_C6000_REL.
293         (get_osabi_name): Handle machine-specific values only for relevant
294         machines.  Handle C6X values.
295         (get_tic6x_segment_type): New.
296         (get_segment_type): Call it.
297         (get_tic6x_section_type_name): New.
298         (get_section_type_name): Call it.
299         (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
300         EM_TI_C6000.
302 2010-03-25  Thomas Schwinge  <thomas@codesourcery.com>
304         * doc/binutils.texi (readelf) <unwind information>: Mention support for
305         ARM unwind tables.
307 2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>
309         * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
311 2010-03-17  Alan Modra  <amodra@gmail.com>
313         * readelf.c (dump_arm_unwind): Warning fix.
315 2010-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
317         * MAINTAINERS: Update my email address.  List Tristan Gingold
318         as the release branch maintainer.
320 2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
322         * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
324 2010-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
326         * NEWS: Document .ARM.exidx / .ARM.extab support.
328         * dwarf.c (read_leb128): Make non-static.
329         * dwarf.h (read_leb128): Declare.
330         * readelf.c (REMOVE_ARCH_BITS): Define.
331         (find_section_by_address): New.
332         (read_uleb128): Move higher.  Use read_leb128 from dwarf.c.
333         (find_symbol_for_address): Handle the Thumb bit for ARM, by
334         using REMOVE_ARCH_BITS.
335         (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
336         (arm_free_section, arm_section_get_word, decode_arm_unwind)
337         (dump_arm_unwind, arm_process_unwind): New.
338         (process_unwind): Handle ARM.
340 2010-02-26  Jie Zhang  <jie@codesourcery.com>
342         * MAINTAINERS: Update my email address.
344 2010-02-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
346         PR binutils/11298
347         * doc/binutils.texi (windmc): Fix synopsis and description of
348         ASCII options.
350 2010-02-19  Alan Modra  <amodra@gmail.com>
352         * readelf.c (get_group_flags): Return empty string when flags zero.
353         Add space in other returned values.
354         (process_section_groups): Adjust format string.
356 2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
358         * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
359         newly permitted attribute values.
360         (arm_attr_tag_Virtualization_use): Likewise.
361         (arm_attr_tag_DIV_use): Add description of new attribute.
362         (arm_attr_tag_MPextension_use_legacy): Likewise.
364 2010-02-15  Nick Clifton  <nickc@redhat.com>
366         * po/vi.po: Updated Vietnamese translation.
368 2010-02-09  Michael Holzheu  <holzheu@de.ibm.com>
370         * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
371         NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
373 2010-02-08  Jim Blandy  <jimb@red-bean.com>
375         * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
376         'z' augmentation strings.
378 2010-02-08  Christophe Lyon  <christophe.lyon@st.com>
380         * objdump.c (disassemble_bytes): Clear aux->reloc before printing
381         a new address, so as not to reuse a previous, non-related reloc.
383 2010-02-02  H.J. Lu  <hongjiu.lu@intel.com>
385         * readelf.c (get_note_type): Handle NT_X86_XSTATE.
387 2010-02-01  Nathan Sidwell  <nathan@codesourcery.com>
389         * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
390         sections.
392 2010-01-28  Nick Clifton  <nickc@redhat.com>
394         PR 11225
395         * objdump.c (only): Replace with linked list.
396         (only_size, only_used): Replace with only_list.
397         (process_section_p): Set seen field on matches sections.
398         (add_only): New function.
399         (free_only_list): New function.
400         (disassemble_section): Check only_list.
401         (main): Use add_only and free_only_list.
403 2010-01-26  Tristan Gingold  <gingold@adacore.com>
405         * Makefile.am (bin2c): Add libintl dependance and library.
406         * Makefile.in: Regenerate.
408 2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
410         * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
412 2010-01-19  Ian Lance Taylor  <iant@google.com>
414         * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
415         with non-ordinary files like /dev/null.
417 2010-01-19  Daisuke Hatayama  <d.hatayama@jp.fujitsu.com>
418             Alan Modra <amodra@gmail.com>
420         * readelf.c (process_file_header): Handle e_phnum extension.
422 2010-01-14  Tristan Gingold  <gingold@adacore.com>
424         * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
425         and DW_AT_GNAT_descriptive_type.
427 2010-01-13  Tristan Gingold  <gingold@adacore.com>
429         * ar.c (main): Use lbasename.
430         (normalize): Ditto.
431         * objdump.c (update_source_path): Ditto.
433 2010-01-12  Tristan Gingold  <gingold@adacore.com>
435         * makefile.vms (CFLAGS): Turns warnings into informational messages.
437 2010-01-11  H.J. Lu  <hongjiu.lu@intel.com>
439         PR ld/11146
440         * NEWS: Mention --dyn-syms for readelf.
442         * readelf.c (do_dyn_syms): New.
443         (OPTION_DYN_SYMS): Likewise.
444         (options): Add "dyn-syms".
445         (usage): Add --dyn-syms.
446         (parse_args): Handle OPTION_DYN_SYMS.
447         (process_symbol_table): Handle do_dyn_syms.
448         (process_object): Likewise.
449         (process_archive): Likewise.
451         * doc/binutils.texi: Document --dyn-syms for readelf.  Mention
452         symbol hash tables for -D.
454 2010-01-11  Nick Clifton  <nickc@redhat.com>
456         * NEWS: Mention addition of elfedit.
458         * po/fi.po: Updated Finnish translation.
460 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
462         * Makefile.in: Regenerate.
463         * configure: Regenerate.
464         * doc/Makefile.in: Regenerate.
466 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
468         * version.c (print_version): Change to "Copyright 2010".
470 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
472         * elfedit.c (input_elf_type): New.
473         (output_elf_type): Likewise.
474         (elf_type): Likewise.
475         (update_elf_header): Support updating ELF file type.
476         (command_line_switch): Add OPTION_INPUT_TYPE and
477         OPTION_OUTPUT_TYPE.
478         (options): Likewise.
479         (usage): Add --input-type and --output-type.
480         (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE.  Check
481         one of --output-mach and --output-type must be specified.
483         * doc/binutils.texi: Document --input-type and --output-type
484         for elfedit.
486 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
488         * doc/binutils.texi: Fix a typo.
490 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
492         * elfedit.c (update_elf_header): Don't change input_elf_class
493         nor input_elf_machine if they are -1.
495 2010-01-08  Tristan Gingold  <gingold@adacore.com>
497         * ar.c: Remove bfd_special_undocumented_glue prototype.
499 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
501         * elfedit.c (update_elf_header): Reformat.
503 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
505         * readelf.c (usage): Fix indent for --symbols.
507 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
509         * doc/binutils.texi: Replace -histogram with --histogram.
511 2010-01-06  H.J. Lu  <hongjiu.lu@intel.com>
513         PR binutils/11131
514         * Makefile.am (ELFEDIT_PROG): New.
515         (bin_PROGRAMS): Add $(ELFEDIT_PROG).
516         (CFILES): Add elfedit.c.
517         (elfedit_DEPENDENCIES): New.
518         (elfedit_SOURCES): Likewise.
519         (elfedit_LDADD): Likewise.
520         * Makefile.in: Regenerated.
522         * elfedit.c: New.
524         * doc/binutils.texi: Document elfedit.
526         * doc/Makefile.am (man_MANS): Add elfedit.1.
527         (elfedit.1): New.
528         * doc/Makefile.in: Regenerated.
530 2010-01-06  Tristan Gingold  <gingold@adacore.com>
532         * nm.c (usage): Remove extra blanks.
534 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
536         * objcopy.c: Update copyright.
537         * readelf.c: Likewise.
539 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
541         PR binutils/11130
542         * objcopy.c (copy_object): Remove "Warning: " from error
543         message.
545 2010-01-04  Nick Clifton  <nickc@redhat.com>
547         PR 11128
548         * readelf.c (dump_section_as_strings): Use two separate
549         invocations of printf() in order to work around bugs in
550         the Solaris 8 implementation.
552 2010-01-04  Nick Clifton  <nickc@redhat.com>
554         * po/ru.po: Updated Russian translation.
556 For older changes see ChangeLog-2009
558 Local Variables:
559 mode: change-log
560 left-margin: 8
561 fill-column: 74
562 version-control: never
563 End: