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