2010-05-21 Daniel Jacobowitz <dan@codesourcery.com>
[binutils.git] / binutils / ChangeLog
blob8cfe737a8b8ab0a26e6ec8ee34329f8680c877db
1 2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
2             Joseph Myers  <joseph@codesourcery.com>
3             Andrew Stubbs  <ams@codesourcery.com>
5         * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
7 2010-05-25  Jay Krell  <jay.krell@cornell.edu>
9         PR ld/11621
10         * Makefile.am: Replace all occurences of .o with .@OBJEXT@
11         * Makefile.in: Regenerate.
13 2010-05-24  Tristan Gingold  <gingold@adacore.com>
15         * readelf.c (usage): Add new trace sections for --debug-dump.
16         (process_section_headers): Handle dump of trace sections.
17         * objdump.c (usage): Add new trace sections for --dwarf.
18         * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
19         (do_trace_aranges): Ditto.
20         (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
21         and trace_aranges literals.
22         * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
23         (do_trace_aranges): Ditto.
24         (process_debug_info): Add abbrev_sec argument and replace
25         abbrev with abbrev_sec.
26         (load_debug_info): Adjust call of process_debug_info.
27         (display_debug_info): Ditto.
28         (display_trace_info): New function.
29         (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
30         and trace_aranges sections name.
31         (dwarf_select_sections_all): Also select trace sections.
32         (debug_displays): Reindent.  Add entries for the trace sections.
33         * doc/binutils.texi (readelf): Document new --dwarf parameters.
34         (objdump): Ditto.
36 2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38         PR gas/11600
39         * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
40         generic flag.
42 2010-05-07  Tristan Gingold  <gingold@adacore.com>
44         * Makefile.in: Regenerate with automake 1.11.1.
45         * aclocal.m4: Ditto.
46         * doc/Makefile.in: Ditto.
48 2010-05-06  H.J. Lu  <hongjiu.lu@intel.com>
50         * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
51         * readelf.c (get_elf_section_flags): Likewise.
52         (process_section_headers): Likewise.
54 2010-05-05  Nick Clifton  <nickc@redhat.com>
56         * po/es.po: Updated Spanish translation.
58 2010-04-27  Kai Tietz  <kai.tietz@onevision.com>
60         * dlltool.c (main): Query for bfd's underscoring default for
61         default target case.
63 2010-04-27  Nick Clifton  <nickc@redhat.com>
65         * po/ru.po: Updated Russian translation.
67 2010-04-23  Alan Modra  <amodra@gmail.com>
69         * readelf.c (process_program_headers): Replace use of
70         ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
72 2010-04-22  Nick Clifton  <nickc@redhat.com>
74         * po/binutils.pot: Updated by the Translation project.
75         * po/fi.po: Updated Finnish translation.
76         * po/vi.po: Updated Vietnamese translation.
77         * po/bg.po: New Bulgarian translation.
78         * configure.in (ALL_LINGUAS): Add bg.
79         * configure: Regenerate.
81 2010-04-20  Nick Clifton  <nickc@redhat.com>
83         * po/fr.po: Updated french translation.
85 2010-04-20  Nick Clifton  <nickc@redhat.com>
87         * readelf.c: Add _() macros to constant strings that are
88         translatable.
90 2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
92         * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
93         (arm_attr_tag_ABI_align8_needed): Remove.
94         (arm_attr_tag_ABI_align8_preserved): Remove.
95         (arm_attr_tag_ABI_HardFP_use): Update text strings.
96         (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
97         (display_arm_attribute): Add decoding of ABI v2.08 attributes.
99 2010-04-13  Nick Clifton  <nickc@redhat.com>
101         PR binutils/11419
102         * dwarf.c (process_debug_info): Initialise the signature array.
104 2010-04-09  Nick Clifton  <nickc@redhat.com>
106         * dwarf.c (process_debug_info): Remove unused variable
107         cu_abbrev_offset_ptr.
108         (display_debug_lines_decoded): Remove unused variable prev_line.
109         * elfedit.c (process_archive): Remove unused variable
110         file_name_size.
111         * ieee.c (ieee_start_compilation_unit): Remove unused variable
112         nindx.
113         (ieee_set_type): Remove unused variables info, targetindx and
114         baseindx.
115         * objdump.c (disassmble_byte): Remove unused variable done_dot.
116         * rddbg.c (read_section_stabs_debugging_info): Remove unused
117         variable other.
118         * readelf.c (dump_section_as_strings): Remove unused variable
119         addr.
120         (process_archive): Remove unused variable file_name_size.
121         * stabs.c (parse_stab_string): Mark desc parameter as unused.
122         Remove unused variable lineno.
123         (parse_stab_struct_type): Remove unused variable orig.
124         (stab_demangle_type): Remove unused variables constp, volatilep
125         and hold.
127 2010-04-07  Alan Modra  <amodra@gmail.com>
129         * configure: Regenerate.
131 2010-04-06  Nick Clifton  <nickc@redhat.com>
133         * po/vi.po: Updated Vietnamese translation.
135 2010-04-05  Jakub Jelinek  <jakub@redhat.com>
137         * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
138         fields.
139         (display_debug_frames): Handle CIE version 4.
141         * dwarf.c (struct State_Machine_Registers): Add op_index field,
142         change end_sequence type to unsigned char.
143         (reset_state_machine): Clear op_index.
144         (process_extended_line_op): For DW_LNE_set_address clear op_index.
145         (display_debug_lines_raw): Initialize li_max_ops_per_insn.
146         Track op_index state machine register and print it if
147         li_max_ops_per_insn is != 1.
148         (display_debug_lines_decoded): Likewise.
150 2010-04-01  Jakub Jelinek  <jakub@redhat.com>
152         * dwarf.c (read_and_display_attr_value): Don't reject
153         dwarf_version == 4.  Handle DW_FORM_sec_offset, DW_FORM_flag_present
154         and DW_FORM_exprloc.
155         (process_debug_info): Handle cu_version == 4.
156         (display_debug_lines_raw, display_debug_lines_decoded): Handle
157         li_version == 4.
159 2010-03-30  Andreas Schwab  <schwab@linux-m68k.org>
161         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
162         * Makefile.in: Regenerate.
164 2010-03-25  Joseph Myers  <joseph@codesourcery.com>
166         * MAINTAINERS: Add self as TI C6X maintainer.
167         * NEWS: Add news entry for TI C6X support.
168         * readelf.c: Include elf/tic6x.h.
169         (guess_is_rela): Handle EM_TI_C6000.
170         (dump_relocations): Likewise.
171         (get_tic6x_dynamic_type): New.
172         (get_dynamic_type): Call it.
173         (get_machine_flags): Handle EF_C6000_REL.
174         (get_osabi_name): Handle machine-specific values only for relevant
175         machines.  Handle C6X values.
176         (get_tic6x_segment_type): New.
177         (get_segment_type): Call it.
178         (get_tic6x_section_type_name): New.
179         (get_section_type_name): Call it.
180         (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
181         EM_TI_C6000.
183 2010-03-25  Thomas Schwinge  <thomas@codesourcery.com>
185         * doc/binutils.texi (readelf) <unwind information>: Mention support for
186         ARM unwind tables.
188 2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>
190         * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
192 2010-03-17  Alan Modra  <amodra@gmail.com>
194         * readelf.c (dump_arm_unwind): Warning fix.
196 2010-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
198         * MAINTAINERS: Update my email address.  List Tristan Gingold
199         as the release branch maintainer.
201 2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
203         * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
205 2010-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
207         * NEWS: Document .ARM.exidx / .ARM.extab support.
209         * dwarf.c (read_leb128): Make non-static.
210         * dwarf.h (read_leb128): Declare.
211         * readelf.c (REMOVE_ARCH_BITS): Define.
212         (find_section_by_address): New.
213         (read_uleb128): Move higher.  Use read_leb128 from dwarf.c.
214         (find_symbol_for_address): Handle the Thumb bit for ARM, by
215         using REMOVE_ARCH_BITS.
216         (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
217         (arm_free_section, arm_section_get_word, decode_arm_unwind)
218         (dump_arm_unwind, arm_process_unwind): New.
219         (process_unwind): Handle ARM.
221 2010-02-26  Jie Zhang  <jie@codesourcery.com>
223         * MAINTAINERS: Update my email address.
225 2010-02-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
227         PR binutils/11298
228         * doc/binutils.texi (windmc): Fix synopsis and description of
229         ASCII options.
231 2010-02-19  Alan Modra  <amodra@gmail.com>
233         * readelf.c (get_group_flags): Return empty string when flags zero.
234         Add space in other returned values.
235         (process_section_groups): Adjust format string.
237 2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
239         * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
240         newly permitted attribute values.
241         (arm_attr_tag_Virtualization_use): Likewise.
242         (arm_attr_tag_DIV_use): Add description of new attribute.
243         (arm_attr_tag_MPextension_use_legacy): Likewise.
245 2010-02-15  Nick Clifton  <nickc@redhat.com>
247         * po/vi.po: Updated Vietnamese translation.
249 2010-02-09  Michael Holzheu  <holzheu@de.ibm.com>
251         * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
252         NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
254 2010-02-08  Jim Blandy  <jimb@red-bean.com>
256         * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
257         'z' augmentation strings.
259 2010-02-08  Christophe Lyon  <christophe.lyon@st.com>
261         * objdump.c (disassemble_bytes): Clear aux->reloc before printing
262         a new address, so as not to reuse a previous, non-related reloc.
264 2010-02-02  H.J. Lu  <hongjiu.lu@intel.com>
266         * readelf.c (get_note_type): Handle NT_X86_XSTATE.
268 2010-02-01  Nathan Sidwell  <nathan@codesourcery.com>
270         * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
271         sections.
273 2010-01-28  Nick Clifton  <nickc@redhat.com>
275         PR 11225
276         * objdump.c (only): Replace with linked list.
277         (only_size, only_used): Replace with only_list.
278         (process_section_p): Set seen field on matches sections.
279         (add_only): New function.
280         (free_only_list): New function.
281         (disassemble_section): Check only_list.
282         (main): Use add_only and free_only_list.
284 2010-01-26  Tristan Gingold  <gingold@adacore.com>
286         * Makefile.am (bin2c): Add libintl dependance and library.
287         * Makefile.in: Regenerate.
289 2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
291         * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
293 2010-01-19  Ian Lance Taylor  <iant@google.com>
295         * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
296         with non-ordinary files like /dev/null.
298 2010-01-19  Daisuke Hatayama  <d.hatayama@jp.fujitsu.com>
299             Alan Modra <amodra@gmail.com>
301         * readelf.c (process_file_header): Handle e_phnum extension.
303 2010-01-14  Tristan Gingold  <gingold@adacore.com>
305         * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
306         and DW_AT_GNAT_descriptive_type.
308 2010-01-13  Tristan Gingold  <gingold@adacore.com>
310         * ar.c (main): Use lbasename.
311         (normalize): Ditto.
312         * objdump.c (update_source_path): Ditto.
314 2010-01-12  Tristan Gingold  <gingold@adacore.com>
316         * makefile.vms (CFLAGS): Turns warnings into informational messages.
318 2010-01-11  H.J. Lu  <hongjiu.lu@intel.com>
320         PR ld/11146
321         * NEWS: Mention --dyn-syms for readelf.
323         * readelf.c (do_dyn_syms): New.
324         (OPTION_DYN_SYMS): Likewise.
325         (options): Add "dyn-syms".
326         (usage): Add --dyn-syms.
327         (parse_args): Handle OPTION_DYN_SYMS.
328         (process_symbol_table): Handle do_dyn_syms.
329         (process_object): Likewise.
330         (process_archive): Likewise.
332         * doc/binutils.texi: Document --dyn-syms for readelf.  Mention
333         symbol hash tables for -D.
335 2010-01-11  Nick Clifton  <nickc@redhat.com>
337         * NEWS: Mention addition of elfedit.
339         * po/fi.po: Updated Finnish translation.
341 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
343         * Makefile.in: Regenerate.
344         * configure: Regenerate.
345         * doc/Makefile.in: Regenerate.
347 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
349         * version.c (print_version): Change to "Copyright 2010".
351 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
353         * elfedit.c (input_elf_type): New.
354         (output_elf_type): Likewise.
355         (elf_type): Likewise.
356         (update_elf_header): Support updating ELF file type.
357         (command_line_switch): Add OPTION_INPUT_TYPE and
358         OPTION_OUTPUT_TYPE.
359         (options): Likewise.
360         (usage): Add --input-type and --output-type.
361         (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE.  Check
362         one of --output-mach and --output-type must be specified.
364         * doc/binutils.texi: Document --input-type and --output-type
365         for elfedit.
367 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
369         * doc/binutils.texi: Fix a typo.
371 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
373         * elfedit.c (update_elf_header): Don't change input_elf_class
374         nor input_elf_machine if they are -1.
376 2010-01-08  Tristan Gingold  <gingold@adacore.com>
378         * ar.c: Remove bfd_special_undocumented_glue prototype.
380 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
382         * elfedit.c (update_elf_header): Reformat.
384 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
386         * readelf.c (usage): Fix indent for --symbols.
388 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
390         * doc/binutils.texi: Replace -histogram with --histogram.
392 2010-01-06  H.J. Lu  <hongjiu.lu@intel.com>
394         PR binutils/11131
395         * Makefile.am (ELFEDIT_PROG): New.
396         (bin_PROGRAMS): Add $(ELFEDIT_PROG).
397         (CFILES): Add elfedit.c.
398         (elfedit_DEPENDENCIES): New.
399         (elfedit_SOURCES): Likewise.
400         (elfedit_LDADD): Likewise.
401         * Makefile.in: Regenerated.
403         * elfedit.c: New.
405         * doc/binutils.texi: Document elfedit.
407         * doc/Makefile.am (man_MANS): Add elfedit.1.
408         (elfedit.1): New.
409         * doc/Makefile.in: Regenerated.
411 2010-01-06  Tristan Gingold  <gingold@adacore.com>
413         * nm.c (usage): Remove extra blanks.
415 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
417         * objcopy.c: Update copyright.
418         * readelf.c: Likewise.
420 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
422         PR binutils/11130
423         * objcopy.c (copy_object): Remove "Warning: " from error
424         message.
426 2010-01-04  Nick Clifton  <nickc@redhat.com>
428         PR 11128
429         * readelf.c (dump_section_as_strings): Use two separate
430         invocations of printf() in order to work around bugs in
431         the Solaris 8 implementation.
433 2010-01-04  Nick Clifton  <nickc@redhat.com>
435         * po/ru.po: Updated Russian translation.
437 For older changes see ChangeLog-2009
439 Local Variables:
440 mode: change-log
441 left-margin: 8
442 fill-column: 74
443 version-control: never
444 End: