1 2012-10-29 Alan Modra <amodra@gmail.com>
3 * dlltool.c (INIT_SEC_DATA): Move.
4 (secdata <DLLTOOL_PPC>): Use here too.
6 2012-10-26 Nick Clifton <nickc@redhat.com>
8 * po/hr.po: New Croation translation.
9 * configure.in (ALL_LINGUAS): Add hr.
10 * configure: Regenerate.
12 2012-10-23 Cary Coutant <ccoutant@google.com>
14 * dwarf.c (do_debug_addr, do_debug_cu_index): New global flags.
15 (load_debug_info): Fix typo.
16 (cu_tu_indexes_read, shndx_pool, shndx_pool_size, shndx_pool_used):
18 (prealloc_cu_tu_list, add_shndx_to_cu_tu_entry, end_cu_tu_entry)
19 (process_cu_tu_index, load_cu_tu_indexes, find_cu_tu_set)
20 (display_cu_index): New functions.
21 (dwarf_select_sections_by_names): Add "debug_addr", "cu_index".
22 Sort entries alphabetically.
23 (dwarf_select_sections_all): Set do_debug_addr, do_debug_cu_index.
24 (debug_displays): Add .debug_cu_index, .debug_tu_index.
26 * dwarf.h (dwarf_section_display_enum): Add dwp_cu_index,
28 (do_debug_addr, do_debug_cu_index): New global flags.
29 (find_cu_tu_set): New function declaration.
30 * objdump.c (usage): Add --dwarf=addr, --dwarf=cu_index.
31 * readelf.c (find_section_in_set): New function.
32 (usage): Add --debug-dump=addr, --debug_dump=cu_index.
33 (process_section_headers): Check do_debug_addr and do_debug_cu_index.
34 (section_subset): New global variable.
35 (load_debug_section): Restrict search to section subset.
36 (display_debug_section): Add section index as paramter. Select subset
37 of sections when dumping a .dwp file. Update caller.
39 2012-10-23 Tom Tromey <tromey@redhat.com>
41 * readelf.c (get_note_type): Handle NT_SIGINFO, NT_FILE.
42 (print_core_note): New function.
43 (process_note): Call it.
45 2012-10-21 H.J. Lu <hongjiu.lu@intel.com>
47 * objdump.c (dump_dwarf): Handle bfd_mach_x64_32 and
48 bfd_mach_x64_32_intel_syntax.
50 2012-10-21 Alan Modra <amodra@gmail.com>
52 * objdump.c (load_specific_debug_section): Use
53 bfd_cache_section_contents.
55 2012-10-18 Kai Tietz <ktietz@redhat.com>
57 * objdump.c (dump_bfd): Call dump headers after
60 * objcopy.c (is_strip_section_1): Don't strip
61 .reloc section by default.
63 2012-10-11 Doug Evans <dje@google.com>
65 * dwarf.c (display_gdb_index): Include static/global information
68 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
70 * configure: Regenerate.
72 2012-09-10 Matthias Klose <doko@ubuntu.com>
74 * config.in: Disable sanity check for kfreebsd.
76 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
78 * configure: Regenerated.
80 2012-09-06 Cary Coutant <ccoutant@google.com>
82 * dwarf.c (decode_location_expression): Add
83 DW_OP_GNU_const_index.
85 2012-09-06 Nick Clifton <nickc@redhat.com>
87 * doc/binutils.texi (nm): Alpha-sort the option descriptions.
88 Add description of the --synthetic option.
90 2012-09-04 H.J. Lu <hongjiu.lu@intel.com>
93 * readelf.c (get_symbol_index_type): Check bad section index.
95 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
97 * readelf.c (arm_attr_tag_CPU_arch): Update for ARMv8.
98 (arm_attr_tag_FP_arch): Likewise.
99 (arm_attr_tag_Advanced_SIMD_arch): Likewise.
101 2012-08-17 Yuri Chornoivan <yurchor@ukr.net>
103 * doc/binutils.texi, * objdump.c, * od-xcoff.c: Typo fixes.
105 2012-08-16 H.J. Lu <hongjiu.lu@intel.com>
108 * Makefile.am (BFDTEST1_PROG): New.
109 (TEST_PROGS): Likewise.
110 (bfdtest1_DEPENDENCIES): Likewise.
111 (noinst_PROGRAMS): Add $(TEST_PROGS).
112 * Makefile.in: Regenerated.
114 * bfdtest1.c: New file.
116 2012-08-13 Ian Bolton <ian.bolton@arm.com>
117 Laurent Desnogues <laurent.desnogues@arm.com>
118 Jim MacArthur <jim.macarthur@arm.com>
119 Marcus Shawcroft <marcus.shawcroft@arm.com>
120 Nigel Stephens <nigel.stephens@arm.com>
121 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
122 Richard Earnshaw <rearnsha@arm.com>
123 Sofiane Naci <sofiane.naci@arm.com>
124 Tejas Belagod <tejas.belagod@arm.com>
125 Yufeng Zhang <yufeng.zhang@arm.com>
127 * readelf.c (guess_is_rela): Handle EM_AARCH64.
128 (get_machine_name): Likewise.
129 (get_aarch64_segment_type): New function.
130 (get_segment_type): Handle EM_AARCH64 by calling the new function.
131 (get_aarch64_section_type_name): New function.
132 (get_section_type_name): Handle EM_AARCH64 by calling the new function.
133 (is_32bit_abs_reloc): Handle EM_AARCH64.
134 (is_32bit_pcrel_reloc): Likewise.
135 (is_64bit_abs_reloc): Likewise.
136 (is_64bit_pcrel_reloc): Likewise.
137 (is_none_reloc): Likewise.
139 2012-08-09 Nick Clifton <nickc@redhat.com>
141 * po/vi.po: Updated Vietnamese translation.
143 2012-08-03 Tom Tromey <tromey@redhat.com>
145 * dlltool.c (scan_obj_file): Close arfile after calling
146 bfd_openr_next_archived_file.
148 2012-08-02 H.J. Lu <hongjiu.lu@intel.com>
151 * dwarf.c (process_abbrev_section): Add attribute terminator.
152 Warn missing section terminator.
153 (get_FORM_name): Special check for 0 value.
154 (get_AT_name): Likewise.
155 (process_debug_info): Display zero abbrev number. Check
156 attribute terminator.
158 2012-07-30 Nick Clifton <nickc@redhat.com>
160 * po/binutils.pot: Updated template.
161 * po/bg.po: Updated Bulgarian translation.
162 * po/es.po: Updated Spanish translation.
163 * po/fi.po: Updated Finnish translation.
164 * po/fr.po: Updated French translation.
165 * po/uk.po: Updated Ukranian translation.
167 2012-07-28 Kai Tietz <ktietz@redhat.com>
169 * rcparse.y (FILEVERSION): Use optcnumexpr instead of cnumexpr.
170 (PRODUCTVERSION): Likewise.
172 2012-07-27 Mike Frysinger <vapier@gentoo.org>
174 * configure.in (BFD_VERSION): Run bfd/configure --version and
175 parse the output of that.
176 * configure: Regenerate.
178 2012-07-27 Tristan Gingold <gingold@adacore.com>
180 * NEWS: Add marker for 2.23.
182 2012-07-24 Teresa Johnson <tejohnson@google.com>
184 * addr2line.c (find_address_in_section): Invoke
185 bfd_find_nearest_line_discriminator to get the discriminator.
186 (find_offset_in_section): Likewise.
187 (translate_addresses): Print discriminator if it is non-zero.
188 * objdump.c (show_line): Invoke
189 bfd_find_nearest_line_discriminator to get the discriminator,
190 and keep track of prev_discriminator. Print discriminator
192 (disassemble_data): Initialize prev_discriminator.
193 (dump_reloc_set): Invoke bfd_find_nearest_line_discriminator
194 to get the discriminator, and keep track of last_discriminator.
195 Print discriminator if it is non-zero.
197 2012-07-17 Nick Clifton <nickc@redhat.com>
199 * elfcomm.c (setup_archive): Extract index table and symbol table
200 scanning code into...
201 (process_archive_index_and_symbols): ... this function and add
202 support for 64-bit index tables.
203 * elfcomm.h (struct archive_info): Change type of index_num and
204 index_array to elf_vma.
205 Add 'uses_64bit_indicies' field.
206 * readelf.c (process_archive): Fix support for 64-bit indicies.
208 2012-07-03 Nick Clifton <nickc@redhat.com>
210 * readelf.c (process_archive): Display member indicies when
213 2012-07-02 Tom Tromey <tromey@redhat.com>
215 * dwarf.c: Include gdb-index.h.
216 (display_gdb_index): Handle version 7.
218 2012-06-29 H.J. Lu <hongjiu.lu@intel.com>
220 * nm.c (filter_symbols): Simplify global symbol handling.
222 2012-06-29 Francois Gouget <fgouget@codeweavers.com>
225 * bucomm.c (print_arelt_descr): Correctly report the archive size
227 * ar.c (print_contents): Use correct types for archive element
229 (extract_file): Likewise (for 'ar x').
231 2012-06-29 Alan Modra <amodra@gmail.com>
233 * readelf.c (is_16bit_abs_reloc): Handle mn10200 reloc.
235 2012-06-12 Tom Tromey <tromey@redhat.com>
237 * dwarf-mode.el: Add final comment. Bump version.
238 (dwarf-insert-substructure-button): Use string-to-number.
239 (dwarf-browse): Fix autoload cookie.
241 2012-06-08 Jakub Jelinek <jakub@redhat.com>
243 * dwarf.c (read_and_display_attr_value): Handle
244 DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt.
245 (display_debug_macro): Handle DW_MACRO_GNU_define_indirect_alt,
246 DW_MACRO_GNU_undef_indirect_alt and
247 DW_MACRO_GNU_transparent_include_alt.
249 2012-06-01 Alan Modra <amodra@gmail.com>
251 * addr2line.c (translate_addresses): Truncate input addresses to
252 arch_size bits. Avoid undefined shift. Print '?' for zero line.
254 2012-05-30 Nick Clifton <nickc@redhat.com>
256 * readelf.c (process_section_headers): Correct bug in previous
257 delta - display full section type in wide mode.
259 2012-05-28 Nick Clifton <nickc@redhat.com>
261 * readelf.c (print_symbol): Display multibyte characters in symbol
263 (process_section_headers): Use print_symbol.
265 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
267 * aclocal.m4: Regenerate.
268 * configure: Regenerate.
269 * config.in: Regenerate.
270 * Makefile.in: Regenerate.
272 2012-05-17 Daniel Richard G. <skunk@iskunk.org>
273 Nick Clifton <nickc@redhat.com>
276 * configure.in: Add check that sysdep.h has been included before
277 any system header files.
278 * configure: Regenerate.
279 * config.in: Regenerate.
280 * unwind-ia64.h: Include config.h.
282 2012-05-17 Alan Modra <amodra@gmail.com>
284 * dwarf.c (process_debug_info): Display abbrev offset in hex.
285 (display_debug_abbrev): Show offset of abbrev.
287 2012-05-17 Alan Modra <amodra@gmail.com>
289 * dwarf.c (display_debug_ranges): Don't report more than one use
290 of the same range set as an overlap.
292 2012-05-16 Daniel Richard G. <skunk@iskunk.org>
295 * Makefile.am (CFILES): Add syslex_wrap.c.
296 (sysinfo): Depend upon syslex_wrap.o.
297 (syslex_wrap.o): New rule.
298 (syslex.o): Delete rule.
299 * syslex_wrap.c: New file.
300 * Makefile.in: Regenerate.
302 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
304 * readelf.c (get_machine_name): Update m68hc12 entry.
306 2012-05-13 H.J. Lu <hongjiu.lu@intel.com>
308 * objdump.c (disassemble_bytes): Print addend as signed.
309 (dump_reloc_set): Likewise.
311 2012-05-04 Sterling Augustine <saugustine@google.com>
312 Cary Coutant <ccoutant@google.com>
314 * doc/binutils.texi: Add --dwarf-check option.
315 * dwarf.c (dwarf_check): New global flag.
316 (fetch_indexed_string): New function.
317 (fetch_indexed_value): New function.
318 (get_FORM_name): Add DW_FORM_GNU_str_index and DW_FORM_GNU_addr_index.
319 (decode_location_expression): Add DW_OP_GNU_addr_index.
320 (read_and_display_attr_value): Add DW_FORM_GNU_str_index,
321 DW_FORM_GNU_addr_index, DW_AT_GNU_addr_base, and DW_AT_GNU_ranges_base.
322 (get_AT_name): Add new attributes for Fission.
323 (process_debug_info): Load new debug sections for Fission.
324 (load_debug_info): Check for .debug_info.dwo section.
325 (display_loc_list, display_loc_list_dwo): New functions.
326 (display_debug_loc): Move logic to above two functions.
327 (display_debug_info): Choose abbrev section based on info section.
328 (display_debug_types): Likewise.
329 (display_trace_info): Likewise.
330 (comp_addr_base): New function.
331 (display_debug_addr): New function.
332 (display_debug_str_offsets): New function.
333 (display_debug_ranges): Allow missing range lists. Suppress
334 diagnostics if dwarf_check not set.
335 (debug_displays): Add column to select abbrev section.
336 * dwarf.h (enum dwarf_section_display_enum): Add new debug sections
338 (struct dwarf_section): Add abbrev_sec field.
339 (struct dwarf_section_display): New type.
340 (debug_info): Add addr_base, ranges_base fields.
341 (dwarf_check): New global variable.
342 * objdump.c (usage): Add --dwarf-check option.
343 (enum option_values): Add OPTION_DWARF_CHECK.
344 (long_options): Add --dwarf-check.
346 * readelf.c (OPTION_DWARF_CHECK): New macro.
347 (options): Add --dwarf-check.
348 (parse_args): Likewise.
349 (process_section_headers): Use const_strneq instead of
352 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
355 * readelf.c (dump_relocations): Always display addend as
358 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
361 * configure.in: Invoke ACX_HEADER_STRING.
362 * configure: Regenerate.
363 * config.in: Regenerate.
364 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
365 string.h and strings.h.
367 2012-05-10 Jakub Jelinek <jakub@redhat.com>
369 * dwarf.c (read_and_display_attr_value): Don't look up tag from
370 abbrev for DW_FORM_ref_addr.
372 2012-05-08 Sean Keys <skeys@ipdatasys.com>
374 * binutils/MAINTAINERS: Added my entry to the maintainers secion.
376 2012-05-08 Cary Coutant <ccoutant@google.com>
378 * doc/binutils.texi (objcopy): Add --strip-dwo, --extract-dwo options.
379 (strip): Add --strip-dwo option.
380 * objcopy.c (enum strip_action): Add STRIP_DWO, STRIP_NONDWO.
381 (enum command_line_switch): Add OPTION_EXTRACT_DWO, OPTION_STRIP_DWO.
382 (strip_options): Add --strip-dwo option.
383 (copy_options): Add --extract-dwo, --strip-dwo options.
384 (copy_usage): Likewise.
385 (strip_usage): Add --strip-dwo option.
386 (is_dwo_section): New function.
387 (is_strip_section_1): Check for DWO sections.
388 (copy_object): Check for --strip-dwo, --extract-dwo options.
389 (copy_relocations_in_section): Discard relocations for DWO sections.
390 Discard entire relocation section when no relocations.
391 (strip_main): Add --strip-dwo option.
392 (copy_main): Add --strip-dwo, --extract-dwo options.
394 2012-05-08 Alan Modra <amodra@gmail.com>
396 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
397 LC and LANG environment vars.
398 * Makefile.in: Regenerate.
400 2012-05-07 Tom Tromey <tromey@redhat.com>
402 * dwarf.c (get_TAG_name): Use get_DW_TAG_name.
403 (get_FORM_name): Use get_DW_FORM_name.
404 (get_AT_name): Use get_DW_AT_name.
406 2012-05-07 Alan Modra <amodra@gmail.com>
408 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
409 * Makefile.in: Regenerate.
411 2012-05-05 Alan Modra <amodra@gmail.com>
413 * dlltool.c (make_one_lib_file): Use bfd_und_section_ptr.
415 2012-05-03 Sean Keys <skeys@ipdatasys.com>
417 * readelf.c: Add support for XGATE.
419 2012-05-02 Nick Clifton <nickc@redhat.com>
421 * po/vi.po: Updated Vietnamese translation.
422 * po/it.po: New Italian translation.
423 * configure.in (ALL_LINGUAS): Add it.
424 * configure: Regenerate.
426 2012-05-01 Nick Clifton <nickc@redhat.com>
429 * rescoff.c: Rename 'finfo' to 'flaginfo' to avoid conflicts with
432 2012-04-25 Cary Coutant <ccoutant@google.com>
434 * doc/binutils.texi: Add -D/--enable-deterministic-archives option
435 to strip and objcopy.
436 * objcopy.c (deterministic): New global variable.
437 (strip_options): Add --enable-deterministic-archives.
438 (copy_options): Likewise.
439 (copy_usage): Likewise.
440 (strip_usage): Likewise.
441 (copy_archive): When stripping all, don't add archive map; set
442 deterministic output when requested.
443 (strip_main): Add -D/--enable-deterministic-archives option.
444 (copy_main): Likewise.
446 2012-04-12 H.J. Lu <hongjiu.lu@intel.com>
449 * objcopy.c (copy_object): Call copy_relocations_in_section
452 (copy_relocations_in_section): Likewise.
453 (copy_section): Use skip_section. Don't copy relocations here.
455 2012-04-11 Ryan Mansfield <rmansfield@qnx.com>
457 * objdump.c (dump_bfd): If defaulting to dwarf call
458 dwarf_select_sections_all to enable displays.
460 2012-04-06 Roland McGrath <mcgrathr@google.com>
462 * configure.in (AC_CHECK_HEADERS): Add locale.h.
463 * config.in: Regenerate.
464 * configure: Regenerate.
466 2012-04-05 Nick Clifton <nickc@redhat.com>
468 * configure.in (AC_CHECK_FUNCS): Add setlocale.
469 (AM_LC_MESSAGES): Add.
470 * aclocal.m4: Regenerate.
471 * config.in: Regenerate.
472 * configure: Regenerate.
474 2012-03-30 Nick Clifton <nickc@redhat.com>
477 * stabs.c (stab_demangle_v3_arglist): Cope with the demangler
478 returning an empty context for a function with no arguments.
480 2012-03-28 Tom Tromey <tromey@redhat.com>
482 * dwarf.c (display_gdb_index): Handle index version 6.
484 2012-03-07 Nick Clifton <nickc@redhat.com>
486 * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
488 2012-02-29 Jeff Law <law@redhat.com>
490 * doc/binutils.texi (c++filt): Fix typos.
492 2012-02-24 Kai Tietz <ktietz@redhat.com>
495 * defparse.y (keyword_as_name): Disable LIBRARY
497 * doc/binutils.texi: Document LIBRARY exception.
499 2012-02-21 Kai Tietz<ktietz@redhat.com>
502 * NEWS: Mention new feature.
503 * dlltool.c (i386_x64_dljtab): New stub-code for x64
504 delayed-load feature.
505 (i386_x64_trampoline): New trampoline-code for x64
506 delayed-load feature.
507 (make_one_lib_file): Add support for x64 delayed-load
509 (make_delay_head): Likewis
511 2012-02-20 Namhyung Kim <namhyung.kim@lge.com>
513 * objdump.c (slurp_file): Close file if fstat fails.
515 2012-02-14 Cary Coutant <ccoutant@google.com>
517 * dwarf.c (dwarf_vmatoa64): New function.
518 (read_and_display_attr_value): Print 8-byte forms as single hex
520 (process_debug_info): Print type signatures as single hex numbers.
521 * elfcomm.c (byte_get_64): New function.
522 * elfcomm.h (byte_get_64): New function.
524 2012-02-11 Kai Tietz <ktietz@redhat.com>
527 * defparse.y (%union): New type id_const.
528 (opt_name2): New rule.
529 (keyword_as_name): New rule.
530 (opt_name): Adjust rule.
531 (opt_import_name): Likewise.
532 (opt_equal_name): Likewise.
534 2012-02-11 Kai Tietz <ktietz@redhat.com>
537 * resrc.c (write_rc_dialog_control): Omit text dump for
538 EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
540 2012-02-09 Alan Modra <amodra@gmail.com>
542 * sysdep.h: Include sys/stat.h here.
543 * ar.c: Don't include headers already included by sysdep.h.
544 * bucomm.c: Likewise.
546 * dlltool.h: Likewise.
547 * elfedit.c: Likewise.
548 * nlmconv.c: Likewise.
549 * objcopy.c: Likewise.
550 * objdump.c: Likewise.
551 * objdump.h: Likewise.
552 * readelf.c: Likewise.
553 * rename.c: Likewise.
555 * strings.c: Likewise.
556 * windres.c: Likewise.
557 * od-macho.c: Ensure #include sysdep.h is first.
558 * od-xcoff.c: Likewise.
559 * dllwrap.c: Remove alloca pragma handled by sysdep.h, and
560 remove duplicate headers.
561 * dlltool.c: Likewise and ensure #include sysdep.h is first.
563 2012-02-01 Nick Clifton <nickc@redhat.com>
566 * ar.c (ranlib_main): Process --plugin option.
567 * doc/binutils.texi: Document --plugin support for ranlib.
569 2012-02-01 Nick Clifton <nickc@redhat.com>
572 * readelf.c (process_corefile_note_segment): Fix off-by-one errors
573 verifying the contents of a note.
575 2012-01-26 Nick Clifton <nickc@redhat.com>
578 * readelf.c (process_section_groups): If there are no section
579 headers do not scan for section groups.
580 (process_note_sections): Likewise for note sections.
582 2012-01-20 Tristan Gingold <gingold@adacore.com>
584 * od-macho.c (OPT_SEG_SPLIT_INFO): New macro.
585 (options): Add an entry for seg_split_info.
586 (mach_o_help): Document it.
587 (dump_segment_split_info): New function.
588 (dump_load_command): Handle seg_split_info.
590 2012-01-19 Tristan Gingold <gingold@adacore.com>
592 * dwarf.c (process_extended_line_op): Add a cast to silent a
595 2012-01-19 Tristan Gingold <gingold@adacore.com>
597 * dwarf.c (process_extended_line_op): Reindent define_file output.
598 Detect define_file opcode length mismatch.
599 (display_debug_lines_decoded): Add an entry in file_table for each
601 Ignore DW_LNE_set_discriminator and DW_LNE_HP_set_sequence.
602 Display extended opcode for unhandle opcode.
604 2012-01-17 Alan Modra <amodra@gmail.com>
606 * version.c (print_version): Update copyright message year.
608 2012-01-16 Alan Modra <amodra@gmail.com>
611 * nm.c (OPTION_SIZE_SORT): Define.
612 (long_options): Don't set no_sort, sort_numerically or
613 sort_by_size directly.
614 (main): Instead set the flags here, making them mutually exclusive.
616 2012-01-10 Tristan Gingold <gingold@adacore.com>
618 * objdump.c (display_object_bfd): Renamed from ...
619 (display_bfd): ... this.
620 (display_any_bfd): New function.
621 (display_file): Split. Handle nested archives.
623 2012-01-09 Roland McGrath <mcgrathr@google.com>
625 * configure.in: Use AM_ZLIB.
626 * configure: Regenerated.
628 2012-01-06 Nick Clifton <nickc@redhat.com>
630 * po/ru.po: Updated Russian translation.
632 2012-01-04 Tristan Gingold <gingold@adacore.com>
634 * od-macho.c (dump_load_command): Handle fvmlib.
636 2012-01-04 Tristan Gingold <gingold@adacore.com>
638 * od-macho.c: Update copyright year.
639 (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
641 For older changes see ChangeLog-2011
647 version-control: never