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