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