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