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