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