3 * dwarf.c: Include gdb-index.h.
4 (display_gdb_index): Handle version 7.
8 * nm.c (filter_symbols): Simplify global symbol handling.
13 * bucomm.c (print_arelt_descr): Correctly report the archive size
15 * ar.c (print_contents): Use correct types for archive element
17 (extract_file): Likewise (for 'ar x').
21 * readelf.c (is_16bit_abs_reloc): Handle mn10200 reloc.
25 * dwarf-mode.el: Add final comment. Bump version.
26 (dwarf-insert-substructure-button): Use string-to-number.
27 (dwarf-browse): Fix autoload cookie.
31 * dwarf.c (read_and_display_attr_value): Handle
32 DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt.
33 (display_debug_macro): Handle DW_MACRO_GNU_define_indirect_alt,
34 DW_MACRO_GNU_undef_indirect_alt and
35 DW_MACRO_GNU_transparent_include_alt.
39 * addr2line.c (translate_addresses): Truncate input addresses to
40 arch_size bits. Avoid undefined shift. Print '?' for zero line.
44 * readelf.c (process_section_headers): Correct bug in previous
45 delta - display full section type in wide mode.
49 * readelf.c (print_symbol): Display multibyte characters in symbol
51 (process_section_headers): Use print_symbol.
55 * aclocal.m4: Regenerate.
56 * configure: Regenerate.
57 * config.in: Regenerate.
58 * Makefile.in: Regenerate.
64 * configure.in: Add check that sysdep.h has been included before
65 any system header files.
66 * configure: Regenerate.
67 * config.in: Regenerate.
68 * unwind-ia64.h: Include config.h.
72 * dwarf.c (process_debug_info): Display abbrev offset in hex.
73 (display_debug_abbrev): Show offset of abbrev.
77 * dwarf.c (display_debug_ranges): Don't report more than one use
78 of the same range set as an overlap.
83 * Makefile.am (CFILES): Add syslex_wrap.c.
84 (sysinfo): Depend upon syslex_wrap.o.
85 (syslex_wrap.o): New rule.
86 (syslex.o): Delete rule.
87 * syslex_wrap.c: New file.
88 * Makefile.in: Regenerate.
92 * readelf.c (get_machine_name): Update m68hc12 entry.
96 * objdump.c (disassemble_bytes): Print addend as signed.
97 (dump_reloc_set): Likewise.
102 * doc/binutils.texi: Add --dwarf-check option.
103 * dwarf.c (dwarf_check): New global flag.
104 (fetch_indexed_string): New function.
105 (fetch_indexed_value): New function.
106 (get_FORM_name): Add DW_FORM_GNU_str_index and DW_FORM_GNU_addr_index.
107 (decode_location_expression): Add DW_OP_GNU_addr_index.
108 (read_and_display_attr_value): Add DW_FORM_GNU_str_index,
109 DW_FORM_GNU_addr_index, DW_AT_GNU_addr_base, and DW_AT_GNU_ranges_base.
110 (get_AT_name): Add new attributes for Fission.
111 (process_debug_info): Load new debug sections for Fission.
112 (load_debug_info): Check for .debug_info.dwo section.
113 (display_loc_list, display_loc_list_dwo): New functions.
114 (display_debug_loc): Move logic to above two functions.
115 (display_debug_info): Choose abbrev section based on info section.
116 (display_debug_types): Likewise.
117 (display_trace_info): Likewise.
118 (comp_addr_base): New function.
119 (display_debug_addr): New function.
120 (display_debug_str_offsets): New function.
121 (display_debug_ranges): Allow missing range lists. Suppress
122 diagnostics if dwarf_check not set.
123 (debug_displays): Add column to select abbrev section.
124 * dwarf.h (enum dwarf_section_display_enum): Add new debug sections
126 (struct dwarf_section): Add abbrev_sec field.
127 (struct dwarf_section_display): New type.
128 (debug_info): Add addr_base, ranges_base fields.
129 (dwarf_check): New global variable.
130 * objdump.c (usage): Add --dwarf-check option.
131 (enum option_values): Add OPTION_DWARF_CHECK.
132 (long_options): Add --dwarf-check.
134 * readelf.c (OPTION_DWARF_CHECK): New macro.
135 (options): Add --dwarf-check.
136 (parse_args): Likewise.
137 (process_section_headers): Use const_strneq instead of
143 * readelf.c (dump_relocations): Always display addend as
149 * configure.in: Invoke ACX_HEADER_STRING.
150 * configure: Regenerate.
151 * config.in: Regenerate.
152 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
153 string.h and strings.h.
157 * dwarf.c (read_and_display_attr_value): Don't look up tag from
158 abbrev for DW_FORM_ref_addr.
162 * binutils/MAINTAINERS: Added my entry to the maintainers secion.
166 * doc/binutils.texi (objcopy): Add --strip-dwo, --extract-dwo options.
167 (strip): Add --strip-dwo option.
168 * objcopy.c (enum strip_action): Add STRIP_DWO, STRIP_NONDWO.
169 (enum command_line_switch): Add OPTION_EXTRACT_DWO, OPTION_STRIP_DWO.
170 (strip_options): Add --strip-dwo option.
171 (copy_options): Add --extract-dwo, --strip-dwo options.
172 (copy_usage): Likewise.
173 (strip_usage): Add --strip-dwo option.
174 (is_dwo_section): New function.
175 (is_strip_section_1): Check for DWO sections.
176 (copy_object): Check for --strip-dwo, --extract-dwo options.
177 (copy_relocations_in_section): Discard relocations for DWO sections.
178 Discard entire relocation section when no relocations.
179 (strip_main): Add --strip-dwo option.
180 (copy_main): Add --strip-dwo, --extract-dwo options.
184 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
185 LC and LANG environment vars.
186 * Makefile.in: Regenerate.
190 * dwarf.c (get_TAG_name): Use get_DW_TAG_name.
191 (get_FORM_name): Use get_DW_FORM_name.
192 (get_AT_name): Use get_DW_AT_name.
196 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
197 * Makefile.in: Regenerate.
201 * dlltool.c (make_one_lib_file): Use bfd_und_section_ptr.
205 * readelf.c: Add support for XGATE.
209 * po/vi.po: Updated Vietnamese translation.
210 * po/it.po: New Italian translation.
211 * configure.in (ALL_LINGUAS): Add it.
212 * configure: Regenerate.
217 * rescoff.c: Rename 'finfo' to 'flaginfo' to avoid conflicts with
222 * doc/binutils.texi: Add -D/--enable-deterministic-archives option
223 to strip and objcopy.
224 * objcopy.c (deterministic): New global variable.
225 (strip_options): Add --enable-deterministic-archives.
226 (copy_options): Likewise.
227 (copy_usage): Likewise.
228 (strip_usage): Likewise.
229 (copy_archive): When stripping all, don't add archive map; set
230 deterministic output when requested.
231 (strip_main): Add -D/--enable-deterministic-archives option.
232 (copy_main): Likewise.
237 * objcopy.c (copy_object): Call copy_relocations_in_section
240 (copy_relocations_in_section): Likewise.
241 (copy_section): Use skip_section. Don't copy relocations here.
245 * objdump.c (dump_bfd): If defaulting to dwarf call
246 dwarf_select_sections_all to enable displays.
250 * configure.in (AC_CHECK_HEADERS): Add locale.h.
251 * config.in: Regenerate.
252 * configure: Regenerate.
256 * configure.in (AC_CHECK_FUNCS): Add setlocale.
257 (AM_LC_MESSAGES): Add.
258 * aclocal.m4: Regenerate.
259 * config.in: Regenerate.
260 * configure: Regenerate.
265 * stabs.c (stab_demangle_v3_arglist): Cope with the demangler
266 returning an empty context for a function with no arguments.
270 * dwarf.c (display_gdb_index): Handle index version 6.
274 * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
278 * doc/binutils.texi (c++filt): Fix typos.
283 * defparse.y (keyword_as_name): Disable LIBRARY
285 * doc/binutils.texi: Document LIBRARY exception.
290 * NEWS: Mention new feature.
291 * dlltool.c (i386_x64_dljtab): New stub-code for x64
292 delayed-load feature.
293 (i386_x64_trampoline): New trampoline-code for x64
294 delayed-load feature.
295 (make_one_lib_file): Add support for x64 delayed-load
297 (make_delay_head): Likewis
301 * objdump.c (slurp_file): Close file if fstat fails.
305 * dwarf.c (dwarf_vmatoa64): New function.
306 (read_and_display_attr_value): Print 8-byte forms as single hex
308 (process_debug_info): Print type signatures as single hex numbers.
309 * elfcomm.c (byte_get_64): New function.
310 * elfcomm.h (byte_get_64): New function.
315 * defparse.y (%union): New type id_const.
316 (opt_name2): New rule.
317 (keyword_as_name): New rule.
318 (opt_name): Adjust rule.
319 (opt_import_name): Likewise.
320 (opt_equal_name): Likewise.
325 * resrc.c (write_rc_dialog_control): Omit text dump for
326 EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
330 * sysdep.h: Include sys/stat.h here.
331 * ar.c: Don't include headers already included by sysdep.h.
332 * bucomm.c: Likewise.
334 * dlltool.h: Likewise.
335 * elfedit.c: Likewise.
336 * nlmconv.c: Likewise.
337 * objcopy.c: Likewise.
338 * objdump.c: Likewise.
339 * objdump.h: Likewise.
340 * readelf.c: Likewise.
341 * rename.c: Likewise.
343 * strings.c: Likewise.
344 * windres.c: Likewise.
345 * od-macho.c: Ensure #include sysdep.h is first.
346 * od-xcoff.c: Likewise.
347 * dllwrap.c: Remove alloca pragma handled by sysdep.h, and
348 remove duplicate headers.
349 * dlltool.c: Likewise and ensure #include sysdep.h is first.
354 * ar.c (ranlib_main): Process --plugin option.
355 * doc/binutils.texi: Document --plugin support for ranlib.
360 * readelf.c (process_corefile_note_segment): Fix off-by-one errors
361 verifying the contents of a note.
366 * readelf.c (process_section_groups): If there are no section
367 headers do not scan for section groups.
368 (process_note_sections): Likewise for note sections.
372 * od-macho.c (OPT_SEG_SPLIT_INFO): New macro.
373 (options): Add an entry for seg_split_info.
374 (mach_o_help): Document it.
375 (dump_segment_split_info): New function.
376 (dump_load_command): Handle seg_split_info.
380 * dwarf.c (process_extended_line_op): Add a cast to silent a
385 * dwarf.c (process_extended_line_op): Reindent define_file output.
386 Detect define_file opcode length mismatch.
387 (display_debug_lines_decoded): Add an entry in file_table for each
389 Ignore DW_LNE_set_discriminator and DW_LNE_HP_set_sequence.
390 Display extended opcode for unhandle opcode.
394 * version.c (print_version): Update copyright message year.
399 * nm.c (OPTION_SIZE_SORT): Define.
400 (long_options): Don't set no_sort, sort_numerically or
401 sort_by_size directly.
402 (main): Instead set the flags here, making them mutually exclusive.
406 * objdump.c (display_object_bfd): Renamed from ...
407 (display_bfd): ... this.
408 (display_any_bfd): New function.
409 (display_file): Split. Handle nested archives.
413 * configure.in: Use AM_ZLIB.
414 * configure: Regenerated.
418 * po/ru.po: Updated Russian translation.
422 * od-macho.c (dump_load_command): Handle fvmlib.
426 * od-macho.c: Update copyright year.
427 (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
429 For older changes see ChangeLog-2011
435 version-control: never