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