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