OSDN Git Service

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