* dwarf2.h (enum dwarf_location_atom): Add DW_OP_GNU_parameter_ref.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
f8b999f9
JJ
12011-06-22 Jakub Jelinek <jakub@redhat.com>
2
3 * dwarf.c (decode_location_expression): For DW_OP_GNU_convert and
4 DW_OP_GNU_reinterpret, if uvalue is 0, don't add cu_offset.
5 Handle DW_OP_GNU_parameter_ref.
6
af61e67f
TT
72011-06-16 Tom Tromey <tromey@redhat.com>
8
9 * dwarf-mode.el (dwarf-do-insert-substructure): Call
10 expand-file-name.
11 (dwarf-do-refresh): Likewise.
12
faa9a424
UW
132011-06-15 Ulrich Weigand <ulrich.weigand@linaro.org>
14
15 * readelf.c (get_note_type): Handle NT_ARM_VFP.
16
aa137e4d
NC
172011-06-13 Walter Lee <walt@tilera.com>
18
19 * readelf.c: Include tilepro.h and tilegx.h.
20 (guess_is_rela): Handle EM_TILEGX and EM_TILEPRO.
21 (dump_relocations): Likewise.
22 (get_machine_name): Likewise.
23 (is_32bit_abs_reloc): Likewise.
24 (is_32bit_pcerel_reloc): Likewise.
25 (is_64bit_abs_reloc): Likewise.
26 (is_64bit_pcrel_reloc): Likewise.
27
e682d13b
TG
282011-06-09 Tristan Gingold <gingold@adacore.com>
29
30 * od-xcoff.c (xcoff32_read_symbols): Allow missing string table
31 length.
32
59245841
NC
332011-06-08 Nick Clifton <nickc@redhat.com>
34
35 PR binutils/12855
36 * readelf.c (process_version_sections): Handle binaries containing
37 corrupt version information.
38 (process_symbol_table): Stop processing a symbol's version
39 information if it could not be read in.
40
41 (get_data): Add comment describing the function.
42 (process_section_headers): Set dynamic_strings_length to 0 if the
43 dynamic strings could not be read in.
44 (process_dynamic_section): Likewise.
45 (process_section_groups): Stop processing the group information if
46 the data could not be read in.
47 (hppa_processs_unwind): Assert that there is only one string table
48 in the file.
49 (arm_process_unwind): Likewise.
50 (ia64_process_unwind): Likewise.
51 Set the size of the unwind auxillary information to 0 if the data
52 could not be read.
53 (load_specific_debug_section): Handle a failure to read in the
54 section.
55 (process_mips_specific): Stop display of the PLT GOT section if it
56 could not be read in.
57
516ec24d
TG
582011-06-08 Tristan Gingold <gingold@adacore.com>
59
60 * makefile.vms (DEFS): Define OBJDUMP_PRIVATE_VECTORS.
61
ad6b52dd
CC
622011-06-07 Cary Coutant <ccoutant@google.com>
63
64 * dwarf.c: Fix conversion to TU number.
65
cc643b88
NC
662011-06-02 Nick Clifton <nickc@redhat.com>
67
68 * resres.c: Fix spelling typo.
69 * windint.h: Likewise.
70 * windmc.c: Likewise.
71 * windres.c: Likewise.
72 * po/POTFILES.in: Regenerate.
73 * po/binutils.pot: Regenerate.
74
9483a6ee
DJ
752011-06-01 Daniel Jacobowitz <drow@false.org>
76
77 * MAINTAINERS: Update my email address.
78
1ab52cbe
AM
792011-05-31 Matthias Klose <doko@ubuntu.com>
80
81 * configure.in (BUILD_INSTALL_MISC): Only add embedspu once.
82 * configure: Regenerate.
83
1c10be1e
AM
842011-05-30 Alan Modra <amodra@gmail.com>
85
86 PR binutils/12820
87 * Makefile.am (bin_PROGRAMS): Move BUILD_INSTALL_MISC to..
88 (bin_SCRIPTS): ..here.
89 (EXTRA_SCRIPTS): Define.
90 (EXTRA_DIST): Add embedspu.sh.
91 (DISTCLEANFILES): Add embedspu.
92 (embedspu): Depend on Makefile. Replace sed "s" command with "c".
93 * Makefile.in: Regenerate.
94
51d0d03f
JJ
952011-05-25 Jakub Jelinek <jakub@redhat.com>
96
97 * dwarf.c (loc_offsets): New variable.
98 (loc_offsets_compar): New routine.
99 (display_debug_loc): Handle loc_offsets not being in ascending order
100 and also a single .debug_loc entry being used multiple times.
101
0ba0c2b3
NC
1022011-05-18 Nick Clifton <nickc@redhat.com>
103
104 PR binutils/12753
105 * nm.c (filter_symbols): Treat unique symbols as global symbols.
106 * doc/binutils.texi (nm): Mention that some lowercase letters
107 actually indicate global symbols.
108
429628a5
TG
1092011-05-15 Tristan Gingold <gingold@adacore.com>
110
111 * od-xcoff.c: New file.
112 * objdump.h: New file.
113 * objdump.c: Include objdump.h
114 (dump_private_options, objdump_private_vectors): New variables.
115 (usage): Mention -P/--private. Display handled options.
116 (long_options): Add -P/--private.
117 (dump_target_specific): New function.
118 (dump_bfd): Handle dump_private_options.
119 (main): Handle -P.
120 * doc/binutils.texi (objdump): Document -P/--private.
121 * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES):
122 New variables, compute them.
123 (od_vectors): Add vectors for private dumpers. Make them uniq.
124 (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS.
125 * Makefile.am (HFILES): Add objdump.h
126 (CFILES): Add od-xcoff.c
127 (OBJDUMP_PRIVATE_OFILES): New variable.
128 (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES.
129 (objdump_LDADD): Ditto.
130 (EXTRA_objdump_SOURCES): Define.
131 * Makefile.in: Regenerate.
132 * configure: Regenerate.
133
7e665af3
TG
1342011-05-10 Tristan Gingold <gingold@adacore.com>
135
136 * dwarf.c (process_extended_line_op): Dump unknown records.
137
19094d10
AM
1382011-05-07 Alan Modra <amodra@gmail.com>
139
44bbc88a 140 PR binutils/12632
19094d10
AM
141 * objcopy.c (copy_archive): Check bfd_openw result in unknown object
142 case. Rewrite without goto.
143
1cd48f98
JJ
1442011-05-03 Jakub Jelinek <jakub@redhat.com>
145
0892011d
JJ
146 * dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type,
147 DW_OP_GNU_regval_type, DW_OP_GNU_deref_type, DW_OP_GNU_convert
148 and DW_OP_GNU_reinterpret.
149
1cd48f98
JJ
150 * MAINTAINERS: Add myself as DWARF2 maintainer.
151
4510857d
AM
1522011-05-02 Alan Modra <amodra@gmail.com>
153
154 PR binutils/12720
155 Revert the following change
156 Michael Snyder <msnyder@vmware.com>
157 * ar.c (move_members): Plug memory leak.
158 (delete_members): Plug memory leak.
159
fd2f0033
TT
1602011-04-28 Tom Tromey <tromey@redhat.com>
161
162 * NEWS: Add note about --dwarf-depth, --dwarf-start, and
163 dwarf-mode.el.
164 * objdump.c (suppress_bfd_header): New global.
165 (usage): Update.
166 (OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants.
167 (options): Add dwarf-depth and dwarf-start entries.
168 (dump_bfd): Use suppress_bfd_header.
169 (main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH.
170 * doc/binutils.texi (objcopy): Document --dwarf-depth and
171 --dwarf-start.
172 (readelf): Likewise.
173 * dwarf-mode.el: New file.
174 * dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals.
175 (read_and_display_attr_value): Also check debug_info_p.
176 (process_debug_info): Handle dwarf_start_die and
177 dwarf_cutoff_level.
178 * dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare.
179 * readelf.c (usage): Update.
180 (OPTION_DWARF_DEPTH): New macro.
181 (OPTION_DWARF_START): Likewise.
182 (options): Add dwarf-depth and dwarf-start entries.
183 (parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH.
184
6adc060c
JK
1852011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
186
187 * dwarf.c (display_gdb_index): Support version 5, warn on version 4.
188
43294ab7
TG
1892011-04-27 Tristan Gingold <gingold@adacore.com>
190
191 * dwarf.c (process_extended_line_op): Handle
192 DW_LNE_HP_source_file_correlation.
193
b4e7b885
NC
1942011-04-27 Nick Clifton <nickc@redhat.com>
195
196 * po/da.po: Updated Danish translation.
197
c6a9fc58
TT
1982011-04-21 Tom Tromey <tromey@redhat.com>
199
200 * readelf.c (print_stapsdt_note): New function.
201 (process_note): Use it.
202
70616151
TT
2032011-04-21 Tom Tromey <tromey@redhat.com>
204
205 * readelf.c (get_stapsdt_note_type): New function.
206 (process_note): Recognize "stapsdt" notes.
207
2aee03ae
TT
2082011-04-21 Tom Tromey <tromey@redhat.com>
209
210 * readelf.c (process_corefile_note_segment): Change header field
211 widths.
212 (process_note): Change field widths.
213
664f90a3
TT
2142011-04-21 Tom Tromey <tromey@redhat.com>
215
216 * readelf.c (print_gnu_note): New function.
217 (process_note): Use it.
218
4161fbb0
JZ
2192011-04-21 Jie Zhang <jzhang918@gmail.com>
220
221 * MAINTAINERS: Update my email address.
222
7f880bc3 2232011-04-11 Kai Tietz <ktietz@redhat.com>
ec25acb3
NC
224
225 * windres.c (usage): Add new --preprocessor-arg option.
226 (option_values): Add new OPTION_PREPROCESSOR_ARG enumerator.
227 (option long_options): Add preprocessor-arg option.
228 (main): Handle it.
229 * doc/binutils.texi: Add documentation for --preprocessor-arg
230 option.
231 * NEWS: Add line about new --preprocessor-arg option for windres.
232
894e93a8
NC
2332011-04-08 John Marino <binutils@marino.st>
234
235 * arlex.l: Prevent redefinition of YY_NO_UNPUT.
236 * syslex.l: Likewise.
237
fa197c1c
PB
2382011-04-07 Paul Brook <paul@codesourcery.com>
239
240 * readelf.c (arm_section_get_word): Handle C6000 relocations.
241 (decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode,
242 decode_tic6x_unwind_bytecode, expand_prel31): New functions.
243 (decode_arm_unwind): Split out common code from ARM specific bits.
244 (dump_arm_unwind): Use expand_prel31.
245 (arm_process_unwind): Handle SHT_C6000_UNWIND sections.
246 (process_unwind): Add SHT_C6000_UNWIND.
247
8c5fc800
JM
2482011-04-06 Joseph Myers <joseph@codesourcery.com>
249
250 * configure.in (thumb-*-pe*): Remove.
251 * configure: Regenerate.
252
a8aa951d
SA
2532011-04-05 Sterling Augustine <augustine.sterling@gmail.com>
254
255 * MAINTAINERS: Update my email address.
256
1e99536a
L
2572011-04-03 H.J. Lu <hongjiu.lu@intel.com>
258
259 PR binutils/12632
260 * objcopy.c (copy_unknown_object): Make the archive element
261 readable.
262
bf03e632
DM
2632011-04-03 David S. Miller <davem@davemloft.net>
264
265 * objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations
266 accurately, rather than how they are represented internally.
267
545f57c6
TG
2682011-03-31 Tristan Gingold <gingold@adacore.com>
269
270 * makefile.vms (readelf.exe): New target.
271
083faca9
TG
2722011-03-31 Tristan Gingold <gingold@adacore.com>
273
274 * makefile.vms (DEBUG_OBJS): Add elfcomm.obj.
275
ac145307
BS
2762011-03-31 Bernd Schmidt <bernds@codesourcery.com>
277
278 * readelf.c (get_symbol_index_type): Handle SCOM for TIC6X.
279 (dump_relocations): Likewise.
280
00e98fc7
TG
2812011-03-31 Tristan Gingold <gingold@adacore.com>
282
283 * readelf.c (get_ia64_vms_note_type): New function.
284 (print_ia64_vms_note): Ditto.
285 (process_note): Recognize VMS/ia64 specific notes.
286 Display them.
287 (process_corefile_note_segment): Decode VMS notes.
288
877c169d
CM
2892011-03-30 Catherine Moore <clm@codesourcery.com>
290
291 * addr2line.c (translate_addresses): Sign extend the pc
292 if sign_extend_vma is enabled.
293
2842702f
NC
2942011-03-30 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
295
296 * readelf.c (process_gnu_liblist): Stop memory leak.
297
9382dad2
AM
2982011-03-29 Alan Modra <amodra@gmail.com>
299
300 * coffdump.c: Include bfd_stdint.h
301
fbe3e2c8
PM
3022011-03-28 Pierre Muller <muller@ics.u-strasbg.fr>
303
304 * coffdump.c (coff_dump): Correct spelling error.
305 (show_usage): Replace SYSROFF by COFF.
306
1a9911c3
PM
3072011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
308
309 * coffdump.c (dump_coff_scope): Use double typecast for pointer P
310 to allow compilation for all targets.
311
49e7b350
NC
3122011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
313
314 * dwarf.c (process_debug_info): Use offset_size to determine
315 the bit-size of the computation unit's offset.
767221a9
NC
316 (decode_location_expression): Use dwarf_vmatoa function to display
317 DW_OP_addr OP.
318 (process_debug_info): Use dwarf_vma type for local variables
319 length and type_offset.
49e7b350 320
68187828
NC
3212011-03-25 Michael Snyder <msnyder@vmware.com>
322
323 * strings.c (print_strings): Plug memory leak.
6a696910 324 * ar.c (move_members): Plug memory leak.
a1bc0327 325 (delete_members): Plug memory leak.
8e4850a9 326 (write_archive): Plug memory leak.
cd37dafc
NC
327 * ieee.c (ieee_add_bb11): Plug memory leak.
328 (ieee_function_type): Likewise.
329 (ieee_class_baseclass): Likewise.
09192bc7
NC
330 * prdbg.c (pr_function_type): Close memory leaks.
331 (pr_method_type): Likewise.
332 (tg_class_static_member): Likewise.
333 (tg_class_method_variant): Likewise.
334 (tg_class_static_method_variant): Likewise.
1fcab1af 335 * stabs.c (parse_stab_enum_type): Fix memory leaks.
4b41844b
NC
336 (parse_stab_struct_type): Likewise.
337 (parse_stab_struct_fields): Likewise.
338 (parse_stab_one_struct_field): Likewise.
339 (parse_stab_members): Likewise.
340 (stab_demangle_qualified): Likewise.
341 * objdump.c (dump_reloc_set): Free malloced memory.
c48d800e 342 * bucomm.c (make_tempname): Stop memory leak.
68187828 343
467c65bc
NC
3442011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
345
346 Replace bfd_vma type and analog types by dwarf_vma and analogs.
347 Use dwarf specific print functions to display these type values.
348 * dwarf.h (dwarf_signed_vma): New type;
349 (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma.
350 (DWARF2_External_PubNames): Likewise.
351 (DWARF2_External_CompUnit): Likewise.
352 (DWARF2_External_ARange): Likewise.
353 (read_leb128): Change return type to dwarf_vma.
354 * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and
355 check byte_size values.
356 (dwarf_vmatoa): Change parameter type to dwarf_vma.
357 (dwarf_svmatoa): New static function.
358 (read_leb128): Change return type to dwarf_vma.
359 (read_sleb128): New static function.
360 (struct State_Machine_Registers): Change address field type to
361 dwarf_vma.
362 (process_extended_line_op): Adapt to type changes.
363 (fetch_indirect_string): Likewise.
364 (idisplay_block): Likewise.
365 (decode_location_expression): Likewise.
366 (read_and_display_attr_value): Likewise.
367 (process_debug_info): Likewise.
368 (display_debug_lines_raw): Likewise.
369 (display_debug_lines_decoded): Likewise.
370 (SLEB macro): Use new read_sleb128 function.
371
c60ce34a
AM
3722011-03-17 Alan Modra <amodra@gmail.com>
373
374 PR 12590
375 * ar.c (ranlib_main): Init arg_index properly.
376 (usage): Describe --target.
377
629e7ca8
JJ
3782011-03-16 Jakub Jelinek <jakub@redhat.com>
379
380 * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.
381 (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value,
382 DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered.
383 (get_AT_name): Handle DW_AT_GNU_call_site_value,
384 DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
385 DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
386 DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and
387 DW_AT_GNU_all_source_call_sites.
388 (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust
389 handling.
390
3912011-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
392
393 * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site.
394 (decode_location_expression): Handle DW_OP_GNU_entry_value.
395 (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value.
396 (get_AT_name): Likewise.
397
497b9b32
MS
3982011-03-14 Michael Snyder <msnyder@vmware.com>
399
0cbf3531
MS
400 * objcopy.c (set_pe_subsystem): Free subsystem.
401
c30fe01d
MS
402 * wrstabs.c (stab_start_struct_type): Close memory leak.
403
0429c154
MS
404 * readelf.c (process_version_sections): Free symbols.
405
497b9b32
MS
406 * nm.c (display_rel_file): Free symsizes.
407
8f7e76d0
NC
4082011-03-10 Nick Clifton <nickc@redhat.com>
409
410 * readelf.c (get_machine_name): Update EM_V850 entry.
411
505f1412
MF
4122011-03-03 Mike Frysinger <vapier@gentoo.org>
413
414 * objdump.c (usage): Fix single typo.
415 * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po,
416 po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise.
417
5115b233
AM
4182011-03-01 Akos Pasztory <akos.pasztory@gmail.com>
419
420 PR binutils/12523
421 * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
422
8b6efd89
KT
4232011-02-28 Kai Tietz <kai.tietz@onevision.com>
424
425 * debug.c (debug_start_source): Use filename_(n)cmp.
426 * ieee.c (ieee_finish_compilation_unit): Likewise.
427 (ieee_lineno): Likewise.
428 * nlmconv.c (main): Likewise.
429 * objcopy.c (strip_main): Likewise.
430 (copy_main): Likewise.
431 * objdump.c (show_line): Likewise.
432 (dump_reloc_set): Likewise.
433 * srconv.c (main): Likewise.
434 * wrstabs.c (stab_lineno): Likewise.
435
61865e30
NC
4362011-02-24 Zachary T Welch <zwelch@codesourcery.com>
437
438 * readelf.c (decode_arm_unwind): Implement decoding of remaining
439 ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX).
440
47704ddf
KT
4412011-02-23 Kai Tietz <kai.tietz@onevision.com>
442
443 * dwarf.c (read_leb128): Use bfd_vma instead of
444 long type.
445 (dwarf_vmatoa): New helper routine.
446 (process_extended_line_op): Use for adr bfd_vma
447 type and print those typed values via BFD_VMA_FMT
448 or via dwarf_vmatoa for localized prints.
449 (fetch_indirect_string): Adjust offset's type.
450 (decode_location_expression): Adjust argument types
451 and uvalue type.
452 (read_and_display_attr_value): Likewise.
453 (read_and_display_attr): Likewise.
454 (decode_location_expression): Adjust printf format.
455 (process_debug_info): Likewise.
456 (display_debug_lines_raw): Likewise.
457 (display_debug_lines_decoded): Likewise.
458 (display_debug_pubnames): Likewise.
459 (display_debug_loc): Likewise.
460 (display_debug_aranges): Likewise.
461 * dwarf.h (DWARF2_External_LineInfo,
462 DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
463 DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
464 DWARF2_Internal_CompUnit, DWARF2_External_ARange,
465 DWARF2_Internal_ARange): Added..
466 (read_leb128): Adjust return type.
467
822ce8ee
RW
4682011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
469
470 * configure: Regenerate.
471
82f2dbf7
NC
4722011-02-08 Nick Clifton <nickc@redhat.com>
473
474 PR binutils/12467
475 * readelf.c (process_program_headers): Issue a warning if there
476 are no program headers but the file header has a non-zero program
477 header offset.
478 (process_section_headers): Issue a warning if there are no section
479 headers but the file header has a non-zero section header offset.
480 (process_section_groups): Reword the no section message so that it
481 can be distinguished from the one issued by process_section_headers.
482
6ec8b48e
JK
4832011-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
484 Doug Evans <dje@google.com>
485
486 * dwarf.c (display_gdb_index): Support version 4, warn on version 3.
487
293c573e
MR
4882011-01-19 Maciej W. Rozycki <macro@codesourcery.com>
489
490 * readelf.c (process_object): Free dynamic_section after use.
491
2b52916e
L
4922011-01-18 H.J. Lu <hongjiu.lu@intel.com>
493
494 PR binutils/12408
495 * readelf.c (process_archive): Free and reset dump_sects
496 after processing each archive member.
497
7a88bc9c
AS
4982011-01-11 Andreas Schwab <schwab@redhat.com>
499
500 * readelf.c (print_symbol): Handle symbol characters as unsigned.
501 Whitespace fixes.
502
f7465604
NC
5032011-01-10 Nick Clifton <nickc@redhat.com>
504
505 * po/da.po: Updated Danish translation.
506
9849fbfc
NC
5072011-01-06 Vladimir Siminov <sv@sw.ru>
508
509 * bucomm.c (get_file_size): Check for negative sizes and issue a
510 warning message if encountered.
511
0db46eb4
L
5122011-01-01 H.J. Lu <hongjiu.lu@intel.com>
513
514 * version.c (print_version): Update copyright to 2011.
515
9e9e0820 516For older changes see ChangeLog-2010
252b5132
RH
517\f
518Local Variables:
519mode: change-log
520left-margin: 8
521fill-column: 74
522version-control: never
523End:
This page took 0.510467 seconds and 4 git commands to generate.