16888dfd9476d9907cd64148d24c065ce4470cea
[platform/upstream/binutils.git] / binutils / ChangeLog
1 2010-11-05  Tristan Gingold  <gingold@adacore.com>
2
3         * NEWS: Add marker for 2.21.
4
5 2010-11-02  H.J. Lu  <hongjiu.lu@intel.com>
6
7         * objdump.c (dump_bfd_header): Don't display
8         BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
9
10 2010-11-02  Joseph Myers  <joseph@codesourcery.com>
11
12         * readelf.c (display_tic6x_attribute): Handle more attributes.
13
14 2010-10-30  Kai Tietz  <kai.tietz@onevision.com>
15
16         * dlltool.c (scan_drectve_symbols): Allow quoted strings for -export
17         directives.
18
19 2010-10-29  Joseph Myers  <joseph@codesourcery.com>
20
21         * readelf.c (display_tic6x_attribute): Use Tag_ABI_compatibility
22         not hardcoded 32.  Display name of this attribute.
23
24 2010-10-29  H.J. Lu  <hongjiu.lu@intel.com>
25
26         * addr2line.c (process_file): Set BFD_DECOMPRESS.
27
28         * objcopy.c (do_debug_sections): New.
29         (OPTION_COMPRESS_DEBUG_SECTIONS): New.
30         (OPTION_DECOMPRESS_DEBUG_SECTIONS): Likewise.
31         (copy_options): Add OPTION_COMPRESS_DEBUG_SECTIONS and
32         OPTION_DECOMPRESS_DEBUG_SECTIONS.
33         (copy_usage): Add --compress-debug-sections and
34         --decompress-debug-sections.
35         (copy_file): Set BFD_COMPRESS or BFD_DECOMPRESS.
36         (copy_section): Replace bfd_get_section_contents with
37         bfd_get_full_section_contents.
38         (copy_main): Handle OPTION_COMPRESS_DEBUG_SECTIONS and
39         OPTION_DECOMPRESS_DEBUG_SECTIONS.  Check do_debug_sections to
40         rename DWARF debug sections.
41
42         * objdump.c (load_specific_debug_section): Replace
43         bfd_get_section_contents with bfd_get_full_section_contents. 
44         Remove bfd_uncompress_section_contents.
45         (dump_section): Replace bfd_get_section_contents with
46         bfd_get_full_section_contents.
47         (display_file): Set BFD_DECOMPRESS if needed.
48
49         * readelf.c (uncompress_section_contents): Set buffer to NULL
50         to indiate decompression failure.
51         (load_specific_debug_section): Always call
52         uncompress_section_contents.
53
54         * doc/binutils.texi: Document --compress-debug-sections and
55         --decompress-debug-sections.
56
57 2010-10-29  Nick Clifton  <nickc@redhat.com>
58
59         PR binutils/12058
60         * ar.c (usage): Revert previous change.  Describe how 's' can be
61         used as a command letter.
62         * doc/binutils.texi (ar cmdline): Describe how 's' can be used as
63         a command letter.
64
65 2010-10-29  Bernd Schmidt  <bernds@codesourcery.com>
66             Joseph Myers  <joseph@codesourcery.com>
67
68         * readelf.c (display_tic6x_attribute): Handle Tag_ABI_DSBT.
69
70 2010-10-28  Nick Clifton  <nickc@redhat.com>
71
72         PR binutils/12058
73         * ar.c (usage): Remove spurious 's' from list of accepted command
74         letters.
75
76 2010-10-28  Alan Modra  <amodra@gmail.com>
77
78         * readelf.c (is_32bit_abs_reloc): Support i960 and microblaze.
79         (is_32bit_pcrel_reloc): Support microblaze.
80
81 2010-10-26  Nick Clifton  <nickc@redhat.com>
82
83         * po/ja.po: Updated Japanese transaltion.
84
85 2010-10-21  Joseph Myers  <joseph@codesourcery.com>
86
87         * readelf.c (display_tic6x_attribute): Update for attribute
88         renaming.
89
90 2010-10-08  H.J. Lu  <hongjiu.lu@intel.com>
91
92         * dwarf.c (byte_get_signed): Make it extern.
93
94         * dwarf.h (byte_get_signed): New.
95
96         * readelf.c (BYTE_GET_SIGNED): New.
97         (slurp_rela_relocs): Use BYTE_GET_SIGNED on r_addend.
98         (dump_relocations): Properly dump r_addend.
99
100 2010-10-08  Joseph Myers  <joseph@codesourcery.com>
101
102         * nm.c (value_format_64bit): Define appropriately for __MSVCRT__.
103         (set_print_radix): Update for __MSVCRT__ definition of
104         value_format_64bit.
105
106 2010-10-08  Pierre Muller  <muller@ics.u-strasbg.fr>
107
108         Fix build with -DDEBUG=7
109         * nlmheader.y (DEBUG token): Rename to DEBUG_K.
110
111 2010-10-06  Alan Modra  <amodra@gmail.com>
112
113         * bucomm.c (bfd_nonfatal, bfd_nonfatal_message): Don't clobber errno.
114
115 2010-10-05  Alan Modra  <amodra@gmail.com>
116
117         * bucomm.c (bfd_nonfatal): Flush stdout before output to stderr.
118         (bfd_nonfatal_message, report, list_matching_formats): Likewise.
119         (list_supported_targets): Tidy.
120         * objdump.c (free_only_list): Formatting.
121         (slurp_dynamic_symtab): Non-zero exit status for "not a dynamic
122         object".
123         (update_source_path): Delete redundant check for NULL filename.
124         (disassemble_bytes): Error if disassemble_fn returns a value
125         that won't increment address.
126         (disassemble_data): Don't capitalize error message.
127         (read_section_stabs): Likewise.
128         (main): Return non-zero exit status on bad options.
129
130 2010-10-03  H.J. Lu  <hongjiu.lu@intel.com>
131
132         PR binutils/12088
133         * nm.c (plugin_target): New.
134         (main): Set plugin_target to "plugin" for --plugin.
135         (display_file): Pass plugin_target to bfd_openr if target
136         isn't set.
137
138 2010-09-27  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
139
140         * configure: Regenerate.
141
142 2010-09-22  Mike Frysinger  <vapier@gentoo.org>
143
144         * MAINTAINERS: Add self as ADI Blackfin maintainer.
145
146 2010-09-17  H.J. Lu  <hongjiu.lu@intel.com>
147
148         * emul_aix.c (ar_emul_aix_append): Add a target argument
149         and ignore it if it is set.
150         (ar_emul_aix5_append): Likewise.
151         (ar_emul_aix_replace): Likewise.
152         (ar_emul_aix5_replace): Likewise.
153
154 2010-09-15  H.J. Lu  <hongjiu.lu@intel.com>
155
156         * ar.c (plugin_target): New.
157         (main): Set plugin_target to "plugin" for --plugin.
158         (open_inarch): Initialize target to plugin_target.
159         (replace_members): Pass plugin_target to ar_emul_replace
160         and ar_emul_append.
161
162         * binemul.h (ar_emul_append): Add a target argument.
163         (ar_emul_default_append): Likewise.
164         (ar_emul_replace): Likewise.
165         (ar_emul_default_replace): Likewise.
166         (bin_emulation_xfer_struct): Add a target argument to
167         ar_append and ar_replace.
168
169         * binemul.c (ar_emul_append): Updated.  Pass target to bfd_openr.
170         (do_ar_emul_default_append): Likewise.
171         (ar_emul_default_append): Likewise.
172         (ar_emul_replace): Likewise.
173         (ar_emul_default_replace): Likewise.
174
175 2010-09-10  Ben Gardiner  <bengardiner@nanometrics.ca>
176
177         * objcopy.c: Add --interleave-width option to allow interleaving
178         of more than one byte at a time.
179         (copy_width): New variable.
180         (copy_options): Add --interleave-width.
181         (copy_section): When interleaving copy in units of copy_width
182         bytes.
183         (copy_main): Parse the new option.
184         * doc/binutils: Document the new option.
185         * NEWS: Mention the new feature.
186
187 2010-09-09  Jakub Jelinek  <jakub@redhat.com>
188
189         * dwarf.c (decode_location_expression): Fix data adjustment
190         for DW_OP_GNU_implicit_pointer in v3+.
191
192 2010-09-09  Tristan Gingold  <gingold@adacore.com>
193
194         * NEWS: Add entry to NEWS for hppa/som.
195
196 2010-09-09  Jakub Jelinek  <jakub@redhat.com>
197
198         * dwarf.h (debug_info): Add offset_info and dwarf_version fields.
199         * dwarf.c (decode_location_expression): Add offset_size and
200         dwarf_version arguments.  Prefix DIE offset with 0x for
201         DW_OP_call{2,4,_ref}.  Fix up DW_OP_call_ref operand size,
202         complain if in frame info section.  Handle
203         DW_OP_GNU_implicit_pointer.
204         (read_and_display_attr_value, display_debug_loc,
205         display_debug_frames): Adjust decode_location_expression callers.
206         (process_debug_info): Save offset_size and dwarf_version values
207         into debug_information array.
208
209 2010-09-07  Nick Clifton  <nickc@redhat.com>
210
211         * readelf.c (process_section_headers): Mention meaning of 'l'
212         section flag for x86-64 targets.
213
214 2010-09-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
215             Jakub Jelinek  <jakub@redhat.com>
216
217         * dwarf.c (regname): New declaration.
218         (decode_location_expression): Print for registers also regname output.
219
220 2010-09-02  Richard Henderson  <rth@redhat.com>
221
222         * dwarf.c (init_dwarf_regnames_i386, init_dwarf_regnames_x86_64): New.
223         (init_dwarf_regnames): Use them.
224         * dwarf.h: Declare them.
225         * objdump.c (dump_dwarf): Use bfd_get_arch + bfd_get_mach to set up
226         the regnames, rather than using elf_machine_code.
227
228 2010-09-02  Richard Henderson  <rth@redhat.com>
229
230         * objdump.c (dump_dwarf): Use bfd_arch_bits_per_address.
231
232 2010-08-23  H.J. Lu  <hongjiu.lu@intel.com>
233
234         * elfedit.c (input_elf_osabi): New.
235         (output_elf_osbi): Likewise.
236         (osabis): Likewise.
237         (elf_osabi): Likewise.
238         (update_elf_header): Support updating ELF OSABI.
239         (make_qualified_name): Break long line.
240         (command_line_switch): Add OPTION_INPUT_OSABI and
241         OPTION_OUTPUT_OSABI.
242         (options): Likewise.
243         (usage): Add --input-osabi and --output-osabi.
244         (main): Handle OPTION_INPUT_OSABI and OPTION_OUTPUT_OSABI.
245
246         * doc/binutils.texi: Document --input-osabi and --output-osabi
247         for elfedit.
248
249 2010-08-23  Maciej W. Rozycki  <macro@codesourcery.com>
250
251         * readelf.c (display_mips_gnu_attribute): Replace GCC options
252         with a textual description of a MIPS32r2 64-bit FPU.
253
254 2010-08-13  Dan Rosenberg  <dan.j.rosenberg@gmail.com>
255
256         PR binutils/11889
257         * readelf.c (get_32bit_elf_symbols): Check for a corrupt
258         sh_entsize.
259         (get_64bit_elf_symbols): Likewise.
260         (process_symbol_table): Likewise.
261         (process_section_groups): Check for corrupt headers.
262         (process_version_sections): Check for corrupt indicies.
263         (process_corefile_note_segment): Likewise.
264
265 2010-08-13  Nathan Sidwell  <nathan@codesourcery.com>
266
267         * readelf.c (get_machine_flags): Detect CF ISA C and EMAC_B
268         variants.
269
270 2010-08-13  Tom Tromey  <tromey@redhat.com>
271
272         * dwarf.c (process_debug_info): Don't subtract section address
273         when calculating location of cu abbrev within section.
274
275 2010-08-12  Michael Haubenwallner  <haubi@gentoo.org>
276
277         PR binutils/11742
278         * readelf.c (get_archive_member_name): Do not read beyond the end
279         of the ar_name field.
280
281 2010-08-03  Tristan Gingold  <gingold@adacore.com>
282
283         * dwarf.c (display_debug_lines): Mark file argument unused.
284         Do not try to load .debug_info section.
285
286 2010-08-02  Alan Modra  <amodra@gmail.com>
287
288         * readelf.c (apply_relocations): D30V is really REL.
289
290 2010-07-23  Naveen.H.S  <naveen.S@kpitcummins.com>
291             Ina Pandit  <ina.pandit@kpitcummins.com>
292
293         * binutils/readelf.c: Add support for V850E2 and V850E2V3.
294
295 2010-07-22  Alan Modra  <amodra@gmail.com>
296
297         * readelf.c: Add Moxie support.
298
299 2010-07-20  Alan Modra  <amodra@gmail.com>
300
301         * readelf.c (process_program_headers): Don't ignore all zero size
302         sections.
303
304 2010-07-19  Andreas Schwab  <schwab@redhat.com>
305
306         * readelf.c (process_section_headers): Update key to flags.
307
308 2010-07-17  Dave Korn  <dave.korn.cygwin@gmail.com>
309
310         * objcopy.c (copy_usage): Tweak previous typofix.
311
312 2010-07-17  H.J. Lu  <hongjiu.lu@intel.com>
313
314         * objcopy.c (copy_usage): Fix a typo.
315
316 2010-07-15  Kai Tietz <kai.tietz@onevision.com>
317
318         * dllwrap.c (main): Make sure is_leading_underscore
319         gets initialized with correct default.
320
321 2010-07-05  Alan Modra  <amodra@gmail.com>
322
323         * readelf.c (uncompress_section_contents): Avoid gcc-4.6 warning.
324
325 2010-07-03  Cary Coutant  <ccoutant@google.com>
326
327         * objdump.c (load_specific_debug_section): Decompress section contents
328         before applying relocations.
329         * readelf.c (load_specific_debug_section): Update section size after
330         decompression.
331
332 2010-06-29  Alan Modra  <amodra@gmail.com>
333
334         PR binutils/3166
335         * objcopy.c (is_strip_section): Revert 2006-09-05.
336         (setup_section): Make SHT_GROUP section nobits.
337
338 2010-06-29  Alan Modra  <amodra@gmail.com>
339
340         * configure: Regenerate.
341         * po/POTFILES.in: Regenerate.
342
343 2010-06-27  Alan Modra  <amodra@gmail.com>
344
345         * resbin.c (res_to_bin_accelerator): Delete set but unused variables.
346
347 2010-06-17  Nick Clifton  <nickc@redhat.com>
348
349         PR binutils/11711
350         * windres.c (enum option_values): New enum.
351         (long_options): Use separate option number for --include-dir
352         option.
353         (main): Separate backwards compatibility check from code to
354         implement --include-dir.  Check to see if directory exists and do
355         not complain if it does.
356
357 2010-06-15  Joseph Myers  <joseph@codesourcery.com>
358
359         * readelf.c (display_tic6x_attribute, process_tic6x_specific):
360         New.
361         (process_arch_specific): Call process_tic6x_specific for
362         EM_TI_C6000.
363
364 2010-06-11  H.J. Lu  <hongjiu.lu@intel.com>
365
366         * readelf.c (dump_ia64_vms_dynamic_fixups): Cast to unsigned long
367         for 0x%lx.
368
369 2010-06-11  Tristan Gingold  <gingold@adacore.com>
370             Doug Rupp <rupp@gnat.com>
371
372         * readelf.c (is_ia64_vms): New function.
373         (dump_relocations): Use it.
374         (get_machine_flags): Display IA-64 OpenVMS flags.
375         (process_program_headers): No error on OpenVMS if no .dynamic section.
376         (struct ia64_vms_dynfixup, struct ia64_vms_dynimgrela): New
377         declarations.
378         (dump_ia64_vms_dynamic_fixups): New function.
379         (dump_ia64_vms_dynamic_relocs): Ditto.
380         (process_ia64_vms_dynamic_relocs): Ditto.
381         (process_relocs): Handle IA-64 OpenVMS relocs.
382         (VMS_EPOCH_OFFSET, VMS_GRANULARITY_FACTOR): New macros.
383         (print_vms_time): New function.
384         (dynamic_section_ia64_val): Handle DT_IA_64_VMS_LINKTIME and
385         DT_IA_64_VMS_LNKFLAGS.
386         (get_ia64_symbol_other): New function.
387         (get_symbol_other): Handle EM_IA_64.
388
389 2010-06-11  Tristan Gingold  <gingold@adacore.com>
390
391         * unwind-ia64.c (unw_print_abreg): Add const to special_reg.
392         (UNW_DEC_ABI): Ditto for abiname.
393         (unw_decode_table): Make it const.
394
395 2010-06-10  Tristan Gingold  <gingold@adacore.com>
396
397         * readelf.c (slurp_ia64_unwind_table): IA64 rela relocations are
398         not inplace.
399
400 2010-05-25  Daniel Jacobowitz  <dan@codesourcery.com>
401             Joseph Myers  <joseph@codesourcery.com>
402             Andrew Stubbs  <ams@codesourcery.com>
403
404         * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.
405
406 2010-05-25  Jay Krell  <jay.krell@cornell.edu>
407
408         PR ld/11621
409         * Makefile.am: Replace all occurences of .o with .@OBJEXT@
410         * Makefile.in: Regenerate.
411
412 2010-05-24  Tristan Gingold  <gingold@adacore.com>
413
414         * readelf.c (usage): Add new trace sections for --debug-dump.
415         (process_section_headers): Handle dump of trace sections.
416         * objdump.c (usage): Add new trace sections for --dwarf.
417         * dwarf.h (do_trace_info, do_trace_abbrevs): New variables.
418         (do_trace_aranges): Ditto.
419         (enum dwarf_section_display_enum): Add trace_info, trace_abbrev
420         and trace_aranges literals.
421         * dwarf.c (do_trace_info, do_trace_abbrevs): New variables.
422         (do_trace_aranges): Ditto.
423         (process_debug_info): Add abbrev_sec argument and replace
424         abbrev with abbrev_sec.
425         (load_debug_info): Adjust call of process_debug_info.
426         (display_debug_info): Ditto.
427         (display_trace_info): New function.
428         (dwarf_select_sections_by_names): Add trace_info, trace_abbrevs
429         and trace_aranges sections name.
430         (dwarf_select_sections_all): Also select trace sections.
431         (debug_displays): Reindent.  Add entries for the trace sections.
432         * doc/binutils.texi (readelf): Document new --dwarf parameters.
433         (objdump): Ditto.
434
435 2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>
436
437         PR gas/11600
438         * readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
439         generic flag.
440
441 2010-05-07  Tristan Gingold  <gingold@adacore.com>
442
443         * Makefile.in: Regenerate with automake 1.11.1.
444         * aclocal.m4: Ditto.
445         * doc/Makefile.in: Ditto.
446
447 2010-05-06  H.J. Lu  <hongjiu.lu@intel.com>
448
449         * dwarf.c (init_dwarf_regnames): Handle EM_L1OM.
450         * readelf.c (get_elf_section_flags): Likewise.
451         (process_section_headers): Likewise.
452
453 2010-05-05  Nick Clifton  <nickc@redhat.com>
454
455         * po/es.po: Updated Spanish translation.
456
457 2010-04-27  Kai Tietz  <kai.tietz@onevision.com>
458
459         * dlltool.c (main): Query for bfd's underscoring default for
460         default target case.
461
462 2010-04-27  Nick Clifton  <nickc@redhat.com>
463
464         * po/ru.po: Updated Russian translation.
465
466 2010-04-23  Alan Modra  <amodra@gmail.com>
467
468         * readelf.c (process_program_headers): Replace use of
469         ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
470
471 2010-04-22  Nick Clifton  <nickc@redhat.com>
472
473         * po/binutils.pot: Updated by the Translation project.
474         * po/fi.po: Updated Finnish translation.
475         * po/vi.po: Updated Vietnamese translation.
476         * po/bg.po: New Bulgarian translation.
477         * configure.in (ALL_LINGUAS): Add bg.
478         * configure: Regenerate.
479
480 2010-04-20  Nick Clifton  <nickc@redhat.com>
481
482         * po/fr.po: Updated french translation.
483
484 2010-04-20  Nick Clifton  <nickc@redhat.com>
485
486         * readelf.c: Add _() macros to constant strings that are
487         translatable.
488
489         * readelf.c (display_mips_gnu_attribute): Replace GCC options
490         with a textual description of single and double precision float.
491
492 2010-04-15  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
493
494         * readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
495         (arm_attr_tag_ABI_align8_needed): Remove.
496         (arm_attr_tag_ABI_align8_preserved): Remove.
497         (arm_attr_tag_ABI_HardFP_use): Update text strings.
498         (arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
499         (display_arm_attribute): Add decoding of ABI v2.08 attributes.
500
501 2010-04-13  Nick Clifton  <nickc@redhat.com>
502
503         PR binutils/11419
504         * dwarf.c (process_debug_info): Initialise the signature array.
505
506 2010-04-09  Nick Clifton  <nickc@redhat.com>
507
508         * dwarf.c (process_debug_info): Remove unused variable
509         cu_abbrev_offset_ptr.
510         (display_debug_lines_decoded): Remove unused variable prev_line.
511         * elfedit.c (process_archive): Remove unused variable
512         file_name_size.
513         * ieee.c (ieee_start_compilation_unit): Remove unused variable
514         nindx.
515         (ieee_set_type): Remove unused variables info, targetindx and
516         baseindx.
517         * objdump.c (disassmble_byte): Remove unused variable done_dot.
518         * rddbg.c (read_section_stabs_debugging_info): Remove unused
519         variable other.
520         * readelf.c (dump_section_as_strings): Remove unused variable
521         addr.
522         (process_archive): Remove unused variable file_name_size.
523         * stabs.c (parse_stab_string): Mark desc parameter as unused.
524         Remove unused variable lineno.
525         (parse_stab_struct_type): Remove unused variable orig.
526         (stab_demangle_type): Remove unused variables constp, volatilep
527         and hold.
528
529 2010-04-07  Alan Modra  <amodra@gmail.com>
530
531         * configure: Regenerate.
532
533 2010-04-06  Nick Clifton  <nickc@redhat.com>
534
535         * po/vi.po: Updated Vietnamese translation.
536
537 2010-04-05  Jakub Jelinek  <jakub@redhat.com>
538
539         * dwarf.c (struct Frame_Chunk): Add ptr_size and segment_size
540         fields.
541         (display_debug_frames): Handle CIE version 4.
542
543         * dwarf.c (struct State_Machine_Registers): Add op_index field,
544         change end_sequence type to unsigned char.
545         (reset_state_machine): Clear op_index.
546         (process_extended_line_op): For DW_LNE_set_address clear op_index.
547         (display_debug_lines_raw): Initialize li_max_ops_per_insn.
548         Track op_index state machine register and print it if
549         li_max_ops_per_insn is != 1.
550         (display_debug_lines_decoded): Likewise.
551
552 2010-04-01  Jakub Jelinek  <jakub@redhat.com>
553
554         * dwarf.c (read_and_display_attr_value): Don't reject
555         dwarf_version == 4.  Handle DW_FORM_sec_offset, DW_FORM_flag_present
556         and DW_FORM_exprloc.
557         (process_debug_info): Handle cu_version == 4.
558         (display_debug_lines_raw, display_debug_lines_decoded): Handle
559         li_version == 4.
560
561 2010-03-30  Andreas Schwab  <schwab@linux-m68k.org>
562
563         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Define.
564         * Makefile.in: Regenerate.
565
566 2010-03-25  Joseph Myers  <joseph@codesourcery.com>
567
568         * MAINTAINERS: Add self as TI C6X maintainer.
569         * NEWS: Add news entry for TI C6X support.
570         * readelf.c: Include elf/tic6x.h.
571         (guess_is_rela): Handle EM_TI_C6000.
572         (dump_relocations): Likewise.
573         (get_tic6x_dynamic_type): New.
574         (get_dynamic_type): Call it.
575         (get_machine_flags): Handle EF_C6000_REL.
576         (get_osabi_name): Handle machine-specific values only for relevant
577         machines.  Handle C6X values.
578         (get_tic6x_segment_type): New.
579         (get_segment_type): Call it.
580         (get_tic6x_section_type_name): New.
581         (get_section_type_name): Call it.
582         (is_32bit_abs_reloc, is_16bit_abs_reloc, is_none_reloc): Handle
583         EM_TI_C6000.
584
585 2010-03-25  Thomas Schwinge  <thomas@codesourcery.com>
586
587         * doc/binutils.texi (readelf) <unwind information>: Mention support for
588         ARM unwind tables.
589
590 2010-03-18  H.J. Lu  <hongjiu.lu@intel.com>
591
592         * readelf.c (decode_arm_unwind): Increase buf size to 9 byte.
593
594 2010-03-17  Alan Modra  <amodra@gmail.com>
595
596         * readelf.c (dump_arm_unwind): Warning fix.
597
598 2010-03-16  Daniel Jacobowitz  <dan@codesourcery.com>
599
600         * MAINTAINERS: Update my email address.  List Tristan Gingold
601         as the release branch maintainer.
602
603 2010-03-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
604
605         * readelf.c (get_ver_flags): Handle VER_FLG_INFO.
606
607 2010-03-02  Daniel Jacobowitz  <dan@codesourcery.com>
608
609         * NEWS: Document .ARM.exidx / .ARM.extab support.
610
611         * dwarf.c (read_leb128): Make non-static.
612         * dwarf.h (read_leb128): Declare.
613         * readelf.c (REMOVE_ARCH_BITS): Define.
614         (find_section_by_address): New.
615         (read_uleb128): Move higher.  Use read_leb128 from dwarf.c.
616         (find_symbol_for_address): Handle the Thumb bit for ARM, by
617         using REMOVE_ARCH_BITS.
618         (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name)
619         (arm_free_section, arm_section_get_word, decode_arm_unwind)
620         (dump_arm_unwind, arm_process_unwind): New.
621         (process_unwind): Handle ARM.
622
623 2010-02-26  Jie Zhang  <jie@codesourcery.com>
624
625         * MAINTAINERS: Update my email address.
626
627 2010-02-23  Peter Breitenlohner  <peb@mppmu.mpg.de>
628
629         PR binutils/11298
630         * doc/binutils.texi (windmc): Fix synopsis and description of
631         ASCII options.
632
633 2010-02-19  Alan Modra  <amodra@gmail.com>
634
635         * readelf.c (get_group_flags): Return empty string when flags zero.
636         Add space in other returned values.
637         (process_section_groups): Adjust format string.
638
639 2010-02-18  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
640
641         * readelf.c (arm_attr_tag_Advanced_SIMD_arch): Add description of
642         newly permitted attribute values.
643         (arm_attr_tag_Virtualization_use): Likewise.
644         (arm_attr_tag_DIV_use): Add description of new attribute.
645         (arm_attr_tag_MPextension_use_legacy): Likewise.
646
647 2010-02-15  Nick Clifton  <nickc@redhat.com>
648
649         * po/vi.po: Updated Vietnamese translation.
650
651 2010-02-09  Michael Holzheu  <holzheu@de.ibm.com>
652
653         * readelf.c (get_note_type): Handle NT_S390_TIMER, NT_S390_TODCMP,
654         NT_S390_TODPREG, NT_S390_CTRS and NT_S390_PREFIX.
655
656 2010-02-08  Jim Blandy  <jimb@red-bean.com>
657
658         * dwarf.c (display_debug_frames): Skip the 'S' character in CFI
659         'z' augmentation strings.
660
661 2010-02-08  Christophe Lyon  <christophe.lyon@st.com>
662
663         * objdump.c (disassemble_bytes): Clear aux->reloc before printing
664         a new address, so as not to reuse a previous, non-related reloc.
665
666 2010-02-02  H.J. Lu  <hongjiu.lu@intel.com>
667
668         * readelf.c (get_note_type): Handle NT_X86_XSTATE.
669
670 2010-02-01  Nathan Sidwell  <nathan@codesourcery.com>
671
672         * objcopy.c (copy_object): Set SEC_LINKER_CREATED when adding
673         sections.
674
675 2010-01-28  Nick Clifton  <nickc@redhat.com>
676
677         PR 11225
678         * objdump.c (only): Replace with linked list.
679         (only_size, only_used): Replace with only_list.
680         (process_section_p): Set seen field on matches sections.
681         (add_only): New function.
682         (free_only_list): New function.
683         (disassemble_section): Check only_list.
684         (main): Use add_only and free_only_list.
685
686 2010-01-26  Tristan Gingold  <gingold@adacore.com>
687
688         * Makefile.am (bin2c): Add libintl dependance and library.
689         * Makefile.in: Regenerate.
690
691 2010-01-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
692
693         * readelf.c (get_machine_flags): Handle EF_S390_HIGH_GPRS.
694
695 2010-01-19  Ian Lance Taylor  <iant@google.com>
696
697         * objcopy.c (copy_main): Rewrite OPTION_ADD_SECTION code to work
698         with non-ordinary files like /dev/null.
699
700 2010-01-19  Daisuke Hatayama  <d.hatayama@jp.fujitsu.com>
701             Alan Modra <amodra@gmail.com>
702
703         * readelf.c (process_file_header): Handle e_phnum extension.
704
705 2010-01-14  Tristan Gingold  <gingold@adacore.com>
706
707         * dwarf.c (get_AT_name): Handle DW_AT_use_GNAT_descriptive_type
708         and DW_AT_GNAT_descriptive_type.
709
710 2010-01-13  Tristan Gingold  <gingold@adacore.com>
711
712         * ar.c (main): Use lbasename.
713         (normalize): Ditto.
714         * objdump.c (update_source_path): Ditto.
715
716 2010-01-12  Tristan Gingold  <gingold@adacore.com>
717
718         * makefile.vms (CFLAGS): Turns warnings into informational messages.
719
720 2010-01-11  H.J. Lu  <hongjiu.lu@intel.com>
721
722         PR ld/11146
723         * NEWS: Mention --dyn-syms for readelf.
724
725         * readelf.c (do_dyn_syms): New.
726         (OPTION_DYN_SYMS): Likewise.
727         (options): Add "dyn-syms".
728         (usage): Add --dyn-syms.
729         (parse_args): Handle OPTION_DYN_SYMS.
730         (process_symbol_table): Handle do_dyn_syms.
731         (process_object): Likewise.
732         (process_archive): Likewise.
733
734         * doc/binutils.texi: Document --dyn-syms for readelf.  Mention
735         symbol hash tables for -D.
736
737 2010-01-11  Nick Clifton  <nickc@redhat.com>
738
739         * NEWS: Mention addition of elfedit.
740
741         * po/fi.po: Updated Finnish translation.
742
743 2010-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
744
745         * Makefile.in: Regenerate.
746         * configure: Regenerate.
747         * doc/Makefile.in: Regenerate.
748
749 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
750
751         * version.c (print_version): Change to "Copyright 2010".
752
753 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
754
755         * elfedit.c (input_elf_type): New.
756         (output_elf_type): Likewise.
757         (elf_type): Likewise.
758         (update_elf_header): Support updating ELF file type.
759         (command_line_switch): Add OPTION_INPUT_TYPE and
760         OPTION_OUTPUT_TYPE.
761         (options): Likewise.
762         (usage): Add --input-type and --output-type.
763         (main): Handle OPTION_INPUT_TYPE and OPTION_OUTPUT_TYPE.  Check
764         one of --output-mach and --output-type must be specified.
765
766         * doc/binutils.texi: Document --input-type and --output-type
767         for elfedit.
768
769 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
770
771         * doc/binutils.texi: Fix a typo.
772
773 2010-01-08  H.J. Lu  <hongjiu.lu@intel.com>
774
775         * elfedit.c (update_elf_header): Don't change input_elf_class
776         nor input_elf_machine if they are -1.
777
778 2010-01-08  Tristan Gingold  <gingold@adacore.com>
779
780         * ar.c: Remove bfd_special_undocumented_glue prototype.
781
782 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
783
784         * elfedit.c (update_elf_header): Reformat.
785
786 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
787
788         * readelf.c (usage): Fix indent for --symbols.
789
790 2010-01-07  H.J. Lu  <hongjiu.lu@intel.com>
791
792         * doc/binutils.texi: Replace -histogram with --histogram.
793
794 2010-01-06  H.J. Lu  <hongjiu.lu@intel.com>
795
796         PR binutils/11131
797         * Makefile.am (ELFEDIT_PROG): New.
798         (bin_PROGRAMS): Add $(ELFEDIT_PROG).
799         (CFILES): Add elfedit.c.
800         (elfedit_DEPENDENCIES): New.
801         (elfedit_SOURCES): Likewise.
802         (elfedit_LDADD): Likewise.
803         * Makefile.in: Regenerated.
804
805         * elfedit.c: New.
806
807         * doc/binutils.texi: Document elfedit.
808
809         * doc/Makefile.am (man_MANS): Add elfedit.1.
810         (elfedit.1): New.
811         * doc/Makefile.in: Regenerated.
812
813 2010-01-06  Tristan Gingold  <gingold@adacore.com>
814
815         * nm.c (usage): Remove extra blanks.
816
817 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
818
819         * objcopy.c: Update copyright.
820         * readelf.c: Likewise.
821
822 2010-01-04  H.J. Lu  <hongjiu.lu@intel.com>
823
824         PR binutils/11130
825         * objcopy.c (copy_object): Remove "Warning: " from error
826         message.
827
828 2010-01-04  Nick Clifton  <nickc@redhat.com>
829
830         PR 11128
831         * readelf.c (dump_section_as_strings): Use two separate
832         invocations of printf() in order to work around bugs in
833         the Solaris 8 implementation.
834
835 2010-01-04  Nick Clifton  <nickc@redhat.com>
836
837         * po/ru.po: Updated Russian translation.
838
839 For older changes see ChangeLog-2009
840 \f
841 Local Variables:
842 mode: change-log
843 left-margin: 8
844 fill-column: 74
845 version-control: never
846 End: