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