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