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