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