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