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