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