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