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