]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - binutils/ChangeLog
* dwarf.c (display_gdb_index): Include static/global information
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
1 2012-10-11 Doug Evans <dje@google.com>
2
3 * dwarf.c (display_gdb_index): Include static/global information
4 of each symbol.
5
6 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
7
8 * configure: Regenerate.
9
10 2012-09-10 Matthias Klose <doko@ubuntu.com>
11
12 * config.in: Disable sanity check for kfreebsd.
13
14 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15
16 * configure: Regenerated.
17
18 2012-09-06 Cary Coutant <ccoutant@google.com>
19
20 * dwarf.c (decode_location_expression): Add
21 DW_OP_GNU_const_index.
22
23 2012-09-06 Nick Clifton <nickc@redhat.com>
24
25 * doc/binutils.texi (nm): Alpha-sort the option descriptions.
26 Add description of the --synthetic option.
27
28 2012-09-04 H.J. Lu <hongjiu.lu@intel.com>
29
30 PR binutils/14493
31 * readelf.c (get_symbol_index_type): Check bad section index.
32
33 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
34
35 * readelf.c (arm_attr_tag_CPU_arch): Update for ARMv8.
36 (arm_attr_tag_FP_arch): Likewise.
37 (arm_attr_tag_Advanced_SIMD_arch): Likewise.
38
39 2012-08-17 Yuri Chornoivan <yurchor@ukr.net>
40
41 * doc/binutils.texi, * objdump.c, * od-xcoff.c: Typo fixes.
42
43 2012-08-16 H.J. Lu <hongjiu.lu@intel.com>
44
45 PR binutils/14481
46 * Makefile.am (BFDTEST1_PROG): New.
47 (TEST_PROGS): Likewise.
48 (bfdtest1_DEPENDENCIES): Likewise.
49 (noinst_PROGRAMS): Add $(TEST_PROGS).
50 * Makefile.in: Regenerated.
51
52 * bfdtest1.c: New file.
53
54 2012-08-13 Ian Bolton <ian.bolton@arm.com>
55 Laurent Desnogues <laurent.desnogues@arm.com>
56 Jim MacArthur <jim.macarthur@arm.com>
57 Marcus Shawcroft <marcus.shawcroft@arm.com>
58 Nigel Stephens <nigel.stephens@arm.com>
59 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
60 Richard Earnshaw <rearnsha@arm.com>
61 Sofiane Naci <sofiane.naci@arm.com>
62 Tejas Belagod <tejas.belagod@arm.com>
63 Yufeng Zhang <yufeng.zhang@arm.com>
64
65 * readelf.c (guess_is_rela): Handle EM_AARCH64.
66 (get_machine_name): Likewise.
67 (get_aarch64_segment_type): New function.
68 (get_segment_type): Handle EM_AARCH64 by calling the new function.
69 (get_aarch64_section_type_name): New function.
70 (get_section_type_name): Handle EM_AARCH64 by calling the new function.
71 (is_32bit_abs_reloc): Handle EM_AARCH64.
72 (is_32bit_pcrel_reloc): Likewise.
73 (is_64bit_abs_reloc): Likewise.
74 (is_64bit_pcrel_reloc): Likewise.
75 (is_none_reloc): Likewise.
76
77 2012-08-09 Nick Clifton <nickc@redhat.com>
78
79 * po/vi.po: Updated Vietnamese translation.
80
81 2012-08-03 Tom Tromey <tromey@redhat.com>
82
83 * dlltool.c (scan_obj_file): Close arfile after calling
84 bfd_openr_next_archived_file.
85
86 2012-08-02 H.J. Lu <hongjiu.lu@intel.com>
87
88 PR binutils/14420
89 * dwarf.c (process_abbrev_section): Add attribute terminator.
90 Warn missing section terminator.
91 (get_FORM_name): Special check for 0 value.
92 (get_AT_name): Likewise.
93 (process_debug_info): Display zero abbrev number. Check
94 attribute terminator.
95
96 2012-07-30 Nick Clifton <nickc@redhat.com>
97
98 * po/binutils.pot: Updated template.
99 * po/bg.po: Updated Bulgarian translation.
100 * po/es.po: Updated Spanish translation.
101 * po/fi.po: Updated Finnish translation.
102 * po/fr.po: Updated French translation.
103 * po/uk.po: Updated Ukranian translation.
104
105 2012-07-28 Kai Tietz <ktietz@redhat.com>
106
107 * rcparse.y (FILEVERSION): Use optcnumexpr instead of cnumexpr.
108 (PRODUCTVERSION): Likewise.
109
110 2012-07-27 Mike Frysinger <vapier@gentoo.org>
111
112 * configure.in (BFD_VERSION): Run bfd/configure --version and
113 parse the output of that.
114 * configure: Regenerate.
115
116 2012-07-27 Tristan Gingold <gingold@adacore.com>
117
118 * NEWS: Add marker for 2.23.
119
120 2012-07-24 Teresa Johnson <tejohnson@google.com>
121
122 * addr2line.c (find_address_in_section): Invoke
123 bfd_find_nearest_line_discriminator to get the discriminator.
124 (find_offset_in_section): Likewise.
125 (translate_addresses): Print discriminator if it is non-zero.
126 * objdump.c (show_line): Invoke
127 bfd_find_nearest_line_discriminator to get the discriminator,
128 and keep track of prev_discriminator. Print discriminator
129 if it is non-zero.
130 (disassemble_data): Initialize prev_discriminator.
131 (dump_reloc_set): Invoke bfd_find_nearest_line_discriminator
132 to get the discriminator, and keep track of last_discriminator.
133 Print discriminator if it is non-zero.
134
135 2012-07-17 Nick Clifton <nickc@redhat.com>
136
137 * elfcomm.c (setup_archive): Extract index table and symbol table
138 scanning code into...
139 (process_archive_index_and_symbols): ... this function and add
140 support for 64-bit index tables.
141 * elfcomm.h (struct archive_info): Change type of index_num and
142 index_array to elf_vma.
143 Add 'uses_64bit_indicies' field.
144 * readelf.c (process_archive): Fix support for 64-bit indicies.
145
146 2012-07-03 Nick Clifton <nickc@redhat.com>
147
148 * readelf.c (process_archive): Display member indicies when
149 dumping index.
150
151 2012-07-02 Tom Tromey <tromey@redhat.com>
152
153 * dwarf.c: Include gdb-index.h.
154 (display_gdb_index): Handle version 7.
155
156 2012-06-29 H.J. Lu <hongjiu.lu@intel.com>
157
158 * nm.c (filter_symbols): Simplify global symbol handling.
159
160 2012-06-29 Francois Gouget <fgouget@codeweavers.com>
161
162 PR binutils/14302
163 * bucomm.c (print_arelt_descr): Correctly report the archive size
164 field (for 'ar tv').
165 * ar.c (print_contents): Use correct types for archive element
166 sizes (for 'ar p').
167 (extract_file): Likewise (for 'ar x').
168
169 2012-06-29 Alan Modra <amodra@gmail.com>
170
171 * readelf.c (is_16bit_abs_reloc): Handle mn10200 reloc.
172
173 2012-06-12 Tom Tromey <tromey@redhat.com>
174
175 * dwarf-mode.el: Add final comment. Bump version.
176 (dwarf-insert-substructure-button): Use string-to-number.
177 (dwarf-browse): Fix autoload cookie.
178
179 2012-06-08 Jakub Jelinek <jakub@redhat.com>
180
181 * dwarf.c (read_and_display_attr_value): Handle
182 DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt.
183 (display_debug_macro): Handle DW_MACRO_GNU_define_indirect_alt,
184 DW_MACRO_GNU_undef_indirect_alt and
185 DW_MACRO_GNU_transparent_include_alt.
186
187 2012-06-01 Alan Modra <amodra@gmail.com>
188
189 * addr2line.c (translate_addresses): Truncate input addresses to
190 arch_size bits. Avoid undefined shift. Print '?' for zero line.
191
192 2012-05-30 Nick Clifton <nickc@redhat.com>
193
194 * readelf.c (process_section_headers): Correct bug in previous
195 delta - display full section type in wide mode.
196
197 2012-05-28 Nick Clifton <nickc@redhat.com>
198
199 * readelf.c (print_symbol): Display multibyte characters in symbol
200 names.
201 (process_section_headers): Use print_symbol.
202
203 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
204
205 * aclocal.m4: Regenerate.
206 * configure: Regenerate.
207 * config.in: Regenerate.
208 * Makefile.in: Regenerate.
209
210 2012-05-17 Daniel Richard G. <skunk@iskunk.org>
211 Nick Clifton <nickc@redhat.com>
212
213 PR 14072
214 * configure.in: Add check that sysdep.h has been included before
215 any system header files.
216 * configure: Regenerate.
217 * config.in: Regenerate.
218 * unwind-ia64.h: Include config.h.
219
220 2012-05-17 Alan Modra <amodra@gmail.com>
221
222 * dwarf.c (process_debug_info): Display abbrev offset in hex.
223 (display_debug_abbrev): Show offset of abbrev.
224
225 2012-05-17 Alan Modra <amodra@gmail.com>
226
227 * dwarf.c (display_debug_ranges): Don't report more than one use
228 of the same range set as an overlap.
229
230 2012-05-16 Daniel Richard G. <skunk@iskunk.org>
231
232 PR binutils/13558
233 * Makefile.am (CFILES): Add syslex_wrap.c.
234 (sysinfo): Depend upon syslex_wrap.o.
235 (syslex_wrap.o): New rule.
236 (syslex.o): Delete rule.
237 * syslex_wrap.c: New file.
238 * Makefile.in: Regenerate.
239
240 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
241
242 * readelf.c (get_machine_name): Update m68hc12 entry.
243
244 2012-05-13 H.J. Lu <hongjiu.lu@intel.com>
245
246 * objdump.c (disassemble_bytes): Print addend as signed.
247 (dump_reloc_set): Likewise.
248
249 2012-05-04 Sterling Augustine <saugustine@google.com>
250 Cary Coutant <ccoutant@google.com>
251
252 * doc/binutils.texi: Add --dwarf-check option.
253 * dwarf.c (dwarf_check): New global flag.
254 (fetch_indexed_string): New function.
255 (fetch_indexed_value): New function.
256 (get_FORM_name): Add DW_FORM_GNU_str_index and DW_FORM_GNU_addr_index.
257 (decode_location_expression): Add DW_OP_GNU_addr_index.
258 (read_and_display_attr_value): Add DW_FORM_GNU_str_index,
259 DW_FORM_GNU_addr_index, DW_AT_GNU_addr_base, and DW_AT_GNU_ranges_base.
260 (get_AT_name): Add new attributes for Fission.
261 (process_debug_info): Load new debug sections for Fission.
262 (load_debug_info): Check for .debug_info.dwo section.
263 (display_loc_list, display_loc_list_dwo): New functions.
264 (display_debug_loc): Move logic to above two functions.
265 (display_debug_info): Choose abbrev section based on info section.
266 (display_debug_types): Likewise.
267 (display_trace_info): Likewise.
268 (comp_addr_base): New function.
269 (display_debug_addr): New function.
270 (display_debug_str_offsets): New function.
271 (display_debug_ranges): Allow missing range lists. Suppress
272 diagnostics if dwarf_check not set.
273 (debug_displays): Add column to select abbrev section.
274 * dwarf.h (enum dwarf_section_display_enum): Add new debug sections
275 for Fission.
276 (struct dwarf_section): Add abbrev_sec field.
277 (struct dwarf_section_display): New type.
278 (debug_info): Add addr_base, ranges_base fields.
279 (dwarf_check): New global variable.
280 * objdump.c (usage): Add --dwarf-check option.
281 (enum option_values): Add OPTION_DWARF_CHECK.
282 (long_options): Add --dwarf-check.
283 (main): Likewise.
284 * readelf.c (OPTION_DWARF_CHECK): New macro.
285 (options): Add --dwarf-check.
286 (parse_args): Likewise.
287 (process_section_headers): Use const_strneq instead of
288 streq.
289
290 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
291
292 PR binutils/14088
293 * readelf.c (dump_relocations): Always display addend as
294 signed hex number.
295
296 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
297
298 PR binutils/14028
299 * configure.in: Invoke ACX_HEADER_STRING.
300 * configure: Regenerate.
301 * config.in: Regenerate.
302 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
303 string.h and strings.h.
304
305 2012-05-10 Jakub Jelinek <jakub@redhat.com>
306
307 * dwarf.c (read_and_display_attr_value): Don't look up tag from
308 abbrev for DW_FORM_ref_addr.
309
310 2012-05-08 Sean Keys <skeys@ipdatasys.com>
311
312 * binutils/MAINTAINERS: Added my entry to the maintainers secion.
313
314 2012-05-08 Cary Coutant <ccoutant@google.com>
315
316 * doc/binutils.texi (objcopy): Add --strip-dwo, --extract-dwo options.
317 (strip): Add --strip-dwo option.
318 * objcopy.c (enum strip_action): Add STRIP_DWO, STRIP_NONDWO.
319 (enum command_line_switch): Add OPTION_EXTRACT_DWO, OPTION_STRIP_DWO.
320 (strip_options): Add --strip-dwo option.
321 (copy_options): Add --extract-dwo, --strip-dwo options.
322 (copy_usage): Likewise.
323 (strip_usage): Add --strip-dwo option.
324 (is_dwo_section): New function.
325 (is_strip_section_1): Check for DWO sections.
326 (copy_object): Check for --strip-dwo, --extract-dwo options.
327 (copy_relocations_in_section): Discard relocations for DWO sections.
328 Discard entire relocation section when no relocations.
329 (strip_main): Add --strip-dwo option.
330 (copy_main): Add --strip-dwo, --extract-dwo options.
331
332 2012-05-08 Alan Modra <amodra@gmail.com>
333
334 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
335 LC and LANG environment vars.
336 * Makefile.in: Regenerate.
337
338 2012-05-07 Tom Tromey <tromey@redhat.com>
339
340 * dwarf.c (get_TAG_name): Use get_DW_TAG_name.
341 (get_FORM_name): Use get_DW_FORM_name.
342 (get_AT_name): Use get_DW_AT_name.
343
344 2012-05-07 Alan Modra <amodra@gmail.com>
345
346 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
347 * Makefile.in: Regenerate.
348
349 2012-05-05 Alan Modra <amodra@gmail.com>
350
351 * dlltool.c (make_one_lib_file): Use bfd_und_section_ptr.
352
353 2012-05-03 Sean Keys <skeys@ipdatasys.com>
354
355 * readelf.c: Add support for XGATE.
356
357 2012-05-02 Nick Clifton <nickc@redhat.com>
358
359 * po/vi.po: Updated Vietnamese translation.
360 * po/it.po: New Italian translation.
361 * configure.in (ALL_LINGUAS): Add it.
362 * configure: Regenerate.
363
364 2012-05-01 Nick Clifton <nickc@redhat.com>
365
366 PR binutils/13121
367 * rescoff.c: Rename 'finfo' to 'flaginfo' to avoid conflicts with
368 AIX system headers.
369
370 2012-04-25 Cary Coutant <ccoutant@google.com>
371
372 * doc/binutils.texi: Add -D/--enable-deterministic-archives option
373 to strip and objcopy.
374 * objcopy.c (deterministic): New global variable.
375 (strip_options): Add --enable-deterministic-archives.
376 (copy_options): Likewise.
377 (copy_usage): Likewise.
378 (strip_usage): Likewise.
379 (copy_archive): When stripping all, don't add archive map; set
380 deterministic output when requested.
381 (strip_main): Add -D/--enable-deterministic-archives option.
382 (copy_main): Likewise.
383
384 2012-04-12 H.J. Lu <hongjiu.lu@intel.com>
385
386 PR binutils/13947
387 * objcopy.c (copy_object): Call copy_relocations_in_section
388 before copy_section.
389 (skip_section): New.
390 (copy_relocations_in_section): Likewise.
391 (copy_section): Use skip_section. Don't copy relocations here.
392
393 2012-04-11 Ryan Mansfield <rmansfield@qnx.com>
394
395 * objdump.c (dump_bfd): If defaulting to dwarf call
396 dwarf_select_sections_all to enable displays.
397
398 2012-04-06 Roland McGrath <mcgrathr@google.com>
399
400 * configure.in (AC_CHECK_HEADERS): Add locale.h.
401 * config.in: Regenerate.
402 * configure: Regenerate.
403
404 2012-04-05 Nick Clifton <nickc@redhat.com>
405
406 * configure.in (AC_CHECK_FUNCS): Add setlocale.
407 (AM_LC_MESSAGES): Add.
408 * aclocal.m4: Regenerate.
409 * config.in: Regenerate.
410 * configure: Regenerate.
411
412 2012-03-30 Nick Clifton <nickc@redhat.com>
413
414 PR binutils/13925
415 * stabs.c (stab_demangle_v3_arglist): Cope with the demangler
416 returning an empty context for a function with no arguments.
417
418 2012-03-28 Tom Tromey <tromey@redhat.com>
419
420 * dwarf.c (display_gdb_index): Handle index version 6.
421
422 2012-03-07 Nick Clifton <nickc@redhat.com>
423
424 * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
425
426 2012-02-29 Jeff Law <law@redhat.com>
427
428 * doc/binutils.texi (c++filt): Fix typos.
429
430 2012-02-24 Kai Tietz <ktietz@redhat.com>
431
432 PR binutils/13710
433 * defparse.y (keyword_as_name): Disable LIBRARY
434 keyword.
435 * doc/binutils.texi: Document LIBRARY exception.
436
437 2012-02-21 Kai Tietz<ktietz@redhat.com>
438
439 PR binutils/13682
440 * NEWS: Mention new feature.
441 * dlltool.c (i386_x64_dljtab): New stub-code for x64
442 delayed-load feature.
443 (i386_x64_trampoline): New trampoline-code for x64
444 delayed-load feature.
445 (make_one_lib_file): Add support for x64 delayed-load
446 feature.
447 (make_delay_head): Likewis
448
449 2012-02-20 Namhyung Kim <namhyung.kim@lge.com>
450
451 * objdump.c (slurp_file): Close file if fstat fails.
452
453 2012-02-14 Cary Coutant <ccoutant@google.com>
454
455 * dwarf.c (dwarf_vmatoa64): New function.
456 (read_and_display_attr_value): Print 8-byte forms as single hex
457 numbers.
458 (process_debug_info): Print type signatures as single hex numbers.
459 * elfcomm.c (byte_get_64): New function.
460 * elfcomm.h (byte_get_64): New function.
461
462 2012-02-11 Kai Tietz <ktietz@redhat.com>
463
464 PR binutils/13657
465 * defparse.y (%union): New type id_const.
466 (opt_name2): New rule.
467 (keyword_as_name): New rule.
468 (opt_name): Adjust rule.
469 (opt_import_name): Likewise.
470 (opt_equal_name): Likewise.
471
472 2012-02-11 Kai Tietz <ktietz@redhat.com>
473
474 PR binutils/13297
475 * resrc.c (write_rc_dialog_control): Omit text dump for
476 EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
477
478 2012-02-09 Alan Modra <amodra@gmail.com>
479
480 * sysdep.h: Include sys/stat.h here.
481 * ar.c: Don't include headers already included by sysdep.h.
482 * bucomm.c: Likewise.
483 * budbg.h: Likewise.
484 * dlltool.h: Likewise.
485 * elfedit.c: Likewise.
486 * nlmconv.c: Likewise.
487 * objcopy.c: Likewise.
488 * objdump.c: Likewise.
489 * objdump.h: Likewise.
490 * readelf.c: Likewise.
491 * rename.c: Likewise.
492 * resrc.c: Likewise.
493 * strings.c: Likewise.
494 * windres.c: Likewise.
495 * od-macho.c: Ensure #include sysdep.h is first.
496 * od-xcoff.c: Likewise.
497 * dllwrap.c: Remove alloca pragma handled by sysdep.h, and
498 remove duplicate headers.
499 * dlltool.c: Likewise and ensure #include sysdep.h is first.
500
501 2012-02-01 Nick Clifton <nickc@redhat.com>
502
503 PR binutils/13493
504 * ar.c (ranlib_main): Process --plugin option.
505 * doc/binutils.texi: Document --plugin support for ranlib.
506
507 2012-02-01 Nick Clifton <nickc@redhat.com>
508
509 PR binutils/13482
510 * readelf.c (process_corefile_note_segment): Fix off-by-one errors
511 verifying the contents of a note.
512
513 2012-01-26 Nick Clifton <nickc@redhat.com>
514
515 PR binutils/13622
516 * readelf.c (process_section_groups): If there are no section
517 headers do not scan for section groups.
518 (process_note_sections): Likewise for note sections.
519
520 2012-01-20 Tristan Gingold <gingold@adacore.com>
521
522 * od-macho.c (OPT_SEG_SPLIT_INFO): New macro.
523 (options): Add an entry for seg_split_info.
524 (mach_o_help): Document it.
525 (dump_segment_split_info): New function.
526 (dump_load_command): Handle seg_split_info.
527
528 2012-01-19 Tristan Gingold <gingold@adacore.com>
529
530 * dwarf.c (process_extended_line_op): Add a cast to silent a
531 warning.
532
533 2012-01-19 Tristan Gingold <gingold@adacore.com>
534
535 * dwarf.c (process_extended_line_op): Reindent define_file output.
536 Detect define_file opcode length mismatch.
537 (display_debug_lines_decoded): Add an entry in file_table for each
538 define_file opcode.
539 Ignore DW_LNE_set_discriminator and DW_LNE_HP_set_sequence.
540 Display extended opcode for unhandle opcode.
541
542 2012-01-17 Alan Modra <amodra@gmail.com>
543
544 * version.c (print_version): Update copyright message year.
545
546 2012-01-16 Alan Modra <amodra@gmail.com>
547
548 PR binutils/13593
549 * nm.c (OPTION_SIZE_SORT): Define.
550 (long_options): Don't set no_sort, sort_numerically or
551 sort_by_size directly.
552 (main): Instead set the flags here, making them mutually exclusive.
553
554 2012-01-10 Tristan Gingold <gingold@adacore.com>
555
556 * objdump.c (display_object_bfd): Renamed from ...
557 (display_bfd): ... this.
558 (display_any_bfd): New function.
559 (display_file): Split. Handle nested archives.
560
561 2012-01-09 Roland McGrath <mcgrathr@google.com>
562
563 * configure.in: Use AM_ZLIB.
564 * configure: Regenerated.
565
566 2012-01-06 Nick Clifton <nickc@redhat.com>
567
568 * po/ru.po: Updated Russian translation.
569
570 2012-01-04 Tristan Gingold <gingold@adacore.com>
571
572 * od-macho.c (dump_load_command): Handle fvmlib.
573
574 2012-01-04 Tristan Gingold <gingold@adacore.com>
575
576 * od-macho.c: Update copyright year.
577 (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
578
579 For older changes see ChangeLog-2011
580 \f
581 Local Variables:
582 mode: change-log
583 left-margin: 8
584 fill-column: 74
585 version-control: never
586 End: