3 * dwarf.c (process_debug_info): Display abbrev offset in hex.
4 (display_debug_abbrev): Show offset of abbrev.
8 * dwarf.c (display_debug_ranges): Don't report more than one use
9 of the same range set as an overlap.
14 * Makefile.am (CFILES): Add syslex_wrap.c.
15 (sysinfo): Depend upon syslex_wrap.o.
16 (syslex_wrap.o): New rule.
17 (syslex.o): Delete rule.
18 * syslex_wrap.c: New file.
19 * Makefile.in: Regenerate.
23 * readelf.c (get_machine_name): Update m68hc12 entry.
27 * objdump.c (disassemble_bytes): Print addend as signed.
28 (dump_reloc_set): Likewise.
33 * doc/binutils.texi: Add --dwarf-check option.
34 * dwarf.c (dwarf_check): New global flag.
35 (fetch_indexed_string): New function.
36 (fetch_indexed_value): New function.
37 (get_FORM_name): Add DW_FORM_GNU_str_index and DW_FORM_GNU_addr_index.
38 (decode_location_expression): Add DW_OP_GNU_addr_index.
39 (read_and_display_attr_value): Add DW_FORM_GNU_str_index,
40 DW_FORM_GNU_addr_index, DW_AT_GNU_addr_base, and DW_AT_GNU_ranges_base.
41 (get_AT_name): Add new attributes for Fission.
42 (process_debug_info): Load new debug sections for Fission.
43 (load_debug_info): Check for .debug_info.dwo section.
44 (display_loc_list, display_loc_list_dwo): New functions.
45 (display_debug_loc): Move logic to above two functions.
46 (display_debug_info): Choose abbrev section based on info section.
47 (display_debug_types): Likewise.
48 (display_trace_info): Likewise.
49 (comp_addr_base): New function.
50 (display_debug_addr): New function.
51 (display_debug_str_offsets): New function.
52 (display_debug_ranges): Allow missing range lists. Suppress
53 diagnostics if dwarf_check not set.
54 (debug_displays): Add column to select abbrev section.
55 * dwarf.h (enum dwarf_section_display_enum): Add new debug sections
57 (struct dwarf_section): Add abbrev_sec field.
58 (struct dwarf_section_display): New type.
59 (debug_info): Add addr_base, ranges_base fields.
60 (dwarf_check): New global variable.
61 * objdump.c (usage): Add --dwarf-check option.
62 (enum option_values): Add OPTION_DWARF_CHECK.
63 (long_options): Add --dwarf-check.
65 * readelf.c (OPTION_DWARF_CHECK): New macro.
66 (options): Add --dwarf-check.
67 (parse_args): Likewise.
68 (process_section_headers): Use const_strneq instead of
74 * readelf.c (dump_relocations): Always display addend as
80 * configure.in: Invoke ACX_HEADER_STRING.
81 * configure: Regenerate.
82 * config.in: Regenerate.
83 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
84 string.h and strings.h.
88 * dwarf.c (read_and_display_attr_value): Don't look up tag from
89 abbrev for DW_FORM_ref_addr.
93 * binutils/MAINTAINERS: Added my entry to the maintainers secion.
97 * doc/binutils.texi (objcopy): Add --strip-dwo, --extract-dwo options.
98 (strip): Add --strip-dwo option.
99 * objcopy.c (enum strip_action): Add STRIP_DWO, STRIP_NONDWO.
100 (enum command_line_switch): Add OPTION_EXTRACT_DWO, OPTION_STRIP_DWO.
101 (strip_options): Add --strip-dwo option.
102 (copy_options): Add --extract-dwo, --strip-dwo options.
103 (copy_usage): Likewise.
104 (strip_usage): Add --strip-dwo option.
105 (is_dwo_section): New function.
106 (is_strip_section_1): Check for DWO sections.
107 (copy_object): Check for --strip-dwo, --extract-dwo options.
108 (copy_relocations_in_section): Discard relocations for DWO sections.
109 Discard entire relocation section when no relocations.
110 (strip_main): Add --strip-dwo option.
111 (copy_main): Add --strip-dwo, --extract-dwo options.
115 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
116 LC and LANG environment vars.
117 * Makefile.in: Regenerate.
121 * dwarf.c (get_TAG_name): Use get_DW_TAG_name.
122 (get_FORM_name): Use get_DW_FORM_name.
123 (get_AT_name): Use get_DW_AT_name.
127 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
128 * Makefile.in: Regenerate.
132 * dlltool.c (make_one_lib_file): Use bfd_und_section_ptr.
136 * readelf.c: Add support for XGATE.
140 * po/vi.po: Updated Vietnamese translation.
141 * po/it.po: New Italian translation.
142 * configure.in (ALL_LINGUAS): Add it.
143 * configure: Regenerate.
148 * rescoff.c: Rename 'finfo' to 'flaginfo' to avoid conflicts with
153 * doc/binutils.texi: Add -D/--enable-deterministic-archives option
154 to strip and objcopy.
155 * objcopy.c (deterministic): New global variable.
156 (strip_options): Add --enable-deterministic-archives.
157 (copy_options): Likewise.
158 (copy_usage): Likewise.
159 (strip_usage): Likewise.
160 (copy_archive): When stripping all, don't add archive map; set
161 deterministic output when requested.
162 (strip_main): Add -D/--enable-deterministic-archives option.
163 (copy_main): Likewise.
168 * objcopy.c (copy_object): Call copy_relocations_in_section
171 (copy_relocations_in_section): Likewise.
172 (copy_section): Use skip_section. Don't copy relocations here.
176 * objdump.c (dump_bfd): If defaulting to dwarf call
177 dwarf_select_sections_all to enable displays.
181 * configure.in (AC_CHECK_HEADERS): Add locale.h.
182 * config.in: Regenerate.
183 * configure: Regenerate.
187 * configure.in (AC_CHECK_FUNCS): Add setlocale.
188 (AM_LC_MESSAGES): Add.
189 * aclocal.m4: Regenerate.
190 * config.in: Regenerate.
191 * configure: Regenerate.
196 * stabs.c (stab_demangle_v3_arglist): Cope with the demangler
197 returning an empty context for a function with no arguments.
201 * dwarf.c (display_gdb_index): Handle index version 6.
205 * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
209 * doc/binutils.texi (c++filt): Fix typos.
214 * defparse.y (keyword_as_name): Disable LIBRARY
216 * doc/binutils.texi: Document LIBRARY exception.
221 * NEWS: Mention new feature.
222 * dlltool.c (i386_x64_dljtab): New stub-code for x64
223 delayed-load feature.
224 (i386_x64_trampoline): New trampoline-code for x64
225 delayed-load feature.
226 (make_one_lib_file): Add support for x64 delayed-load
228 (make_delay_head): Likewis
232 * objdump.c (slurp_file): Close file if fstat fails.
236 * dwarf.c (dwarf_vmatoa64): New function.
237 (read_and_display_attr_value): Print 8-byte forms as single hex
239 (process_debug_info): Print type signatures as single hex numbers.
240 * elfcomm.c (byte_get_64): New function.
241 * elfcomm.h (byte_get_64): New function.
246 * defparse.y (%union): New type id_const.
247 (opt_name2): New rule.
248 (keyword_as_name): New rule.
249 (opt_name): Adjust rule.
250 (opt_import_name): Likewise.
251 (opt_equal_name): Likewise.
256 * resrc.c (write_rc_dialog_control): Omit text dump for
257 EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
261 * sysdep.h: Include sys/stat.h here.
262 * ar.c: Don't include headers already included by sysdep.h.
263 * bucomm.c: Likewise.
265 * dlltool.h: Likewise.
266 * elfedit.c: Likewise.
267 * nlmconv.c: Likewise.
268 * objcopy.c: Likewise.
269 * objdump.c: Likewise.
270 * objdump.h: Likewise.
271 * readelf.c: Likewise.
272 * rename.c: Likewise.
274 * strings.c: Likewise.
275 * windres.c: Likewise.
276 * od-macho.c: Ensure #include sysdep.h is first.
277 * od-xcoff.c: Likewise.
278 * dllwrap.c: Remove alloca pragma handled by sysdep.h, and
279 remove duplicate headers.
280 * dlltool.c: Likewise and ensure #include sysdep.h is first.
285 * ar.c (ranlib_main): Process --plugin option.
286 * doc/binutils.texi: Document --plugin support for ranlib.
291 * readelf.c (process_corefile_note_segment): Fix off-by-one errors
292 verifying the contents of a note.
297 * readelf.c (process_section_groups): If there are no section
298 headers do not scan for section groups.
299 (process_note_sections): Likewise for note sections.
303 * od-macho.c (OPT_SEG_SPLIT_INFO): New macro.
304 (options): Add an entry for seg_split_info.
305 (mach_o_help): Document it.
306 (dump_segment_split_info): New function.
307 (dump_load_command): Handle seg_split_info.
311 * dwarf.c (process_extended_line_op): Add a cast to silent a
316 * dwarf.c (process_extended_line_op): Reindent define_file output.
317 Detect define_file opcode length mismatch.
318 (display_debug_lines_decoded): Add an entry in file_table for each
320 Ignore DW_LNE_set_discriminator and DW_LNE_HP_set_sequence.
321 Display extended opcode for unhandle opcode.
325 * version.c (print_version): Update copyright message year.
330 * nm.c (OPTION_SIZE_SORT): Define.
331 (long_options): Don't set no_sort, sort_numerically or
332 sort_by_size directly.
333 (main): Instead set the flags here, making them mutually exclusive.
337 * objdump.c (display_object_bfd): Renamed from ...
338 (display_bfd): ... this.
339 (display_any_bfd): New function.
340 (display_file): Split. Handle nested archives.
344 * configure.in: Use AM_ZLIB.
345 * configure: Regenerated.
349 * po/ru.po: Updated Russian translation.
353 * od-macho.c (dump_load_command): Handle fvmlib.
357 * od-macho.c: Update copyright year.
358 (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
360 For older changes see ChangeLog-2011
366 version-control: never