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