* write.c (fixup_segment): Do not assume we know the section a
[binutils.git] / binutils / ChangeLog
blob2b7d520f3b601acf250576484ba29dc444befe32
1 2010-04-27  Kai Tietz  <kai.tietz@onevision.com>
3         * dlltool.c (main): Query for bfd's underscoring default for
4         default target case.
6 2010-04-27  Nick Clifton  <nickc@redhat.com>
8         * po/ru.po: Updated Russian translation.
10 2010-04-23  Alan Modra  <amodra@gmail.com>
12         * readelf.c (process_program_headers): Replace use of
13         ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
15 2010-04-22  Nick Clifton  <nickc@redhat.com>
17         * po/binutils.pot: Updated by the Translation project.
18         * po/fi.po: Updated Finnish translation.
19         * po/vi.po: Updated Vietnamese translation.
20         * po/bg.po: New Bulgarian translation.
21         * configure.in (ALL_LINGUAS): Add bg.
22         * configure: Regenerate.
24 2010-04-20  Nick Clifton  <nickc@redhat.com>
26         * po/fr.po: Updated french translation.
28 2010-04-20  Nick Clifton  <nickc@redhat.com>
30         * readelf.c: Add _() macros to constant strings that are
31         translatable.
33 2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
35         * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
36         (arm_attr_tag_ABI_align8_needed): Remove.
37         (arm_attr_tag_ABI_align8_preserved): Remove.
38         (arm_attr_tag_ABI_HardFP_use): Update text strings.
39         (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
40         (display_arm_attribute): Add decoding of ABI v2.08 attributes.
42 2010-04-13  Nick Clifton  <nickc@redhat.com>
44         PR binutils/11419
45         * dwarf.c (process_debug_info): Initialise the signature array.
47 2010-04-09  Nick Clifton  <nickc@redhat.com>
49         * dwarf.c (process_debug_info): Remove unused variable
50         cu_abbrev_offset_ptr.
51         (display_debug_lines_decoded): Remove unused variable prev_line.
52         * elfedit.c (process_archive): Remove unused variable
53         file_name_size.
54         * ieee.c (ieee_start_compilation_unit): Remove unused variable
55         nindx.
56         (ieee_set_type): Remove unused variables info, targetindx and
57         baseindx.
58         * objdump.c (disassmble_byte): Remove unused variable done_dot.
59         * rddbg.c (read_section_stabs_debugging_info): Remove unused
60         variable other.
61         * readelf.c (dump_section_as_strings): Remove unused variable
62         addr.
63         (process_archive): Remove unused variable file_name_size.
64         * stabs.c (parse_stab_string): Mark desc parameter as unused.
65         Remove unused variable lineno.
66         (parse_stab_struct_type): Remove unused variable orig.
67         (stab_demangle_type): Remove unused variables constp, volatilep
68         and hold.
70 2010-04-07  Alan Modra  <amodra@gmail.com>
72         * configure: Regenerate.
74 2010-04-06  Nick Clifton  <nickc@redhat.com>
76         * po/vi.po: Updated Vietnamese translation.
78 2010-04-05  Jakub Jelinek  <jakub@redhat.com>
80         * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
81         fields.
82         (display_debug_frames): Handle CIE version 4.
84         * dwarf.c (struct State_Machine_Registers): Add op_index field,
85         change end_sequence type to unsigned char.
86         (reset_state_machine): Clear op_index.
87         (process_extended_line_op): For DW_LNE_set_address clear op_index.
88         (display_debug_lines_raw): Initialize li_max_ops_per_insn.
89         Track op_index state machine register and print it if
90         li_max_ops_per_insn is != 1.
91         (display_debug_lines_decoded): Likewise.
93 2010-04-01  Jakub Jelinek  <jakub@redhat.com>
95         * dwarf.c (read_and_display_attr_value): Don't reject
96         dwarf_version == 4.  Handle DW_FORM_sec_offset, DW_FORM_flag_present
97         and DW_FORM_exprloc.
98         (process_debug_info): Handle cu_version == 4.
99         (display_debug_lines_raw, display_debug_lines_decoded): Handle
100         li_version == 4.
102 2010-03-30  Andreas Schwab  <schwab@linux-m68k.org>
104         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
105         * Makefile.in: Regenerate.
107 2010-03-25  Joseph Myers  <joseph@codesourcery.com>
109         * MAINTAINERS: Add self as TI C6X maintainer.
110         * NEWS: Add news entry for TI C6X support.
111         * readelf.c: Include elf/tic6x.h.
112         (guess_is_rela): Handle EM_TI_C6000.
113         (dump_relocations): Likewise.
114         (get_tic6x_dynamic_type): New.
115         (get_dynamic_type): Call it.
116         (get_machine_flags): Handle EF_C6000_REL.
117         (get_osabi_name): Handle machine-specific values only for relevant
118         machines.  Handle C6X values.
119         (get_tic6x_segment_type): New.
120         (get_segment_type): Call it.
121         (get_tic6x_section_type_name): New.
122         (get_section_type_name): Call it.
123         (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
124         EM_TI_C6000.
126 2010-03-25  Thomas Schwinge  <thomas@codesourcery.com>
128         * doc/binutils.texi (readelf) <unwind information>: Mention support for
129         ARM unwind tables.
131 2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>
133         * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
135 2010-03-17  Alan Modra  <amodra@gmail.com>
137         * readelf.c (dump_arm_unwind): Warning fix.
139 2010-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
141         * MAINTAINERS: Update my email address.  List Tristan Gingold
142         as the release branch maintainer.
144 2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
146         * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
148 2010-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
150         * NEWS: Document .ARM.exidx / .ARM.extab support.
152         * dwarf.c (read_leb128): Make non-static.
153         * dwarf.h (read_leb128): Declare.
154         * readelf.c (REMOVE_ARCH_BITS): Define.
155         (find_section_by_address): New.
156         (read_uleb128): Move higher.  Use read_leb128 from dwarf.c.
157         (find_symbol_for_address): Handle the Thumb bit for ARM, by
158         using REMOVE_ARCH_BITS.
159         (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
160         (arm_free_section, arm_section_get_word, decode_arm_unwind)
161         (dump_arm_unwind, arm_process_unwind): New.
162         (process_unwind): Handle ARM.
164 2010-02-26  Jie Zhang  <jie@codesourcery.com>
166         * MAINTAINERS: Update my email address.
168 2010-02-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
170         PR binutils/11298
171         * doc/binutils.texi (windmc): Fix synopsis and description of
172         ASCII options.
174 2010-02-19  Alan Modra  <amodra@gmail.com>
176         * readelf.c (get_group_flags): Return empty string when flags zero.
177         Add space in other returned values.
178         (process_section_groups): Adjust format string.
180 2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
182         * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
183         newly permitted attribute values.
184         (arm_attr_tag_Virtualization_use): Likewise.
185         (arm_attr_tag_DIV_use): Add description of new attribute.
186         (arm_attr_tag_MPextension_use_legacy): Likewise.
188 2010-02-15  Nick Clifton  <nickc@redhat.com>
190         * po/vi.po: Updated Vietnamese translation.
192 2010-02-09  Michael Holzheu  <holzheu@de.ibm.com>
194         * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
195         NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
197 2010-02-08  Jim Blandy  <jimb@red-bean.com>
199         * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
200         'z' augmentation strings.
202 2010-02-08  Christophe Lyon  <christophe.lyon@st.com>
204         * objdump.c (disassemble_bytes): Clear aux->reloc before printing
205         a new address, so as not to reuse a previous, non-related reloc.
207 2010-02-02  H.J. Lu  <hongjiu.lu@intel.com>
209         * readelf.c (get_note_type): Handle NT_X86_XSTATE.
211 2010-02-01  Nathan Sidwell  <nathan@codesourcery.com>
213         * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
214         sections.
216 2010-01-28  Nick Clifton  <nickc@redhat.com>
218         PR 11225
219         * objdump.c (only): Replace with linked list.
220         (only_size, only_used): Replace with only_list.
221         (process_section_p): Set seen field on matches sections.
222         (add_only): New function.
223         (free_only_list): New function.
224         (disassemble_section): Check only_list.
225         (main): Use add_only and free_only_list.
227 2010-01-26  Tristan Gingold  <gingold@adacore.com>
229         * Makefile.am (bin2c): Add libintl dependance and library.
230         * Makefile.in: Regenerate.
232 2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
234         * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
236 2010-01-19  Ian Lance Taylor  <iant@google.com>
238         * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
239         with non-ordinary files like /dev/null.
241 2010-01-19  Daisuke Hatayama  <d.hatayama@jp.fujitsu.com>
242             Alan Modra <amodra@gmail.com>
244         * readelf.c (process_file_header): Handle e_phnum extension.
246 2010-01-14  Tristan Gingold  <gingold@adacore.com>
248         * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
249         and DW_AT_GNAT_descriptive_type.
251 2010-01-13  Tristan Gingold  <gingold@adacore.com>
253         * ar.c (main): Use lbasename.
254         (normalize): Ditto.
255         * objdump.c (update_source_path): Ditto.
257 2010-01-12  Tristan Gingold  <gingold@adacore.com>
259         * makefile.vms (CFLAGS): Turns warnings into informational messages.
261 2010-01-11  H.J. Lu  <hongjiu.lu@intel.com>
263         PR ld/11146
264         * NEWS: Mention --dyn-syms for readelf.
266         * readelf.c (do_dyn_syms): New.
267         (OPTION_DYN_SYMS): Likewise.
268         (options): Add "dyn-syms".
269         (usage): Add --dyn-syms.
270         (parse_args): Handle OPTION_DYN_SYMS.
271         (process_symbol_table): Handle do_dyn_syms.
272         (process_object): Likewise.
273         (process_archive): Likewise.
275         * doc/binutils.texi: Document --dyn-syms for readelf.  Mention
276         symbol hash tables for -D.
278 2010-01-11  Nick Clifton  <nickc@redhat.com>
280         * NEWS: Mention addition of elfedit.
282         * po/fi.po: Updated Finnish translation.
284 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
286         * Makefile.in: Regenerate.
287         * configure: Regenerate.
288         * doc/Makefile.in: Regenerate.
290 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
292         * version.c (print_version): Change to "Copyright 2010".
294 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
296         * elfedit.c (input_elf_type): New.
297         (output_elf_type): Likewise.
298         (elf_type): Likewise.
299         (update_elf_header): Support updating ELF file type.
300         (command_line_switch): Add OPTION_INPUT_TYPE and
301         OPTION_OUTPUT_TYPE.
302         (options): Likewise.
303         (usage): Add --input-type and --output-type.
304         (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE.  Check
305         one of --output-mach and --output-type must be specified.
307         * doc/binutils.texi: Document --input-type and --output-type
308         for elfedit.
310 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
312         * doc/binutils.texi: Fix a typo.
314 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
316         * elfedit.c (update_elf_header): Don't change input_elf_class
317         nor input_elf_machine if they are -1.
319 2010-01-08  Tristan Gingold  <gingold@adacore.com>
321         * ar.c: Remove bfd_special_undocumented_glue prototype.
323 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
325         * elfedit.c (update_elf_header): Reformat.
327 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
329         * readelf.c (usage): Fix indent for --symbols.
331 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
333         * doc/binutils.texi: Replace -histogram with --histogram.
335 2010-01-06  H.J. Lu  <hongjiu.lu@intel.com>
337         PR binutils/11131
338         * Makefile.am (ELFEDIT_PROG): New.
339         (bin_PROGRAMS): Add $(ELFEDIT_PROG).
340         (CFILES): Add elfedit.c.
341         (elfedit_DEPENDENCIES): New.
342         (elfedit_SOURCES): Likewise.
343         (elfedit_LDADD): Likewise.
344         * Makefile.in: Regenerated.
346         * elfedit.c: New.
348         * doc/binutils.texi: Document elfedit.
350         * doc/Makefile.am (man_MANS): Add elfedit.1.
351         (elfedit.1): New.
352         * doc/Makefile.in: Regenerated.
354 2010-01-06  Tristan Gingold  <gingold@adacore.com>
356         * nm.c (usage): Remove extra blanks.
358 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
360         * objcopy.c: Update copyright.
361         * readelf.c: Likewise.
363 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
365         PR binutils/11130
366         * objcopy.c (copy_object): Remove "Warning: " from error
367         message.
369 2010-01-04  Nick Clifton  <nickc@redhat.com>
371         PR 11128
372         * readelf.c (dump_section_as_strings): Use two separate
373         invocations of printf() in order to work around bugs in
374         the Solaris 8 implementation.
376 2010-01-04  Nick Clifton  <nickc@redhat.com>
378         * po/ru.po: Updated Russian translation.
380 For older changes see ChangeLog-2009
382 Local Variables:
383 mode: change-log
384 left-margin: 8
385 fill-column: 74
386 version-control: never
387 End: