1 2012-10-26 Nick Clifton <nickc@redhat.com>
3 * po/hr.po: New Croation translation.
4 * configure.in (ALL_LINGUAS): Add hr.
5 * configure: Regenerate.
7 2012-10-23 Cary Coutant <ccoutant@google.com>
9 * dwarf.c (do_debug_addr, do_debug_cu_index): New global flags.
10 (load_debug_info): Fix typo.
11 (cu_tu_indexes_read, shndx_pool, shndx_pool_size, shndx_pool_used):
13 (prealloc_cu_tu_list, add_shndx_to_cu_tu_entry, end_cu_tu_entry)
14 (process_cu_tu_index, load_cu_tu_indexes, find_cu_tu_set)
15 (display_cu_index): New functions.
16 (dwarf_select_sections_by_names): Add "debug_addr", "cu_index".
17 Sort entries alphabetically.
18 (dwarf_select_sections_all): Set do_debug_addr, do_debug_cu_index.
19 (debug_displays): Add .debug_cu_index, .debug_tu_index.
21 * dwarf.h (dwarf_section_display_enum): Add dwp_cu_index,
23 (do_debug_addr, do_debug_cu_index): New global flags.
24 (find_cu_tu_set): New function declaration.
25 * objdump.c (usage): Add --dwarf=addr, --dwarf=cu_index.
26 * readelf.c (find_section_in_set): New function.
27 (usage): Add --debug-dump=addr, --debug_dump=cu_index.
28 (process_section_headers): Check do_debug_addr and do_debug_cu_index.
29 (section_subset): New global variable.
30 (load_debug_section): Restrict search to section subset.
31 (display_debug_section): Add section index as paramter. Select subset
32 of sections when dumping a .dwp file. Update caller.
34 2012-10-23 Tom Tromey <tromey@redhat.com>
36 * readelf.c (get_note_type): Handle NT_SIGINFO, NT_FILE.
37 (print_core_note): New function.
38 (process_note): Call it.
40 2012-10-21 H.J. Lu <hongjiu.lu@intel.com>
42 * objdump.c (dump_dwarf): Handle bfd_mach_x64_32 and
43 bfd_mach_x64_32_intel_syntax.
45 2012-10-21 Alan Modra <amodra@gmail.com>
47 * objdump.c (load_specific_debug_section): Use
48 bfd_cache_section_contents.
50 2012-10-18 Kai Tietz <ktietz@redhat.com>
52 * objdump.c (dump_bfd): Call dump headers after
55 * objcopy.c (is_strip_section_1): Don't strip
56 .reloc section by default.
58 2012-10-11 Doug Evans <dje@google.com>
60 * dwarf.c (display_gdb_index): Include static/global information
63 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
65 * configure: Regenerate.
67 2012-09-10 Matthias Klose <doko@ubuntu.com>
69 * config.in: Disable sanity check for kfreebsd.
71 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
73 * configure: Regenerated.
75 2012-09-06 Cary Coutant <ccoutant@google.com>
77 * dwarf.c (decode_location_expression): Add
78 DW_OP_GNU_const_index.
80 2012-09-06 Nick Clifton <nickc@redhat.com>
82 * doc/binutils.texi (nm): Alpha-sort the option descriptions.
83 Add description of the --synthetic option.
85 2012-09-04 H.J. Lu <hongjiu.lu@intel.com>
88 * readelf.c (get_symbol_index_type): Check bad section index.
90 2012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
92 * readelf.c (arm_attr_tag_CPU_arch): Update for ARMv8.
93 (arm_attr_tag_FP_arch): Likewise.
94 (arm_attr_tag_Advanced_SIMD_arch): Likewise.
96 2012-08-17 Yuri Chornoivan <yurchor@ukr.net>
98 * doc/binutils.texi, * objdump.c, * od-xcoff.c: Typo fixes.
100 2012-08-16 H.J. Lu <hongjiu.lu@intel.com>
103 * Makefile.am (BFDTEST1_PROG): New.
104 (TEST_PROGS): Likewise.
105 (bfdtest1_DEPENDENCIES): Likewise.
106 (noinst_PROGRAMS): Add $(TEST_PROGS).
107 * Makefile.in: Regenerated.
109 * bfdtest1.c: New file.
111 2012-08-13 Ian Bolton <ian.bolton@arm.com>
112 Laurent Desnogues <laurent.desnogues@arm.com>
113 Jim MacArthur <jim.macarthur@arm.com>
114 Marcus Shawcroft <marcus.shawcroft@arm.com>
115 Nigel Stephens <nigel.stephens@arm.com>
116 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
117 Richard Earnshaw <rearnsha@arm.com>
118 Sofiane Naci <sofiane.naci@arm.com>
119 Tejas Belagod <tejas.belagod@arm.com>
120 Yufeng Zhang <yufeng.zhang@arm.com>
122 * readelf.c (guess_is_rela): Handle EM_AARCH64.
123 (get_machine_name): Likewise.
124 (get_aarch64_segment_type): New function.
125 (get_segment_type): Handle EM_AARCH64 by calling the new function.
126 (get_aarch64_section_type_name): New function.
127 (get_section_type_name): Handle EM_AARCH64 by calling the new function.
128 (is_32bit_abs_reloc): Handle EM_AARCH64.
129 (is_32bit_pcrel_reloc): Likewise.
130 (is_64bit_abs_reloc): Likewise.
131 (is_64bit_pcrel_reloc): Likewise.
132 (is_none_reloc): Likewise.
134 2012-08-09 Nick Clifton <nickc@redhat.com>
136 * po/vi.po: Updated Vietnamese translation.
138 2012-08-03 Tom Tromey <tromey@redhat.com>
140 * dlltool.c (scan_obj_file): Close arfile after calling
141 bfd_openr_next_archived_file.
143 2012-08-02 H.J. Lu <hongjiu.lu@intel.com>
146 * dwarf.c (process_abbrev_section): Add attribute terminator.
147 Warn missing section terminator.
148 (get_FORM_name): Special check for 0 value.
149 (get_AT_name): Likewise.
150 (process_debug_info): Display zero abbrev number. Check
151 attribute terminator.
153 2012-07-30 Nick Clifton <nickc@redhat.com>
155 * po/binutils.pot: Updated template.
156 * po/bg.po: Updated Bulgarian translation.
157 * po/es.po: Updated Spanish translation.
158 * po/fi.po: Updated Finnish translation.
159 * po/fr.po: Updated French translation.
160 * po/uk.po: Updated Ukranian translation.
162 2012-07-28 Kai Tietz <ktietz@redhat.com>
164 * rcparse.y (FILEVERSION): Use optcnumexpr instead of cnumexpr.
165 (PRODUCTVERSION): Likewise.
167 2012-07-27 Mike Frysinger <vapier@gentoo.org>
169 * configure.in (BFD_VERSION): Run bfd/configure --version and
170 parse the output of that.
171 * configure: Regenerate.
173 2012-07-27 Tristan Gingold <gingold@adacore.com>
175 * NEWS: Add marker for 2.23.
177 2012-07-24 Teresa Johnson <tejohnson@google.com>
179 * addr2line.c (find_address_in_section): Invoke
180 bfd_find_nearest_line_discriminator to get the discriminator.
181 (find_offset_in_section): Likewise.
182 (translate_addresses): Print discriminator if it is non-zero.
183 * objdump.c (show_line): Invoke
184 bfd_find_nearest_line_discriminator to get the discriminator,
185 and keep track of prev_discriminator. Print discriminator
187 (disassemble_data): Initialize prev_discriminator.
188 (dump_reloc_set): Invoke bfd_find_nearest_line_discriminator
189 to get the discriminator, and keep track of last_discriminator.
190 Print discriminator if it is non-zero.
192 2012-07-17 Nick Clifton <nickc@redhat.com>
194 * elfcomm.c (setup_archive): Extract index table and symbol table
195 scanning code into...
196 (process_archive_index_and_symbols): ... this function and add
197 support for 64-bit index tables.
198 * elfcomm.h (struct archive_info): Change type of index_num and
199 index_array to elf_vma.
200 Add 'uses_64bit_indicies' field.
201 * readelf.c (process_archive): Fix support for 64-bit indicies.
203 2012-07-03 Nick Clifton <nickc@redhat.com>
205 * readelf.c (process_archive): Display member indicies when
208 2012-07-02 Tom Tromey <tromey@redhat.com>
210 * dwarf.c: Include gdb-index.h.
211 (display_gdb_index): Handle version 7.
213 2012-06-29 H.J. Lu <hongjiu.lu@intel.com>
215 * nm.c (filter_symbols): Simplify global symbol handling.
217 2012-06-29 Francois Gouget <fgouget@codeweavers.com>
220 * bucomm.c (print_arelt_descr): Correctly report the archive size
222 * ar.c (print_contents): Use correct types for archive element
224 (extract_file): Likewise (for 'ar x').
226 2012-06-29 Alan Modra <amodra@gmail.com>
228 * readelf.c (is_16bit_abs_reloc): Handle mn10200 reloc.
230 2012-06-12 Tom Tromey <tromey@redhat.com>
232 * dwarf-mode.el: Add final comment. Bump version.
233 (dwarf-insert-substructure-button): Use string-to-number.
234 (dwarf-browse): Fix autoload cookie.
236 2012-06-08 Jakub Jelinek <jakub@redhat.com>
238 * dwarf.c (read_and_display_attr_value): Handle
239 DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt.
240 (display_debug_macro): Handle DW_MACRO_GNU_define_indirect_alt,
241 DW_MACRO_GNU_undef_indirect_alt and
242 DW_MACRO_GNU_transparent_include_alt.
244 2012-06-01 Alan Modra <amodra@gmail.com>
246 * addr2line.c (translate_addresses): Truncate input addresses to
247 arch_size bits. Avoid undefined shift. Print '?' for zero line.
249 2012-05-30 Nick Clifton <nickc@redhat.com>
251 * readelf.c (process_section_headers): Correct bug in previous
252 delta - display full section type in wide mode.
254 2012-05-28 Nick Clifton <nickc@redhat.com>
256 * readelf.c (print_symbol): Display multibyte characters in symbol
258 (process_section_headers): Use print_symbol.
260 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
262 * aclocal.m4: Regenerate.
263 * configure: Regenerate.
264 * config.in: Regenerate.
265 * Makefile.in: Regenerate.
267 2012-05-17 Daniel Richard G. <skunk@iskunk.org>
268 Nick Clifton <nickc@redhat.com>
271 * configure.in: Add check that sysdep.h has been included before
272 any system header files.
273 * configure: Regenerate.
274 * config.in: Regenerate.
275 * unwind-ia64.h: Include config.h.
277 2012-05-17 Alan Modra <amodra@gmail.com>
279 * dwarf.c (process_debug_info): Display abbrev offset in hex.
280 (display_debug_abbrev): Show offset of abbrev.
282 2012-05-17 Alan Modra <amodra@gmail.com>
284 * dwarf.c (display_debug_ranges): Don't report more than one use
285 of the same range set as an overlap.
287 2012-05-16 Daniel Richard G. <skunk@iskunk.org>
290 * Makefile.am (CFILES): Add syslex_wrap.c.
291 (sysinfo): Depend upon syslex_wrap.o.
292 (syslex_wrap.o): New rule.
293 (syslex.o): Delete rule.
294 * syslex_wrap.c: New file.
295 * Makefile.in: Regenerate.
297 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
299 * readelf.c (get_machine_name): Update m68hc12 entry.
301 2012-05-13 H.J. Lu <hongjiu.lu@intel.com>
303 * objdump.c (disassemble_bytes): Print addend as signed.
304 (dump_reloc_set): Likewise.
306 2012-05-04 Sterling Augustine <saugustine@google.com>
307 Cary Coutant <ccoutant@google.com>
309 * doc/binutils.texi: Add --dwarf-check option.
310 * dwarf.c (dwarf_check): New global flag.
311 (fetch_indexed_string): New function.
312 (fetch_indexed_value): New function.
313 (get_FORM_name): Add DW_FORM_GNU_str_index and DW_FORM_GNU_addr_index.
314 (decode_location_expression): Add DW_OP_GNU_addr_index.
315 (read_and_display_attr_value): Add DW_FORM_GNU_str_index,
316 DW_FORM_GNU_addr_index, DW_AT_GNU_addr_base, and DW_AT_GNU_ranges_base.
317 (get_AT_name): Add new attributes for Fission.
318 (process_debug_info): Load new debug sections for Fission.
319 (load_debug_info): Check for .debug_info.dwo section.
320 (display_loc_list, display_loc_list_dwo): New functions.
321 (display_debug_loc): Move logic to above two functions.
322 (display_debug_info): Choose abbrev section based on info section.
323 (display_debug_types): Likewise.
324 (display_trace_info): Likewise.
325 (comp_addr_base): New function.
326 (display_debug_addr): New function.
327 (display_debug_str_offsets): New function.
328 (display_debug_ranges): Allow missing range lists. Suppress
329 diagnostics if dwarf_check not set.
330 (debug_displays): Add column to select abbrev section.
331 * dwarf.h (enum dwarf_section_display_enum): Add new debug sections
333 (struct dwarf_section): Add abbrev_sec field.
334 (struct dwarf_section_display): New type.
335 (debug_info): Add addr_base, ranges_base fields.
336 (dwarf_check): New global variable.
337 * objdump.c (usage): Add --dwarf-check option.
338 (enum option_values): Add OPTION_DWARF_CHECK.
339 (long_options): Add --dwarf-check.
341 * readelf.c (OPTION_DWARF_CHECK): New macro.
342 (options): Add --dwarf-check.
343 (parse_args): Likewise.
344 (process_section_headers): Use const_strneq instead of
347 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
350 * readelf.c (dump_relocations): Always display addend as
353 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
356 * configure.in: Invoke ACX_HEADER_STRING.
357 * configure: Regenerate.
358 * config.in: Regenerate.
359 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
360 string.h and strings.h.
362 2012-05-10 Jakub Jelinek <jakub@redhat.com>
364 * dwarf.c (read_and_display_attr_value): Don't look up tag from
365 abbrev for DW_FORM_ref_addr.
367 2012-05-08 Sean Keys <skeys@ipdatasys.com>
369 * binutils/MAINTAINERS: Added my entry to the maintainers secion.
371 2012-05-08 Cary Coutant <ccoutant@google.com>
373 * doc/binutils.texi (objcopy): Add --strip-dwo, --extract-dwo options.
374 (strip): Add --strip-dwo option.
375 * objcopy.c (enum strip_action): Add STRIP_DWO, STRIP_NONDWO.
376 (enum command_line_switch): Add OPTION_EXTRACT_DWO, OPTION_STRIP_DWO.
377 (strip_options): Add --strip-dwo option.
378 (copy_options): Add --extract-dwo, --strip-dwo options.
379 (copy_usage): Likewise.
380 (strip_usage): Add --strip-dwo option.
381 (is_dwo_section): New function.
382 (is_strip_section_1): Check for DWO sections.
383 (copy_object): Check for --strip-dwo, --extract-dwo options.
384 (copy_relocations_in_section): Discard relocations for DWO sections.
385 Discard entire relocation section when no relocations.
386 (strip_main): Add --strip-dwo option.
387 (copy_main): Add --strip-dwo, --extract-dwo options.
389 2012-05-08 Alan Modra <amodra@gmail.com>
391 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
392 LC and LANG environment vars.
393 * Makefile.in: Regenerate.
395 2012-05-07 Tom Tromey <tromey@redhat.com>
397 * dwarf.c (get_TAG_name): Use get_DW_TAG_name.
398 (get_FORM_name): Use get_DW_FORM_name.
399 (get_AT_name): Use get_DW_AT_name.
401 2012-05-07 Alan Modra <amodra@gmail.com>
403 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
404 * Makefile.in: Regenerate.
406 2012-05-05 Alan Modra <amodra@gmail.com>
408 * dlltool.c (make_one_lib_file): Use bfd_und_section_ptr.
410 2012-05-03 Sean Keys <skeys@ipdatasys.com>
412 * readelf.c: Add support for XGATE.
414 2012-05-02 Nick Clifton <nickc@redhat.com>
416 * po/vi.po: Updated Vietnamese translation.
417 * po/it.po: New Italian translation.
418 * configure.in (ALL_LINGUAS): Add it.
419 * configure: Regenerate.
421 2012-05-01 Nick Clifton <nickc@redhat.com>
424 * rescoff.c: Rename 'finfo' to 'flaginfo' to avoid conflicts with
427 2012-04-25 Cary Coutant <ccoutant@google.com>
429 * doc/binutils.texi: Add -D/--enable-deterministic-archives option
430 to strip and objcopy.
431 * objcopy.c (deterministic): New global variable.
432 (strip_options): Add --enable-deterministic-archives.
433 (copy_options): Likewise.
434 (copy_usage): Likewise.
435 (strip_usage): Likewise.
436 (copy_archive): When stripping all, don't add archive map; set
437 deterministic output when requested.
438 (strip_main): Add -D/--enable-deterministic-archives option.
439 (copy_main): Likewise.
441 2012-04-12 H.J. Lu <hongjiu.lu@intel.com>
444 * objcopy.c (copy_object): Call copy_relocations_in_section
447 (copy_relocations_in_section): Likewise.
448 (copy_section): Use skip_section. Don't copy relocations here.
450 2012-04-11 Ryan Mansfield <rmansfield@qnx.com>
452 * objdump.c (dump_bfd): If defaulting to dwarf call
453 dwarf_select_sections_all to enable displays.
455 2012-04-06 Roland McGrath <mcgrathr@google.com>
457 * configure.in (AC_CHECK_HEADERS): Add locale.h.
458 * config.in: Regenerate.
459 * configure: Regenerate.
461 2012-04-05 Nick Clifton <nickc@redhat.com>
463 * configure.in (AC_CHECK_FUNCS): Add setlocale.
464 (AM_LC_MESSAGES): Add.
465 * aclocal.m4: Regenerate.
466 * config.in: Regenerate.
467 * configure: Regenerate.
469 2012-03-30 Nick Clifton <nickc@redhat.com>
472 * stabs.c (stab_demangle_v3_arglist): Cope with the demangler
473 returning an empty context for a function with no arguments.
475 2012-03-28 Tom Tromey <tromey@redhat.com>
477 * dwarf.c (display_gdb_index): Handle index version 6.
479 2012-03-07 Nick Clifton <nickc@redhat.com>
481 * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
483 2012-02-29 Jeff Law <law@redhat.com>
485 * doc/binutils.texi (c++filt): Fix typos.
487 2012-02-24 Kai Tietz <ktietz@redhat.com>
490 * defparse.y (keyword_as_name): Disable LIBRARY
492 * doc/binutils.texi: Document LIBRARY exception.
494 2012-02-21 Kai Tietz<ktietz@redhat.com>
497 * NEWS: Mention new feature.
498 * dlltool.c (i386_x64_dljtab): New stub-code for x64
499 delayed-load feature.
500 (i386_x64_trampoline): New trampoline-code for x64
501 delayed-load feature.
502 (make_one_lib_file): Add support for x64 delayed-load
504 (make_delay_head): Likewis
506 2012-02-20 Namhyung Kim <namhyung.kim@lge.com>
508 * objdump.c (slurp_file): Close file if fstat fails.
510 2012-02-14 Cary Coutant <ccoutant@google.com>
512 * dwarf.c (dwarf_vmatoa64): New function.
513 (read_and_display_attr_value): Print 8-byte forms as single hex
515 (process_debug_info): Print type signatures as single hex numbers.
516 * elfcomm.c (byte_get_64): New function.
517 * elfcomm.h (byte_get_64): New function.
519 2012-02-11 Kai Tietz <ktietz@redhat.com>
522 * defparse.y (%union): New type id_const.
523 (opt_name2): New rule.
524 (keyword_as_name): New rule.
525 (opt_name): Adjust rule.
526 (opt_import_name): Likewise.
527 (opt_equal_name): Likewise.
529 2012-02-11 Kai Tietz <ktietz@redhat.com>
532 * resrc.c (write_rc_dialog_control): Omit text dump for
533 EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
535 2012-02-09 Alan Modra <amodra@gmail.com>
537 * sysdep.h: Include sys/stat.h here.
538 * ar.c: Don't include headers already included by sysdep.h.
539 * bucomm.c: Likewise.
541 * dlltool.h: Likewise.
542 * elfedit.c: Likewise.
543 * nlmconv.c: Likewise.
544 * objcopy.c: Likewise.
545 * objdump.c: Likewise.
546 * objdump.h: Likewise.
547 * readelf.c: Likewise.
548 * rename.c: Likewise.
550 * strings.c: Likewise.
551 * windres.c: Likewise.
552 * od-macho.c: Ensure #include sysdep.h is first.
553 * od-xcoff.c: Likewise.
554 * dllwrap.c: Remove alloca pragma handled by sysdep.h, and
555 remove duplicate headers.
556 * dlltool.c: Likewise and ensure #include sysdep.h is first.
558 2012-02-01 Nick Clifton <nickc@redhat.com>
561 * ar.c (ranlib_main): Process --plugin option.
562 * doc/binutils.texi: Document --plugin support for ranlib.
564 2012-02-01 Nick Clifton <nickc@redhat.com>
567 * readelf.c (process_corefile_note_segment): Fix off-by-one errors
568 verifying the contents of a note.
570 2012-01-26 Nick Clifton <nickc@redhat.com>
573 * readelf.c (process_section_groups): If there are no section
574 headers do not scan for section groups.
575 (process_note_sections): Likewise for note sections.
577 2012-01-20 Tristan Gingold <gingold@adacore.com>
579 * od-macho.c (OPT_SEG_SPLIT_INFO): New macro.
580 (options): Add an entry for seg_split_info.
581 (mach_o_help): Document it.
582 (dump_segment_split_info): New function.
583 (dump_load_command): Handle seg_split_info.
585 2012-01-19 Tristan Gingold <gingold@adacore.com>
587 * dwarf.c (process_extended_line_op): Add a cast to silent a
590 2012-01-19 Tristan Gingold <gingold@adacore.com>
592 * dwarf.c (process_extended_line_op): Reindent define_file output.
593 Detect define_file opcode length mismatch.
594 (display_debug_lines_decoded): Add an entry in file_table for each
596 Ignore DW_LNE_set_discriminator and DW_LNE_HP_set_sequence.
597 Display extended opcode for unhandle opcode.
599 2012-01-17 Alan Modra <amodra@gmail.com>
601 * version.c (print_version): Update copyright message year.
603 2012-01-16 Alan Modra <amodra@gmail.com>
606 * nm.c (OPTION_SIZE_SORT): Define.
607 (long_options): Don't set no_sort, sort_numerically or
608 sort_by_size directly.
609 (main): Instead set the flags here, making them mutually exclusive.
611 2012-01-10 Tristan Gingold <gingold@adacore.com>
613 * objdump.c (display_object_bfd): Renamed from ...
614 (display_bfd): ... this.
615 (display_any_bfd): New function.
616 (display_file): Split. Handle nested archives.
618 2012-01-09 Roland McGrath <mcgrathr@google.com>
620 * configure.in: Use AM_ZLIB.
621 * configure: Regenerated.
623 2012-01-06 Nick Clifton <nickc@redhat.com>
625 * po/ru.po: Updated Russian translation.
627 2012-01-04 Tristan Gingold <gingold@adacore.com>
629 * od-macho.c (dump_load_command): Handle fvmlib.
631 2012-01-04 Tristan Gingold <gingold@adacore.com>
633 * od-macho.c: Update copyright year.
634 (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
636 For older changes see ChangeLog-2011
642 version-control: never