* Makefile.am (ALL_MACHINES): Add cpu-tilegx.lo and cpu-tilepro.lo.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2011-06-13 Walter Lee <walt@tilera.com>
2
3 * readelf.c: Include tilepro.h and tilegx.h.
4 (guess_is_rela): Handle EM_TILEGX and EM_TILEPRO.
5 (dump_relocations): Likewise.
6 (get_machine_name): Likewise.
7 (is_32bit_abs_reloc): Likewise.
8 (is_32bit_pcerel_reloc): Likewise.
9 (is_64bit_abs_reloc): Likewise.
10 (is_64bit_pcrel_reloc): Likewise.
11
12 2011-06-09 Tristan Gingold <gingold@adacore.com>
13
14 * od-xcoff.c (xcoff32_read_symbols): Allow missing string table
15 length.
16
17 2011-06-08 Nick Clifton <nickc@redhat.com>
18
19 PR binutils/12855
20 * readelf.c (process_version_sections): Handle binaries containing
21 corrupt version information.
22 (process_symbol_table): Stop processing a symbol's version
23 information if it could not be read in.
24
25 (get_data): Add comment describing the function.
26 (process_section_headers): Set dynamic_strings_length to 0 if the
27 dynamic strings could not be read in.
28 (process_dynamic_section): Likewise.
29 (process_section_groups): Stop processing the group information if
30 the data could not be read in.
31 (hppa_processs_unwind): Assert that there is only one string table
32 in the file.
33 (arm_process_unwind): Likewise.
34 (ia64_process_unwind): Likewise.
35 Set the size of the unwind auxillary information to 0 if the data
36 could not be read.
37 (load_specific_debug_section): Handle a failure to read in the
38 section.
39 (process_mips_specific): Stop display of the PLT GOT section if it
40 could not be read in.
41
42 2011-06-08 Tristan Gingold <gingold@adacore.com>
43
44 * makefile.vms (DEFS): Define OBJDUMP_PRIVATE_VECTORS.
45
46 2011-06-07 Cary Coutant <ccoutant@google.com>
47
48 * dwarf.c: Fix conversion to TU number.
49
50 2011-06-02 Nick Clifton <nickc@redhat.com>
51
52 * resres.c: Fix spelling typo.
53 * windint.h: Likewise.
54 * windmc.c: Likewise.
55 * windres.c: Likewise.
56 * po/POTFILES.in: Regenerate.
57 * po/binutils.pot: Regenerate.
58
59 2011-06-01 Daniel Jacobowitz <drow@false.org>
60
61 * MAINTAINERS: Update my email address.
62
63 2011-05-31 Matthias Klose <doko@ubuntu.com>
64
65 * configure.in (BUILD_INSTALL_MISC): Only add embedspu once.
66 * configure: Regenerate.
67
68 2011-05-30 Alan Modra <amodra@gmail.com>
69
70 PR binutils/12820
71 * Makefile.am (bin_PROGRAMS): Move BUILD_INSTALL_MISC to..
72 (bin_SCRIPTS): ..here.
73 (EXTRA_SCRIPTS): Define.
74 (EXTRA_DIST): Add embedspu.sh.
75 (DISTCLEANFILES): Add embedspu.
76 (embedspu): Depend on Makefile. Replace sed "s" command with "c".
77 * Makefile.in: Regenerate.
78
79 2011-05-25 Jakub Jelinek <jakub@redhat.com>
80
81 * dwarf.c (loc_offsets): New variable.
82 (loc_offsets_compar): New routine.
83 (display_debug_loc): Handle loc_offsets not being in ascending order
84 and also a single .debug_loc entry being used multiple times.
85
86 2011-05-18 Nick Clifton <nickc@redhat.com>
87
88 PR binutils/12753
89 * nm.c (filter_symbols): Treat unique symbols as global symbols.
90 * doc/binutils.texi (nm): Mention that some lowercase letters
91 actually indicate global symbols.
92
93 2011-05-15 Tristan Gingold <gingold@adacore.com>
94
95 * od-xcoff.c: New file.
96 * objdump.h: New file.
97 * objdump.c: Include objdump.h
98 (dump_private_options, objdump_private_vectors): New variables.
99 (usage): Mention -P/--private. Display handled options.
100 (long_options): Add -P/--private.
101 (dump_target_specific): New function.
102 (dump_bfd): Handle dump_private_options.
103 (main): Handle -P.
104 * doc/binutils.texi (objdump): Document -P/--private.
105 * configure.in (OBJDUMP_PRIVATE_VECTORS, OBJDUMP_PRIVATE_OFILES):
106 New variables, compute them.
107 (od_vectors): Add vectors for private dumpers. Make them uniq.
108 (OBJDUMP_DEFS): Add OBJDUMP_PRIVATE_VECTORS.
109 * Makefile.am (HFILES): Add objdump.h
110 (CFILES): Add od-xcoff.c
111 (OBJDUMP_PRIVATE_OFILES): New variable.
112 (objdump_DEPENDENCIES): Append OBJDUMP_PRIVATE_OFILES.
113 (objdump_LDADD): Ditto.
114 (EXTRA_objdump_SOURCES): Define.
115 * Makefile.in: Regenerate.
116 * configure: Regenerate.
117
118 2011-05-10 Tristan Gingold <gingold@adacore.com>
119
120 * dwarf.c (process_extended_line_op): Dump unknown records.
121
122 2011-05-07 Alan Modra <amodra@gmail.com>
123
124 PR binutils/12632
125 * objcopy.c (copy_archive): Check bfd_openw result in unknown object
126 case. Rewrite without goto.
127
128 2011-05-03 Jakub Jelinek <jakub@redhat.com>
129
130 * dwarf.c (decode_location_expression): Handle DW_OP_GNU_const_type,
131 DW_OP_GNU_regval_type, DW_OP_GNU_deref_type, DW_OP_GNU_convert
132 and DW_OP_GNU_reinterpret.
133
134 * MAINTAINERS: Add myself as DWARF2 maintainer.
135
136 2011-05-02 Alan Modra <amodra@gmail.com>
137
138 PR binutils/12720
139 Revert the following change
140 Michael Snyder <msnyder@vmware.com>
141 * ar.c (move_members): Plug memory leak.
142 (delete_members): Plug memory leak.
143
144 2011-04-28 Tom Tromey <tromey@redhat.com>
145
146 * NEWS: Add note about --dwarf-depth, --dwarf-start, and
147 dwarf-mode.el.
148 * objdump.c (suppress_bfd_header): New global.
149 (usage): Update.
150 (OPTION_DWARF_DEPTH, OPTION_DWARF_START): New constants.
151 (options): Add dwarf-depth and dwarf-start entries.
152 (dump_bfd): Use suppress_bfd_header.
153 (main): Handle OPTION_DWARF_START, OPTION_DWARF_DEPTH.
154 * doc/binutils.texi (objcopy): Document --dwarf-depth and
155 --dwarf-start.
156 (readelf): Likewise.
157 * dwarf-mode.el: New file.
158 * dwarf.c (dwarf_cutoff_level, dwarf_start_die): New globals.
159 (read_and_display_attr_value): Also check debug_info_p.
160 (process_debug_info): Handle dwarf_start_die and
161 dwarf_cutoff_level.
162 * dwarf.h (dwarf_cutoff_level, dwarf_start_die): Declare.
163 * readelf.c (usage): Update.
164 (OPTION_DWARF_DEPTH): New macro.
165 (OPTION_DWARF_START): Likewise.
166 (options): Add dwarf-depth and dwarf-start entries.
167 (parse_args): Handle OPTION_DWARF_START and OPTION_DWARF_DEPTH.
168
169 2011-04-28 Jan Kratochvil <jan.kratochvil@redhat.com>
170
171 * dwarf.c (display_gdb_index): Support version 5, warn on version 4.
172
173 2011-04-27 Tristan Gingold <gingold@adacore.com>
174
175 * dwarf.c (process_extended_line_op): Handle
176 DW_LNE_HP_source_file_correlation.
177
178 2011-04-27 Nick Clifton <nickc@redhat.com>
179
180 * po/da.po: Updated Danish translation.
181
182 2011-04-21 Tom Tromey <tromey@redhat.com>
183
184 * readelf.c (print_stapsdt_note): New function.
185 (process_note): Use it.
186
187 2011-04-21 Tom Tromey <tromey@redhat.com>
188
189 * readelf.c (get_stapsdt_note_type): New function.
190 (process_note): Recognize "stapsdt" notes.
191
192 2011-04-21 Tom Tromey <tromey@redhat.com>
193
194 * readelf.c (process_corefile_note_segment): Change header field
195 widths.
196 (process_note): Change field widths.
197
198 2011-04-21 Tom Tromey <tromey@redhat.com>
199
200 * readelf.c (print_gnu_note): New function.
201 (process_note): Use it.
202
203 2011-04-21 Jie Zhang <jzhang918@gmail.com>
204
205 * MAINTAINERS: Update my email address.
206
207 2011-04-11 Kai Tietz <ktietz@redhat.com>
208
209 * windres.c (usage): Add new --preprocessor-arg option.
210 (option_values): Add new OPTION_PREPROCESSOR_ARG enumerator.
211 (option long_options): Add preprocessor-arg option.
212 (main): Handle it.
213 * doc/binutils.texi: Add documentation for --preprocessor-arg
214 option.
215 * NEWS: Add line about new --preprocessor-arg option for windres.
216
217 2011-04-08 John Marino <binutils@marino.st>
218
219 * arlex.l: Prevent redefinition of YY_NO_UNPUT.
220 * syslex.l: Likewise.
221
222 2011-04-07 Paul Brook <paul@codesourcery.com>
223
224 * readelf.c (arm_section_get_word): Handle C6000 relocations.
225 (decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode,
226 decode_tic6x_unwind_bytecode, expand_prel31): New functions.
227 (decode_arm_unwind): Split out common code from ARM specific bits.
228 (dump_arm_unwind): Use expand_prel31.
229 (arm_process_unwind): Handle SHT_C6000_UNWIND sections.
230 (process_unwind): Add SHT_C6000_UNWIND.
231
232 2011-04-06 Joseph Myers <joseph@codesourcery.com>
233
234 * configure.in (thumb-*-pe*): Remove.
235 * configure: Regenerate.
236
237 2011-04-05 Sterling Augustine <augustine.sterling@gmail.com>
238
239 * MAINTAINERS: Update my email address.
240
241 2011-04-03 H.J. Lu <hongjiu.lu@intel.com>
242
243 PR binutils/12632
244 * objcopy.c (copy_unknown_object): Make the archive element
245 readable.
246
247 2011-04-03 David S. Miller <davem@davemloft.net>
248
249 * objdump.c (dump_reloc_set): Output R_SPARC_OLO10 relocations
250 accurately, rather than how they are represented internally.
251
252 2011-03-31 Tristan Gingold <gingold@adacore.com>
253
254 * makefile.vms (readelf.exe): New target.
255
256 2011-03-31 Tristan Gingold <gingold@adacore.com>
257
258 * makefile.vms (DEBUG_OBJS): Add elfcomm.obj.
259
260 2011-03-31 Bernd Schmidt <bernds@codesourcery.com>
261
262 * readelf.c (get_symbol_index_type): Handle SCOM for TIC6X.
263 (dump_relocations): Likewise.
264
265 2011-03-31 Tristan Gingold <gingold@adacore.com>
266
267 * readelf.c (get_ia64_vms_note_type): New function.
268 (print_ia64_vms_note): Ditto.
269 (process_note): Recognize VMS/ia64 specific notes.
270 Display them.
271 (process_corefile_note_segment): Decode VMS notes.
272
273 2011-03-30 Catherine Moore <clm@codesourcery.com>
274
275 * addr2line.c (translate_addresses): Sign extend the pc
276 if sign_extend_vma is enabled.
277
278 2011-03-30 Michael Snyder <msnyder@msnyder-server.eng.vmware.com>
279
280 * readelf.c (process_gnu_liblist): Stop memory leak.
281
282 2011-03-29 Alan Modra <amodra@gmail.com>
283
284 * coffdump.c: Include bfd_stdint.h
285
286 2011-03-28 Pierre Muller <muller@ics.u-strasbg.fr>
287
288 * coffdump.c (coff_dump): Correct spelling error.
289 (show_usage): Replace SYSROFF by COFF.
290
291 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
292
293 * coffdump.c (dump_coff_scope): Use double typecast for pointer P
294 to allow compilation for all targets.
295
296 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
297
298 * dwarf.c (process_debug_info): Use offset_size to determine
299 the bit-size of the computation unit's offset.
300 (decode_location_expression): Use dwarf_vmatoa function to display
301 DW_OP_addr OP.
302 (process_debug_info): Use dwarf_vma type for local variables
303 length and type_offset.
304
305 2011-03-25 Michael Snyder <msnyder@vmware.com>
306
307 * strings.c (print_strings): Plug memory leak.
308 * ar.c (move_members): Plug memory leak.
309 (delete_members): Plug memory leak.
310 (write_archive): Plug memory leak.
311 * ieee.c (ieee_add_bb11): Plug memory leak.
312 (ieee_function_type): Likewise.
313 (ieee_class_baseclass): Likewise.
314 * prdbg.c (pr_function_type): Close memory leaks.
315 (pr_method_type): Likewise.
316 (tg_class_static_member): Likewise.
317 (tg_class_method_variant): Likewise.
318 (tg_class_static_method_variant): Likewise.
319 * stabs.c (parse_stab_enum_type): Fix memory leaks.
320 (parse_stab_struct_type): Likewise.
321 (parse_stab_struct_fields): Likewise.
322 (parse_stab_one_struct_field): Likewise.
323 (parse_stab_members): Likewise.
324 (stab_demangle_qualified): Likewise.
325 * objdump.c (dump_reloc_set): Free malloced memory.
326 * bucomm.c (make_tempname): Stop memory leak.
327
328 2011-03-25 Pierre Muller <muller@ics.u-strasbg.fr>
329
330 Replace bfd_vma type and analog types by dwarf_vma and analogs.
331 Use dwarf specific print functions to display these type values.
332 * dwarf.h (dwarf_signed_vma): New type;
333 (DWARF2_External_LineInfo): Replace bfd_vma by dwarf_vma.
334 (DWARF2_External_PubNames): Likewise.
335 (DWARF2_External_CompUnit): Likewise.
336 (DWARF2_External_ARange): Likewise.
337 (read_leb128): Change return type to dwarf_vma.
338 * dwarf.c (print_dwarf_vma): Use __MINGW32__ conditional and
339 check byte_size values.
340 (dwarf_vmatoa): Change parameter type to dwarf_vma.
341 (dwarf_svmatoa): New static function.
342 (read_leb128): Change return type to dwarf_vma.
343 (read_sleb128): New static function.
344 (struct State_Machine_Registers): Change address field type to
345 dwarf_vma.
346 (process_extended_line_op): Adapt to type changes.
347 (fetch_indirect_string): Likewise.
348 (idisplay_block): Likewise.
349 (decode_location_expression): Likewise.
350 (read_and_display_attr_value): Likewise.
351 (process_debug_info): Likewise.
352 (display_debug_lines_raw): Likewise.
353 (display_debug_lines_decoded): Likewise.
354 (SLEB macro): Use new read_sleb128 function.
355
356 2011-03-17 Alan Modra <amodra@gmail.com>
357
358 PR 12590
359 * ar.c (ranlib_main): Init arg_index properly.
360 (usage): Describe --target.
361
362 2011-03-16 Jakub Jelinek <jakub@redhat.com>
363
364 * dwarf.c (dw_TAG_name): Handle DW_TAG_GNU_call_site_parameter.
365 (read_and_display_attr_value): Handle DW_AT_GNU_call_site_data_value,
366 DW_AT_GNU_call_site_target and DW_AT_GNU_call_site_target_clobbered.
367 (get_AT_name): Handle DW_AT_GNU_call_site_value,
368 DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target,
369 DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call,
370 DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites and
371 DW_AT_GNU_all_source_call_sites.
372 (decode_location_expression) <case DW_OP_GNU_entry_value>: Adjust
373 handling.
374
375 2011-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
376
377 * dwarf.c (get_TAG_name): Handle DW_TAG_GNU_call_site.
378 (decode_location_expression): Handle DW_OP_GNU_entry_value.
379 (read_and_display_attr_value): Handle DW_AT_GNU_call_site_value.
380 (get_AT_name): Likewise.
381
382 2011-03-14 Michael Snyder <msnyder@vmware.com>
383
384 * objcopy.c (set_pe_subsystem): Free subsystem.
385
386 * wrstabs.c (stab_start_struct_type): Close memory leak.
387
388 * readelf.c (process_version_sections): Free symbols.
389
390 * nm.c (display_rel_file): Free symsizes.
391
392 2011-03-10 Nick Clifton <nickc@redhat.com>
393
394 * readelf.c (get_machine_name): Update EM_V850 entry.
395
396 2011-03-03 Mike Frysinger <vapier@gentoo.org>
397
398 * objdump.c (usage): Fix single typo.
399 * po/bg.po, po/binutils.pot, po/da.po, po/es.po, po/fi.po,
400 po/fr.po, po/id.po, po/ja.po, po/ru.po, po/vi.po: Likewise.
401
402 2011-03-01 Akos Pasztory <akos.pasztory@gmail.com>
403
404 PR binutils/12523
405 * readelf.c (process_object): Clear dynamic_info_DT_GNU_HASH.
406
407 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
408
409 * debug.c (debug_start_source): Use filename_(n)cmp.
410 * ieee.c (ieee_finish_compilation_unit): Likewise.
411 (ieee_lineno): Likewise.
412 * nlmconv.c (main): Likewise.
413 * objcopy.c (strip_main): Likewise.
414 (copy_main): Likewise.
415 * objdump.c (show_line): Likewise.
416 (dump_reloc_set): Likewise.
417 * srconv.c (main): Likewise.
418 * wrstabs.c (stab_lineno): Likewise.
419
420 2011-02-24 Zachary T Welch <zwelch@codesourcery.com>
421
422 * readelf.c (decode_arm_unwind): Implement decoding of remaining
423 ARM unwind instructions (i.e. VFP/NEON and Intel Wireless MMX).
424
425 2011-02-23 Kai Tietz <kai.tietz@onevision.com>
426
427 * dwarf.c (read_leb128): Use bfd_vma instead of
428 long type.
429 (dwarf_vmatoa): New helper routine.
430 (process_extended_line_op): Use for adr bfd_vma
431 type and print those typed values via BFD_VMA_FMT
432 or via dwarf_vmatoa for localized prints.
433 (fetch_indirect_string): Adjust offset's type.
434 (decode_location_expression): Adjust argument types
435 and uvalue type.
436 (read_and_display_attr_value): Likewise.
437 (read_and_display_attr): Likewise.
438 (decode_location_expression): Adjust printf format.
439 (process_debug_info): Likewise.
440 (display_debug_lines_raw): Likewise.
441 (display_debug_lines_decoded): Likewise.
442 (display_debug_pubnames): Likewise.
443 (display_debug_loc): Likewise.
444 (display_debug_aranges): Likewise.
445 * dwarf.h (DWARF2_External_LineInfo,
446 DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
447 DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
448 DWARF2_Internal_CompUnit, DWARF2_External_ARange,
449 DWARF2_Internal_ARange): Added..
450 (read_leb128): Adjust return type.
451
452 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
453
454 * configure: Regenerate.
455
456 2011-02-08 Nick Clifton <nickc@redhat.com>
457
458 PR binutils/12467
459 * readelf.c (process_program_headers): Issue a warning if there
460 are no program headers but the file header has a non-zero program
461 header offset.
462 (process_section_headers): Issue a warning if there are no section
463 headers but the file header has a non-zero section header offset.
464 (process_section_groups): Reword the no section message so that it
465 can be distinguished from the one issued by process_section_headers.
466
467 2011-01-26 Jan Kratochvil <jan.kratochvil@redhat.com>
468 Doug Evans <dje@google.com>
469
470 * dwarf.c (display_gdb_index): Support version 4, warn on version 3.
471
472 2011-01-19 Maciej W. Rozycki <macro@codesourcery.com>
473
474 * readelf.c (process_object): Free dynamic_section after use.
475
476 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
477
478 PR binutils/12408
479 * readelf.c (process_archive): Free and reset dump_sects
480 after processing each archive member.
481
482 2011-01-11 Andreas Schwab <schwab@redhat.com>
483
484 * readelf.c (print_symbol): Handle symbol characters as unsigned.
485 Whitespace fixes.
486
487 2011-01-10 Nick Clifton <nickc@redhat.com>
488
489 * po/da.po: Updated Danish translation.
490
491 2011-01-06 Vladimir Siminov <sv@sw.ru>
492
493 * bucomm.c (get_file_size): Check for negative sizes and issue a
494 warning message if encountered.
495
496 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
497
498 * version.c (print_version): Update copyright to 2011.
499
500 For older changes see ChangeLog-2010
501 \f
502 Local Variables:
503 mode: change-log
504 left-margin: 8
505 fill-column: 74
506 version-control: never
507 End:
This page took 0.045036 seconds and 4 git commands to generate.