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