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