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