1 2012-06-12 Tom Tromey <tromey@redhat.com>
3 * dwarf-mode.el: Add final comment. Bump version.
4 (dwarf-insert-substructure-button): Use string-to-number.
5 (dwarf-browse): Fix autoload cookie.
7 2012-06-08 Jakub Jelinek <jakub@redhat.com>
9 * dwarf.c (read_and_display_attr_value): Handle
10 DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt.
11 (display_debug_macro): Handle DW_MACRO_GNU_define_indirect_alt,
12 DW_MACRO_GNU_undef_indirect_alt and
13 DW_MACRO_GNU_transparent_include_alt.
15 2012-06-01 Alan Modra <amodra@gmail.com>
17 * addr2line.c (translate_addresses): Truncate input addresses to
18 arch_size bits. Avoid undefined shift. Print '?' for zero line.
20 2012-05-30 Nick Clifton <nickc@redhat.com>
22 * readelf.c (process_section_headers): Correct bug in previous
23 delta - display full section type in wide mode.
25 2012-05-28 Nick Clifton <nickc@redhat.com>
27 * readelf.c (print_symbol): Display multibyte characters in symbol
29 (process_section_headers): Use print_symbol.
31 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
33 * aclocal.m4: Regenerate.
34 * configure: Regenerate.
35 * config.in: Regenerate.
36 * Makefile.in: Regenerate.
38 2012-05-17 Daniel Richard G. <skunk@iskunk.org>
39 Nick Clifton <nickc@redhat.com>
42 * configure.in: Add check that sysdep.h has been included before
43 any system header files.
44 * configure: Regenerate.
45 * config.in: Regenerate.
46 * unwind-ia64.h: Include config.h.
48 2012-05-17 Alan Modra <amodra@gmail.com>
50 * dwarf.c (process_debug_info): Display abbrev offset in hex.
51 (display_debug_abbrev): Show offset of abbrev.
53 2012-05-17 Alan Modra <amodra@gmail.com>
55 * dwarf.c (display_debug_ranges): Don't report more than one use
56 of the same range set as an overlap.
58 2012-05-16 Daniel Richard G. <skunk@iskunk.org>
61 * Makefile.am (CFILES): Add syslex_wrap.c.
62 (sysinfo): Depend upon syslex_wrap.o.
63 (syslex_wrap.o): New rule.
64 (syslex.o): Delete rule.
65 * syslex_wrap.c: New file.
66 * Makefile.in: Regenerate.
68 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
70 * readelf.c (get_machine_name): Update m68hc12 entry.
72 2012-05-13 H.J. Lu <hongjiu.lu@intel.com>
74 * objdump.c (disassemble_bytes): Print addend as signed.
75 (dump_reloc_set): Likewise.
77 2012-05-04 Sterling Augustine <saugustine@google.com>
78 Cary Coutant <ccoutant@google.com>
80 * doc/binutils.texi: Add --dwarf-check option.
81 * dwarf.c (dwarf_check): New global flag.
82 (fetch_indexed_string): New function.
83 (fetch_indexed_value): New function.
84 (get_FORM_name): Add DW_FORM_GNU_str_index and DW_FORM_GNU_addr_index.
85 (decode_location_expression): Add DW_OP_GNU_addr_index.
86 (read_and_display_attr_value): Add DW_FORM_GNU_str_index,
87 DW_FORM_GNU_addr_index, DW_AT_GNU_addr_base, and DW_AT_GNU_ranges_base.
88 (get_AT_name): Add new attributes for Fission.
89 (process_debug_info): Load new debug sections for Fission.
90 (load_debug_info): Check for .debug_info.dwo section.
91 (display_loc_list, display_loc_list_dwo): New functions.
92 (display_debug_loc): Move logic to above two functions.
93 (display_debug_info): Choose abbrev section based on info section.
94 (display_debug_types): Likewise.
95 (display_trace_info): Likewise.
96 (comp_addr_base): New function.
97 (display_debug_addr): New function.
98 (display_debug_str_offsets): New function.
99 (display_debug_ranges): Allow missing range lists. Suppress
100 diagnostics if dwarf_check not set.
101 (debug_displays): Add column to select abbrev section.
102 * dwarf.h (enum dwarf_section_display_enum): Add new debug sections
104 (struct dwarf_section): Add abbrev_sec field.
105 (struct dwarf_section_display): New type.
106 (debug_info): Add addr_base, ranges_base fields.
107 (dwarf_check): New global variable.
108 * objdump.c (usage): Add --dwarf-check option.
109 (enum option_values): Add OPTION_DWARF_CHECK.
110 (long_options): Add --dwarf-check.
112 * readelf.c (OPTION_DWARF_CHECK): New macro.
113 (options): Add --dwarf-check.
114 (parse_args): Likewise.
115 (process_section_headers): Use const_strneq instead of
118 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
121 * readelf.c (dump_relocations): Always display addend as
124 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
127 * configure.in: Invoke ACX_HEADER_STRING.
128 * configure: Regenerate.
129 * config.in: Regenerate.
130 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
131 string.h and strings.h.
133 2012-05-10 Jakub Jelinek <jakub@redhat.com>
135 * dwarf.c (read_and_display_attr_value): Don't look up tag from
136 abbrev for DW_FORM_ref_addr.
138 2012-05-08 Sean Keys <skeys@ipdatasys.com>
140 * binutils/MAINTAINERS: Added my entry to the maintainers secion.
142 2012-05-08 Cary Coutant <ccoutant@google.com>
144 * doc/binutils.texi (objcopy): Add --strip-dwo, --extract-dwo options.
145 (strip): Add --strip-dwo option.
146 * objcopy.c (enum strip_action): Add STRIP_DWO, STRIP_NONDWO.
147 (enum command_line_switch): Add OPTION_EXTRACT_DWO, OPTION_STRIP_DWO.
148 (strip_options): Add --strip-dwo option.
149 (copy_options): Add --extract-dwo, --strip-dwo options.
150 (copy_usage): Likewise.
151 (strip_usage): Add --strip-dwo option.
152 (is_dwo_section): New function.
153 (is_strip_section_1): Check for DWO sections.
154 (copy_object): Check for --strip-dwo, --extract-dwo options.
155 (copy_relocations_in_section): Discard relocations for DWO sections.
156 Discard entire relocation section when no relocations.
157 (strip_main): Add --strip-dwo option.
158 (copy_main): Add --strip-dwo, --extract-dwo options.
160 2012-05-08 Alan Modra <amodra@gmail.com>
162 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
163 LC and LANG environment vars.
164 * Makefile.in: Regenerate.
166 2012-05-07 Tom Tromey <tromey@redhat.com>
168 * dwarf.c (get_TAG_name): Use get_DW_TAG_name.
169 (get_FORM_name): Use get_DW_FORM_name.
170 (get_AT_name): Use get_DW_AT_name.
172 2012-05-07 Alan Modra <amodra@gmail.com>
174 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
175 * Makefile.in: Regenerate.
177 2012-05-05 Alan Modra <amodra@gmail.com>
179 * dlltool.c (make_one_lib_file): Use bfd_und_section_ptr.
181 2012-05-03 Sean Keys <skeys@ipdatasys.com>
183 * readelf.c: Add support for XGATE.
185 2012-05-02 Nick Clifton <nickc@redhat.com>
187 * po/vi.po: Updated Vietnamese translation.
188 * po/it.po: New Italian translation.
189 * configure.in (ALL_LINGUAS): Add it.
190 * configure: Regenerate.
192 2012-05-01 Nick Clifton <nickc@redhat.com>
195 * rescoff.c: Rename 'finfo' to 'flaginfo' to avoid conflicts with
198 2012-04-25 Cary Coutant <ccoutant@google.com>
200 * doc/binutils.texi: Add -D/--enable-deterministic-archives option
201 to strip and objcopy.
202 * objcopy.c (deterministic): New global variable.
203 (strip_options): Add --enable-deterministic-archives.
204 (copy_options): Likewise.
205 (copy_usage): Likewise.
206 (strip_usage): Likewise.
207 (copy_archive): When stripping all, don't add archive map; set
208 deterministic output when requested.
209 (strip_main): Add -D/--enable-deterministic-archives option.
210 (copy_main): Likewise.
212 2012-04-12 H.J. Lu <hongjiu.lu@intel.com>
215 * objcopy.c (copy_object): Call copy_relocations_in_section
218 (copy_relocations_in_section): Likewise.
219 (copy_section): Use skip_section. Don't copy relocations here.
221 2012-04-11 Ryan Mansfield <rmansfield@qnx.com>
223 * objdump.c (dump_bfd): If defaulting to dwarf call
224 dwarf_select_sections_all to enable displays.
226 2012-04-06 Roland McGrath <mcgrathr@google.com>
228 * configure.in (AC_CHECK_HEADERS): Add locale.h.
229 * config.in: Regenerate.
230 * configure: Regenerate.
232 2012-04-05 Nick Clifton <nickc@redhat.com>
234 * configure.in (AC_CHECK_FUNCS): Add setlocale.
235 (AM_LC_MESSAGES): Add.
236 * aclocal.m4: Regenerate.
237 * config.in: Regenerate.
238 * configure: Regenerate.
240 2012-03-30 Nick Clifton <nickc@redhat.com>
243 * stabs.c (stab_demangle_v3_arglist): Cope with the demangler
244 returning an empty context for a function with no arguments.
246 2012-03-28 Tom Tromey <tromey@redhat.com>
248 * dwarf.c (display_gdb_index): Handle index version 6.
250 2012-03-07 Nick Clifton <nickc@redhat.com>
252 * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
254 2012-02-29 Jeff Law <law@redhat.com>
256 * doc/binutils.texi (c++filt): Fix typos.
258 2012-02-24 Kai Tietz <ktietz@redhat.com>
261 * defparse.y (keyword_as_name): Disable LIBRARY
263 * doc/binutils.texi: Document LIBRARY exception.
265 2012-02-21 Kai Tietz<ktietz@redhat.com>
268 * NEWS: Mention new feature.
269 * dlltool.c (i386_x64_dljtab): New stub-code for x64
270 delayed-load feature.
271 (i386_x64_trampoline): New trampoline-code for x64
272 delayed-load feature.
273 (make_one_lib_file): Add support for x64 delayed-load
275 (make_delay_head): Likewis
277 2012-02-20 Namhyung Kim <namhyung.kim@lge.com>
279 * objdump.c (slurp_file): Close file if fstat fails.
281 2012-02-14 Cary Coutant <ccoutant@google.com>
283 * dwarf.c (dwarf_vmatoa64): New function.
284 (read_and_display_attr_value): Print 8-byte forms as single hex
286 (process_debug_info): Print type signatures as single hex numbers.
287 * elfcomm.c (byte_get_64): New function.
288 * elfcomm.h (byte_get_64): New function.
290 2012-02-11 Kai Tietz <ktietz@redhat.com>
293 * defparse.y (%union): New type id_const.
294 (opt_name2): New rule.
295 (keyword_as_name): New rule.
296 (opt_name): Adjust rule.
297 (opt_import_name): Likewise.
298 (opt_equal_name): Likewise.
300 2012-02-11 Kai Tietz <ktietz@redhat.com>
303 * resrc.c (write_rc_dialog_control): Omit text dump for
304 EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
306 2012-02-09 Alan Modra <amodra@gmail.com>
308 * sysdep.h: Include sys/stat.h here.
309 * ar.c: Don't include headers already included by sysdep.h.
310 * bucomm.c: Likewise.
312 * dlltool.h: Likewise.
313 * elfedit.c: Likewise.
314 * nlmconv.c: Likewise.
315 * objcopy.c: Likewise.
316 * objdump.c: Likewise.
317 * objdump.h: Likewise.
318 * readelf.c: Likewise.
319 * rename.c: Likewise.
321 * strings.c: Likewise.
322 * windres.c: Likewise.
323 * od-macho.c: Ensure #include sysdep.h is first.
324 * od-xcoff.c: Likewise.
325 * dllwrap.c: Remove alloca pragma handled by sysdep.h, and
326 remove duplicate headers.
327 * dlltool.c: Likewise and ensure #include sysdep.h is first.
329 2012-02-01 Nick Clifton <nickc@redhat.com>
332 * ar.c (ranlib_main): Process --plugin option.
333 * doc/binutils.texi: Document --plugin support for ranlib.
335 2012-02-01 Nick Clifton <nickc@redhat.com>
338 * readelf.c (process_corefile_note_segment): Fix off-by-one errors
339 verifying the contents of a note.
341 2012-01-26 Nick Clifton <nickc@redhat.com>
344 * readelf.c (process_section_groups): If there are no section
345 headers do not scan for section groups.
346 (process_note_sections): Likewise for note sections.
348 2012-01-20 Tristan Gingold <gingold@adacore.com>
350 * od-macho.c (OPT_SEG_SPLIT_INFO): New macro.
351 (options): Add an entry for seg_split_info.
352 (mach_o_help): Document it.
353 (dump_segment_split_info): New function.
354 (dump_load_command): Handle seg_split_info.
356 2012-01-19 Tristan Gingold <gingold@adacore.com>
358 * dwarf.c (process_extended_line_op): Add a cast to silent a
361 2012-01-19 Tristan Gingold <gingold@adacore.com>
363 * dwarf.c (process_extended_line_op): Reindent define_file output.
364 Detect define_file opcode length mismatch.
365 (display_debug_lines_decoded): Add an entry in file_table for each
367 Ignore DW_LNE_set_discriminator and DW_LNE_HP_set_sequence.
368 Display extended opcode for unhandle opcode.
370 2012-01-17 Alan Modra <amodra@gmail.com>
372 * version.c (print_version): Update copyright message year.
374 2012-01-16 Alan Modra <amodra@gmail.com>
377 * nm.c (OPTION_SIZE_SORT): Define.
378 (long_options): Don't set no_sort, sort_numerically or
379 sort_by_size directly.
380 (main): Instead set the flags here, making them mutually exclusive.
382 2012-01-10 Tristan Gingold <gingold@adacore.com>
384 * objdump.c (display_object_bfd): Renamed from ...
385 (display_bfd): ... this.
386 (display_any_bfd): New function.
387 (display_file): Split. Handle nested archives.
389 2012-01-09 Roland McGrath <mcgrathr@google.com>
391 * configure.in: Use AM_ZLIB.
392 * configure: Regenerated.
394 2012-01-06 Nick Clifton <nickc@redhat.com>
396 * po/ru.po: Updated Russian translation.
398 2012-01-04 Tristan Gingold <gingold@adacore.com>
400 * od-macho.c (dump_load_command): Handle fvmlib.
402 2012-01-04 Tristan Gingold <gingold@adacore.com>
404 * od-macho.c: Update copyright year.
405 (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
407 For older changes see ChangeLog-2011
413 version-control: never