Updated Japanese translation
[platform/upstream/binutils.git] / binutils / ChangeLog
1 2011-10-24  Nick Clifton  <nickc@redhat.com>
2
3         * po/ja.po: Updated Japanese translation.
4
5 2011-10-16  H.J. Lu  <hongjiu.lu@intel.com>
6
7         PR binutils/13278
8         * ar.c (open_inarch): Set the target from the the first object
9         on the list only if it isn't set.
10
11 2011-10-13  Nick Clifton  <nickc@redhat.com>
12
13         Fixes to aid translation:
14         * addr2line.c (translate_address): Add comments describing context
15         of a couple of printf statements.
16         * ar.c (write_archive): Allow translation of error message.
17         * bucomm.c (endian_string): Allow translation of strings.
18         (display_target_list): Allow translation.
19         * coffdump.c (dump_coff_type): Allow translation of output.
20         (dump_coff_where): Likewise.
21         (dump_coff_symbol): Likewise.
22         (dump_coff_scope): Likewise.
23         (dump_coff_sfile): Likewise.
24         (dump_coff_section): Likewise.
25         (coff_dump): Likewise.
26         * dlltool (def_version): Allow translation of output.
27         (run): Likewise.
28         * dllwrap.c (run): Allow translation of output.
29         * dwarf.c (print_dwarf_vma): Allow translation of output.
30         (process_extended_line_op): Remove spurious translation.
31         Add translation for strings that can be translated.
32         (decode_location_exression): Allow translation of output.
33         (read_and_display_attr_value): Allow translation of output.
34         * readelf.c (slurp_rela_relocs): Add translation for error
35         messages when failing to get data.
36         (slurp_rel_relocs): Likewise.
37         (get_32bit_elf_symbols): Likewise.
38         (get_64bit_elf_symbols): Likewise.
39         (dump_ia64_vms_dynamic_relocs): Replace abbreviation with full
40         word.
41         (process_relocs): Remove spurious translation.
42         (decode_tic6x_unwind_bytecode): Likewise.
43         (process_version_section): Improve error messages.
44         (process_mips_specific): Likewise.
45         (print_gnu_note): Remove spurious translation.
46         (print_stapsdt_note): Likewise.
47         (get_ia64_vms_note_type): Likewise.
48         * sysdump.c (getCHARS): Allow translation.
49         (fillup): Allow translation of output.
50         (getone): Likewise.
51         (must): Likewise.
52         (derived_type): Likewise.
53         * doc/binutils.doc (addr2line): Extend description of command line
54         options.
55         * po/binutils.pot: Regenerate.
56
57 2011-10-13  Nick Clifton  <nickc@redhat.com>
58
59         PR binutils/13219
60         * readelf.c (GET_ELF_SYMBOLS): Add sym_count parameter.
61         (get_32bit_elf_symbols): Add num_syms_return argument.
62         Return the number of symbols loaded into the symbol table.
63         (get_64bit_elf_symbols): Likewise.
64         (process_section_headers): Use GET_ELF_SYMBOLS to initialise
65         symbol count.
66         (proces_relocs): Likewise.
67         (ia64_process_unwind): Likewise.
68         (hppa_process_unwind): Likewise.
69         (arm_process_unwind): Likewise.
70         (process_dynamic_section): Likewise.
71         (process_version_sections): Likewise.
72         (process_symbol_table): Likewise.
73         (process_section_groups): Likewise.
74         Add check before indexing into the symbol table.
75         (apply_relocations): Likewise.
76
77 2011-10-11  Chris  <player1@onet.eu>
78
79         PR binutils/13051
80         Fix a syntax error bug when compiling rc files with the VERSIONINFO resource
81         containing more than one language block inside a single StringFileInfo block.
82
83         * windint.h (rc_ver_stringtable): New structure definition.
84         (rc_ver_info): Use it.
85         * rcparse.y (verstringtable): New variable.
86         (verstringtables): New type.
87         (verstringtables:): New rule declaration.
88         (verblocks:): Use it.
89         * resrc.c (append_ver_stringtable): New function.
90         (append_ver_stringfileinfo): Update to use stringtables.
91         * windres.h (append_ver_stringfileinfo): Update declaration.
92         (append_ver_stringtable): New declaration.
93         * resrc.c (write_rc_versioninfo): Update to support multiple blocks.
94         * resbin.c (bin_to_res_version): Likewise.
95         (res_to_bin_versioninfo): Likewise.
96
97 2011-10-10  Nick Clifton  <nickc@redhat.com>
98
99         * po/bg.po: Updated Bulgarian translation.
100         * po/es.po: Updated Spansih translation.
101         * po/fi.po: Updated Finnish translation.
102         * po/fr.po: Updated French translation.
103
104 2011-10-05  DJ Delorie  <dj@redhat.com>
105             Nick Clifton  <nickc@redhat.com>
106
107         * readelf.c (get_machine_dlags): Add support for RX's PID mode.
108
109 2011-10-04  Paul Woegerer  <paul_woegerer@mentor.com>
110             Carlos O'Donell  <carlos@codesourcery.com>
111
112         * dwarf.c (display_debug_lines_decoded): Index directory_table with
113         directory_index from file_table entry.
114
115 2011-09-30  Cary Coutant  <ccoutant@google.com>
116
117         * binutils/dwarf.h (dwarf_section_display_enum): Add missing enum
118         constant.
119
120 2011-09-28  Tristan Gingold  <gingold@adacore.com>
121
122         * od-xcoff.c (dump_xcoff32_aout_header): Fix typo.
123
124 2011-09-27  Tristan Gingold  <gingold@adacore.com>
125
126         * od-xcoff.c (dump_xcoff32_aout_header): Remove some gettext macros.
127         (dump_xcoff32_sections_header): Likewise.
128         (dump_xcoff32_symbols, dump_xcoff32_relocs): Likewise.
129         (dump_xcoff32_lineno, dump_xcoff32_loader): Likewise.
130         (dump_xcoff32_except): Likewise.
131         (dump_xcoff32_typchk, dump_xcoff32_tbtags): Likewise.
132
133 2011-09-27  Tristan Gingold  <gingold@adacore.com>
134
135         * readelf.c (print_ia64_vms_note): Fix xgettext warnings.
136
137 2011-09-22  Tristan Gingold  <gingold@adacore.com>
138
139         * NEWS: Add marker for 2.22.
140
141 2011-09-21  David S. Miller  <davem@davemloft.net>
142
143         * MAINTAINER: Take over from Jakub Jalinek as SPARC maintainer.
144
145         * readelf.c (display_sparc_hwcaps): New.
146         (display_sparc_gnu_attribute): New.
147         (process_sparc_specific): New.
148         (process_arch_specific): When EM_SPARC, EM_SPARC32PLUS,
149         or EM_SPARCV9 invoke process_sparc_specific.
150
151 2011-09-18  H.J. Lu  <hongjiu.lu@intel.com>
152
153         PR binutils/13196
154         * dwarf.c (display_debug_aranges): Check zero address size.
155
156 2011-09-15  H.J. Lu  <hongjiu.lu@intel.com>
157
158         PR binutils/13180
159         * objcopy.c (is_strip_section_1): New.
160         (is_strip_section): Use it.  Remove the group section if all
161         members are removed.
162
163 2011-09-08  Nick Clifton  <nickc@redhat.com>
164
165         * po/ja.po: Updated Japanese translation.
166
167 2011-08-26  Nick Clifton  <nickc@redhat.com>
168
169         * po/es.po: Updated Spanish translation.
170
171 2011-08-08  Marcus Comstedt  <marcus@mc.pp.se>
172
173         PR binutils/12964
174         * Makefile.am (embedspu): Use awk rather than sed.
175         * Makefile.in: Regenerate.
176
177 2011-07-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
178
179         * dwarf.c (read_and_display_attr_value): Recognize DW_FORM_data4 and
180         DW_FORM_data8 as location list pointers only for DWARF < 4.
181
182 2011-07-26  Jakub Jelinek  <jakub@redhat.com>
183
184         * NEWS: Mention .debug_macro support.
185         * dwarf.c (read_and_display_attr_value): Don't print a tab
186         if attribute is 0.
187         (get_AT_name): Handle DW_AT_GNU_macros.
188         (get_line_filename_and_dirname, display_debug_macro): New
189         functions.
190         (debug_displays): Add an entry for .debug_macro and .zdebug_macro.
191         * readelf.c (process_section_headers): With do_debug_macinfo
192         handle also .debug_macro sections.
193         * dwarf.h (dwarf_section_display_enum): Add macro.
194
195 2011-07-24  Chao-ying Fu  <fu@mips.com>
196             Maciej W. Rozycki  <macro@codesourcery.com>
197
198         * readelf.c (get_machine_flags): Handle microMIPS ASE.
199         (get_mips_symbol_other): Likewise.
200
201 2011-07-22  H.J. Lu  <hongjiu.lu@intel.com>
202
203         * dwarf.c (init_dwarf_regnames): Handle EM_K1OM.
204
205         * elfedit.c (elf_machine): Support EM_K1OM.
206         (elf_class): Likewise.
207
208         * readelf.c (guess_is_rela): Handle EM_K1OM.
209         (dump_relocations): Likewise.
210         (get_machine_name): Likewise.
211         (get_section_type_name): Likewise.
212         (get_elf_section_flags): Likewise.
213         (process_section_headers): Likewise.
214         (get_symbol_index_type): Likewise.
215         (is_32bit_abs_reloc): Likewise.
216         (is_32bit_pcrel_reloc): Likewise.
217         (is_64bit_abs_reloc): Likewise.
218         (is_64bit_pcrel_reloc): Likewise.
219         (is_none_reloc): Likewise.
220
221         * doc/binutils.texi: Mention K1OM for elfedit.
222
223 2011-07-11  Cary Coutant  <ccoutant@google.com>
224
225         PR 12983
226         * binutils/nm.c (display_file): Decompress debug sections when
227         printing line numbers.
228
229 2011-07-03  Samuel Thibault  <samuel.thibault@gnu.org>
230             Thomas Schwinge  <thomas@schwinge.name>
231
232         PR binutils/12913
233         * elfedit.c (osabis): Use ELFOSABI_GNU name instead of ELFOSABI_LINUX
234         alias and ELFOSABI_HURD.  Add GNU alias.
235         * readelf.c (get_osabi_name, get_symbol_binding, get_symbol_type):
236         Likewise.
237         * doc/binutils.texi <elfedit>: Update accordingly.
238
239 2011-07-01  Nick Clifton  <nickc@redhat.com>
240
241         PR binutils/12325
242         * doc/binutils.texi (ar cmdline): Document --target, --version and
243         --help command line options.
244
245 2011-06-30  Nick Clifton  <nickc@redhat.com>
246
247         PR binutils/12558
248         * ar.c (main): When asked to move members in an archive that is
249         being created, ignore the move request.
250
251 2011-06-29  Nick Clifton  <nickc@redhat.com>
252
253         * readelf.c (get_section_type_name): When displaying an unknown
254         section type display the hex value first on the assumption that
255         the full message will probably be truncated into a 15 character
256         field.
257
258 2011-06-22  Jakub Jelinek  <jakub@redhat.com>
259
260         * dwarf.c (decode_location_expression): For DW_OP_GNU_convert and
261         DW_OP_GNU_reinterpret, if uvalue is 0, don't add cu_offset.
262         Handle DW_OP_GNU_parameter_ref.
263
264 2011-06-16  Tom Tromey  <tromey@redhat.com>
265
266         * dwarf-mode.el (dwarf-do-insert-substructure): Call
267         expand-file-name.
268         (dwarf-do-refresh): Likewise.
269
270 2011-06-15  Ulrich Weigand  <ulrich.weigand@linaro.org>
271
272         * readelf.c (get_note_type): Handle NT_ARM_VFP.
273
274 2011-06-13  Walter Lee  <walt@tilera.com>
275
276         * readelf.c: Include tilepro.h and tilegx.h.
277         (guess_is_rela): Handle EM_TILEGX and EM_TILEPRO.
278         (dump_relocations): Likewise.
279         (get_machine_name): Likewise.
280         (is_32bit_abs_reloc): Likewise.
281         (is_32bit_pcerel_reloc): Likewise.
282         (is_64bit_abs_reloc): Likewise.
283         (is_64bit_pcrel_reloc): Likewise.
284
285 2011-06-09  Tristan Gingold  <gingold@adacore.com>
286
287         * od-xcoff.c (xcoff32_read_symbols): Allow missing string table
288         length.
289
290 2011-06-08  Nick Clifton  <nickc@redhat.com>
291
292         PR binutils/12855
293         * readelf.c (process_version_sections): Handle binaries containing
294         corrupt version information.
295         (process_symbol_table): Stop processing a symbol's version
296         information if it could not be read in.
297
298         (get_data): Add comment describing the function.
299         (process_section_headers): Set dynamic_strings_length to 0 if the
300         dynamic strings could not be read in.
301         (process_dynamic_section): Likewise.
302         (process_section_groups): Stop processing the group information if
303         the data could not be read in.
304         (hppa_processs_unwind): Assert that there is only one string table
305         in the file.
306         (arm_process_unwind): Likewise.
307         (ia64_process_unwind): Likewise.
308         Set the size of the unwind auxillary information to 0 if the data
309         could not be read.
310         (load_specific_debug_section): Handle a failure to read in the
311         section.
312         (process_mips_specific): Stop display of the PLT GOT section if it
313         could not be read in.
314
315 2011-06-08  Tristan Gingold  <gingold@adacore.com>
316
317         * makefile.vms (DEFS): Define OBJDUMP_PRIVATE_VECTORS.
318
319 2011-06-07  Cary Coutant  <ccoutant@google.com>
320
321         * dwarf.c: Fix conversion to TU number.
322
323 2011-06-02  Nick Clifton  <nickc@redhat.com>
324
325         * resres.c: Fix spelling typo.
326         * windint.h: Likewise.
327         * windmc.c: Likewise.
328         * windres.c: Likewise.
329         * po/POTFILES.in: Regenerate.
330         * po/binutils.pot: Regenerate.
331
332 2011-06-01  Daniel Jacobowitz  <drow@false.org>
333
334         * MAINTAINERS: Update my email address.
335
336 2011-05-31  Matthias Klose  <doko@ubuntu.com>
337
338         * configure.in (BUILD_INSTALL_MISC): Only add embedspu once.
339         * configure: Regenerate.
340
341 2011-05-30  Alan Modra  <amodra@gmail.com>
342
343         PR binutils/12820
344         * Makefile.am (bin_PROGRAMS): Move BUILD_INSTALL_MISC to..
345         (bin_SCRIPTS): ..here.
346         (EXTRA_SCRIPTS): Define.
347         (EXTRA_DIST): Add embedspu.sh.
348         (DISTCLEANFILES): Add embedspu.
349         (embedspu): Depend on Makefile.  Replace sed "s" command with "c".
350         * Makefile.in: Regenerate.
351
352 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
353
354         * dwarf.c (loc_offsets): New variable.
355         (loc_offsets_compar): New routine.
356         (display_debug_loc): Handle loc_offsets not being in ascending order
357         and also a single .debug_loc entry being used multiple times.
358
359 2011-05-18  Nick Clifton  <nickc@redhat.com>
360
361         PR binutils/12753
362         * nm.c (filter_symbols): Treat unique symbols as global symbols.
363         * doc/binutils.texi (nm): Mention that some lowercase letters
364         actually indicate global symbols.
365
366 2011-05-15  Tristan Gingold  <gingold@adacore.com>
367
368         * od-xcoff.c: New file.
369         * objdump.h: New file.
370         * objdump.c: Include objdump.h
371         (dump_private_options, objdump_private_vectors): New variables.
372         (usage): Mention -P/--private.  Display handled options.
373         (long_options): Add -P/--private.
374         (dump_target_specific): New function.
375         (dump_bfd): Handle dump_private_options.
376         (main): Handle -P.
377         * doc/binutils.texi (objdump): Document -P/--private.
378         * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES):
379         New variables, compute them.
380         (od_vectors): Add vectors for private dumpers. Make them uniq.
381         (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS.
382         * Makefile.am (HFILES): Add objdump.h
383         (CFILES): Add od-xcoff.c
384         (OBJDUMP_PRIVATE_OFILES): New variable.
385         (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES.
386         (objdump_LDADD): Ditto.
387         (EXTRA_objdump_SOURCES): Define.
388         * Makefile.in: Regenerate.
389         * configure: Regenerate.
390
391 2011-05-10  Tristan Gingold  <gingold@adacore.com>
392
393         * dwarf.c (process_extended_line_op): Dump unknown records.
394
395 2011-05-07  Alan Modra  <amodra@gmail.com>
396
397         PR binutils/12632
398         * objcopy.c (copy_archive): Check bfd_openw result in unknown object
399         case.  Rewrite without goto.
400
401 2011-05-03  Jakub Jelinek  <jakub@redhat.com>
402
403         * dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type,
404         DW_OP_GNU_regval_type, DW_OP_GNU_deref_type, DW_OP_GNU_convert
405         and DW_OP_GNU_reinterpret.
406
407         * MAINTAINERS: Add myself as DWARF2 maintainer.
408
409 2011-05-02  Alan Modra  <amodra@gmail.com>
410
411         PR binutils/12720
412         Revert the following change
413         Michael Snyder  <msnyder@vmware.com>
414         * ar.c (move_members): Plug memory leak.
415         (delete_members): Plug memory leak.
416
417 2011-04-28  Tom Tromey  <tromey@redhat.com>
418
419         * NEWS: Add note about --dwarf-depth, --dwarf-start, and
420         dwarf-mode.el.
421         * objdump.c (suppress_bfd_header): New global.
422         (usage): Update.
423         (OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants.
424         (options): Add dwarf-depth and dwarf-start entries.
425         (dump_bfd): Use suppress_bfd_header.
426         (main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH.
427         * doc/binutils.texi (objcopy): Document --dwarf-depth and
428         --dwarf-start.
429         (readelf): Likewise.
430         * dwarf-mode.el: New file.
431         * dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals.
432         (read_and_display_attr_value): Also check debug_info_p.
433         (process_debug_info): Handle dwarf_start_die and
434         dwarf_cutoff_level.
435         * dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare.
436         * readelf.c (usage): Update.
437         (OPTION_DWARF_DEPTH): New macro.
438         (OPTION_DWARF_START): Likewise.
439         (options): Add dwarf-depth and dwarf-start entries.
440         (parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH.
441
442 2011-04-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
443
444         * dwarf.c (display_gdb_index): Support version 5, warn on version 4.
445
446 2011-04-27  Tristan Gingold  <gingold@adacore.com>
447
448         * dwarf.c (process_extended_line_op): Handle
449         DW_LNE_HP_source_file_correlation.
450
451 2011-04-27  Nick Clifton  <nickc@redhat.com>
452
453         * po/da.po: Updated Danish translation.
454
455 2011-04-21  Tom Tromey  <tromey@redhat.com>
456
457         * readelf.c (print_stapsdt_note): New function.
458         (process_note): Use it.
459
460 2011-04-21  Tom Tromey  <tromey@redhat.com>
461
462         * readelf.c (get_stapsdt_note_type): New function.
463         (process_note): Recognize "stapsdt" notes.
464
465 2011-04-21  Tom Tromey  <tromey@redhat.com>
466
467         * readelf.c (process_corefile_note_segment): Change header field
468         widths.
469         (process_note): Change field widths.
470
471 2011-04-21  Tom Tromey  <tromey@redhat.com>
472
473         * readelf.c (print_gnu_note): New function.
474         (process_note): Use it.
475
476 2011-04-21  Jie Zhang  <jzhang918@gmail.com>
477
478         * MAINTAINERS: Update my email address.
479
480 2011-04-11  Kai Tietz  <ktietz@redhat.com>
481
482         * windres.c (usage): Add new --preprocessor-arg option.
483         (option_values): Add new OPTION_PREPROCESSOR_ARG enumerator.
484         (option long_options): Add preprocessor-arg option.
485         (main): Handle it.
486         * doc/binutils.texi: Add documentation for --preprocessor-arg
487         option.
488         * NEWS: Add line about new --preprocessor-arg option for windres.
489
490 2011-04-08  John Marino  <binutils@marino.st>
491
492         * arlex.l: Prevent redefinition of YY_NO_UNPUT.
493         * syslex.l: Likewise.
494
495 2011-04-07  Paul Brook  <paul@codesourcery.com>
496
497         * readelf.c (arm_section_get_word): Handle C6000 relocations.
498         (decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode,
499         decode_tic6x_unwind_bytecode, expand_prel31): New functions.
500         (decode_arm_unwind): Split out common code from ARM specific bits.
501         (dump_arm_unwind): Use expand_prel31.
502         (arm_process_unwind): Handle SHT_C6000_UNWIND sections.
503         (process_unwind): Add SHT_C6000_UNWIND.
504
505 2011-04-06  Joseph Myers  <joseph@codesourcery.com>
506
507         * configure.in (thumb-*-pe*): Remove.
508         * configure: Regenerate.
509
510 2011-04-05  Sterling Augustine  <augustine.sterling@gmail.com>
511
512         * MAINTAINERS: Update my email address.
513
514 2011-04-03  H.J. Lu  <hongjiu.lu@intel.com>
515
516         PR binutils/12632
517         * objcopy.c (copy_unknown_object): Make the archive element
518         readable.
519
520 2011-04-03  David S. Miller  <davem@davemloft.net>
521
522         * objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations
523         accurately, rather than how they are represented internally.
524
525 2011-03-31  Tristan Gingold  <gingold@adacore.com>
526
527         * makefile.vms (readelf.exe): New target.
528
529 2011-03-31  Tristan Gingold  <gingold@adacore.com>
530
531         * makefile.vms (DEBUG_OBJS): Add elfcomm.obj.
532
533 2011-03-31  Bernd Schmidt  <bernds@codesourcery.com>
534
535         * readelf.c (get_symbol_index_type): Handle SCOM for TIC6X.
536         (dump_relocations): Likewise.
537
538 2011-03-31  Tristan Gingold  <gingold@adacore.com>
539
540         * readelf.c (get_ia64_vms_note_type): New function.
541         (print_ia64_vms_note): Ditto.
542         (process_note): Recognize VMS/ia64 specific notes.
543         Display them.
544         (process_corefile_note_segment): Decode VMS notes.
545
546 2011-03-30  Catherine Moore  <clm@codesourcery.com>
547
548         * addr2line.c (translate_addresses): Sign extend the pc
549         if sign_extend_vma is enabled.
550
551 2011-03-30  Michael Snyder  <msnyder@msnyder-server.eng.vmware.com>
552
553         * readelf.c (process_gnu_liblist): Stop memory leak.
554
555 2011-03-29  Alan Modra  <amodra@gmail.com>
556
557         * coffdump.c: Include bfd_stdint.h
558
559 2011-03-28  Pierre Muller  <muller@ics.u-strasbg.fr>
560
561         * coffdump.c (coff_dump): Correct spelling error.
562         (show_usage): Replace SYSROFF by COFF.
563
564 2011-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
565
566         * coffdump.c (dump_coff_scope): Use double typecast for pointer P
567         to allow compilation for all targets.
568
569 2011-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
570
571         * dwarf.c (process_debug_info): Use offset_size to determine
572         the bit-size of the computation unit's offset.
573         (decode_location_expression): Use dwarf_vmatoa function to display
574         DW_OP_addr OP.
575         (process_debug_info): Use dwarf_vma type for local variables
576         length and type_offset.
577
578 2011-03-25  Michael Snyder  <msnyder@vmware.com>
579
580         * strings.c (print_strings): Plug memory leak.
581         * ar.c (move_members): Plug memory leak.
582         (delete_members): Plug memory leak.
583         (write_archive): Plug memory leak.
584         * ieee.c (ieee_add_bb11): Plug memory leak.
585         (ieee_function_type): Likewise.
586         (ieee_class_baseclass): Likewise.
587         * prdbg.c (pr_function_type): Close memory leaks.
588         (pr_method_type): Likewise.
589         (tg_class_static_member): Likewise.
590         (tg_class_method_variant): Likewise.
591         (tg_class_static_method_variant): Likewise.
592         * stabs.c (parse_stab_enum_type): Fix memory leaks.
593         (parse_stab_struct_type): Likewise.
594         (parse_stab_struct_fields): Likewise.
595         (parse_stab_one_struct_field): Likewise.
596         (parse_stab_members): Likewise.
597         (stab_demangle_qualified): Likewise.
598         * objdump.c (dump_reloc_set): Free malloced memory.
599         * bucomm.c (make_tempname): Stop memory leak.
600
601 2011-03-25  Pierre Muller  <muller@ics.u-strasbg.fr>
602
603         Replace bfd_vma type and analog types by dwarf_vma and analogs.
604         Use dwarf specific print functions to display these type values.
605         * dwarf.h (dwarf_signed_vma): New type;
606         (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma.
607         (DWARF2_External_PubNames): Likewise.
608         (DWARF2_External_CompUnit): Likewise.
609         (DWARF2_External_ARange): Likewise.
610         (read_leb128): Change return type to dwarf_vma.
611         * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and
612         check byte_size values.
613         (dwarf_vmatoa): Change parameter type to dwarf_vma.
614         (dwarf_svmatoa): New static function.
615         (read_leb128): Change return type to dwarf_vma.
616         (read_sleb128): New static function.
617         (struct State_Machine_Registers): Change address field type to
618         dwarf_vma.
619         (process_extended_line_op): Adapt to type changes.
620         (fetch_indirect_string): Likewise.
621         (idisplay_block): Likewise.
622         (decode_location_expression): Likewise.
623         (read_and_display_attr_value): Likewise.
624         (process_debug_info): Likewise.
625         (display_debug_lines_raw): Likewise.
626         (display_debug_lines_decoded): Likewise.
627         (SLEB macro): Use new read_sleb128 function.
628
629 2011-03-17  Alan Modra  <amodra@gmail.com>
630
631         PR 12590
632         * ar.c (ranlib_main): Init arg_index properly.
633         (usage): Describe --target.
634
635 2011-03-16  Jakub Jelinek  <jakub@redhat.com>
636
637         * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.
638         (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value,
639         DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered.
640         (get_AT_name): Handle DW_AT_GNU_call_site_value,
641         DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
642         DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
643         DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and
644         DW_AT_GNU_all_source_call_sites.
645         (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust
646         handling.
647
648 2011-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
649
650         * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site.
651         (decode_location_expression): Handle DW_OP_GNU_entry_value.
652         (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value.
653         (get_AT_name): Likewise.
654
655 2011-03-14  Michael Snyder  <msnyder@vmware.com>
656
657         * objcopy.c (set_pe_subsystem): Free subsystem.
658
659         * wrstabs.c (stab_start_struct_type): Close memory leak.
660
661         * readelf.c (process_version_sections): Free symbols.
662
663         * nm.c (display_rel_file): Free symsizes.
664
665 2011-03-10  Nick Clifton  <nickc@redhat.com>
666
667         * readelf.c (get_machine_name): Update EM_V850 entry.
668
669 2011-03-03  Mike Frysinger  <vapier@gentoo.org>
670
671         * objdump.c (usage): Fix single typo.
672         * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po,
673         po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise.
674
675 2011-03-01  Akos Pasztory  <akos.pasztory@gmail.com>
676
677         PR binutils/12523
678         * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
679
680 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
681
682         * debug.c (debug_start_source): Use filename_(n)cmp.
683         * ieee.c (ieee_finish_compilation_unit): Likewise.
684         (ieee_lineno): Likewise.
685         * nlmconv.c (main): Likewise.
686         * objcopy.c (strip_main): Likewise.
687         (copy_main): Likewise.
688         * objdump.c (show_line): Likewise.
689         (dump_reloc_set): Likewise.
690         * srconv.c (main): Likewise.
691         * wrstabs.c (stab_lineno): Likewise.
692
693 2011-02-24  Zachary T Welch  <zwelch@codesourcery.com>
694
695         * readelf.c (decode_arm_unwind): Implement decoding of remaining
696         ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX).
697
698 2011-02-23  Kai Tietz  <kai.tietz@onevision.com>
699
700         * dwarf.c (read_leb128): Use bfd_vma instead of
701         long type.
702         (dwarf_vmatoa): New helper routine.
703         (process_extended_line_op): Use for adr bfd_vma
704         type and print those typed values via BFD_VMA_FMT
705         or via dwarf_vmatoa for localized prints.
706         (fetch_indirect_string): Adjust offset's type.
707         (decode_location_expression): Adjust argument types
708         and uvalue type.
709         (read_and_display_attr_value): Likewise.
710         (read_and_display_attr): Likewise.
711         (decode_location_expression): Adjust printf format.
712         (process_debug_info): Likewise.
713         (display_debug_lines_raw): Likewise.
714         (display_debug_lines_decoded): Likewise.
715         (display_debug_pubnames): Likewise.
716         (display_debug_loc): Likewise.
717         (display_debug_aranges): Likewise.
718         * dwarf.h (DWARF2_External_LineInfo,
719         DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
720         DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
721         DWARF2_Internal_CompUnit, DWARF2_External_ARange,
722         DWARF2_Internal_ARange): Added..
723         (read_leb128): Adjust return type.
724
725 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
726
727         * configure: Regenerate.
728
729 2011-02-08  Nick Clifton  <nickc@redhat.com>
730
731         PR binutils/12467
732         * readelf.c (process_program_headers): Issue a warning if there
733         are no program headers but the file header has a non-zero program
734         header offset.
735         (process_section_headers): Issue a warning if there are no section
736         headers but the file header has a non-zero section header offset.
737         (process_section_groups): Reword the no section message so that it
738         can be distinguished from the one issued by process_section_headers.
739
740 2011-01-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
741             Doug Evans  <dje@google.com>
742
743         * dwarf.c (display_gdb_index): Support version 4, warn on version 3.
744
745 2011-01-19  Maciej W. Rozycki  <macro@codesourcery.com>
746
747         * readelf.c (process_object): Free dynamic_section after use.
748
749 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
750
751         PR binutils/12408
752         * readelf.c (process_archive): Free and reset dump_sects
753         after processing each archive member.
754
755 2011-01-11  Andreas Schwab  <schwab@redhat.com>
756
757         * readelf.c (print_symbol): Handle symbol characters as unsigned.
758         Whitespace fixes.
759
760 2011-01-10  Nick Clifton  <nickc@redhat.com>
761
762         * po/da.po: Updated Danish translation.
763
764 2011-01-06  Vladimir Siminov  <sv@sw.ru>
765
766         * bucomm.c (get_file_size): Check for negative sizes and issue a
767         warning message if encountered.
768
769 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
770
771         * version.c (print_version): Update copyright to 2011.
772
773 For older changes see ChangeLog-2010
774 \f
775 Local Variables:
776 mode: change-log
777 left-margin: 8
778 fill-column: 74
779 version-control: never
780 End: