1 2012-05-16 Daniel Richard G. <skunk@iskunk.org>
4 * Makefile.am (CFILES): Add syslex_wrap.c.
5 (sysinfo): Depend upon syslex_wrap.o.
6 (syslex_wrap.o): New rule.
7 (syslex.o): Delete rule.
8 * syslex_wrap.c: New file.
9 * Makefile.in: Regenerate.
11 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
13 * readelf.c (get_machine_name): Update m68hc12 entry.
15 2012-05-13 H.J. Lu <hongjiu.lu@intel.com>
17 * objdump.c (disassemble_bytes): Print addend as signed.
18 (dump_reloc_set): Likewise.
20 2012-05-04 Sterling Augustine <saugustine@google.com>
21 Cary Coutant <ccoutant@google.com>
23 * doc/binutils.texi: Add --dwarf-check option.
24 * dwarf.c (dwarf_check): New global flag.
25 (fetch_indexed_string): New function.
26 (fetch_indexed_value): New function.
27 (get_FORM_name): Add DW_FORM_GNU_str_index and DW_FORM_GNU_addr_index.
28 (decode_location_expression): Add DW_OP_GNU_addr_index.
29 (read_and_display_attr_value): Add DW_FORM_GNU_str_index,
30 DW_FORM_GNU_addr_index, DW_AT_GNU_addr_base, and DW_AT_GNU_ranges_base.
31 (get_AT_name): Add new attributes for Fission.
32 (process_debug_info): Load new debug sections for Fission.
33 (load_debug_info): Check for .debug_info.dwo section.
34 (display_loc_list, display_loc_list_dwo): New functions.
35 (display_debug_loc): Move logic to above two functions.
36 (display_debug_info): Choose abbrev section based on info section.
37 (display_debug_types): Likewise.
38 (display_trace_info): Likewise.
39 (comp_addr_base): New function.
40 (display_debug_addr): New function.
41 (display_debug_str_offsets): New function.
42 (display_debug_ranges): Allow missing range lists. Suppress
43 diagnostics if dwarf_check not set.
44 (debug_displays): Add column to select abbrev section.
45 * dwarf.h (enum dwarf_section_display_enum): Add new debug sections
47 (struct dwarf_section): Add abbrev_sec field.
48 (struct dwarf_section_display): New type.
49 (debug_info): Add addr_base, ranges_base fields.
50 (dwarf_check): New global variable.
51 * objdump.c (usage): Add --dwarf-check option.
52 (enum option_values): Add OPTION_DWARF_CHECK.
53 (long_options): Add --dwarf-check.
55 * readelf.c (OPTION_DWARF_CHECK): New macro.
56 (options): Add --dwarf-check.
57 (parse_args): Likewise.
58 (process_section_headers): Use const_strneq instead of
61 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
64 * readelf.c (dump_relocations): Always display addend as
67 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
70 * configure.in: Invoke ACX_HEADER_STRING.
71 * configure: Regenerate.
72 * config.in: Regenerate.
73 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
74 string.h and strings.h.
76 2012-05-10 Jakub Jelinek <jakub@redhat.com>
78 * dwarf.c (read_and_display_attr_value): Don't look up tag from
79 abbrev for DW_FORM_ref_addr.
81 2012-05-08 Sean Keys <skeys@ipdatasys.com>
83 * binutils/MAINTAINERS: Added my entry to the maintainers secion.
85 2012-05-08 Cary Coutant <ccoutant@google.com>
87 * doc/binutils.texi (objcopy): Add --strip-dwo, --extract-dwo options.
88 (strip): Add --strip-dwo option.
89 * objcopy.c (enum strip_action): Add STRIP_DWO, STRIP_NONDWO.
90 (enum command_line_switch): Add OPTION_EXTRACT_DWO, OPTION_STRIP_DWO.
91 (strip_options): Add --strip-dwo option.
92 (copy_options): Add --extract-dwo, --strip-dwo options.
93 (copy_usage): Likewise.
94 (strip_usage): Add --strip-dwo option.
95 (is_dwo_section): New function.
96 (is_strip_section_1): Check for DWO sections.
97 (copy_object): Check for --strip-dwo, --extract-dwo options.
98 (copy_relocations_in_section): Discard relocations for DWO sections.
99 Discard entire relocation section when no relocations.
100 (strip_main): Add --strip-dwo option.
101 (copy_main): Add --strip-dwo, --extract-dwo options.
103 2012-05-08 Alan Modra <amodra@gmail.com>
105 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
106 LC and LANG environment vars.
107 * Makefile.in: Regenerate.
109 2012-05-07 Tom Tromey <tromey@redhat.com>
111 * dwarf.c (get_TAG_name): Use get_DW_TAG_name.
112 (get_FORM_name): Use get_DW_FORM_name.
113 (get_AT_name): Use get_DW_AT_name.
115 2012-05-07 Alan Modra <amodra@gmail.com>
117 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
118 * Makefile.in: Regenerate.
120 2012-05-05 Alan Modra <amodra@gmail.com>
122 * dlltool.c (make_one_lib_file): Use bfd_und_section_ptr.
124 2012-05-03 Sean Keys <skeys@ipdatasys.com>
126 * readelf.c: Add support for XGATE.
128 2012-05-02 Nick Clifton <nickc@redhat.com>
130 * po/vi.po: Updated Vietnamese translation.
131 * po/it.po: New Italian translation.
132 * configure.in (ALL_LINGUAS): Add it.
133 * configure: Regenerate.
135 2012-05-01 Nick Clifton <nickc@redhat.com>
138 * rescoff.c: Rename 'finfo' to 'flaginfo' to avoid conflicts with
141 2012-04-25 Cary Coutant <ccoutant@google.com>
143 * doc/binutils.texi: Add -D/--enable-deterministic-archives option
144 to strip and objcopy.
145 * objcopy.c (deterministic): New global variable.
146 (strip_options): Add --enable-deterministic-archives.
147 (copy_options): Likewise.
148 (copy_usage): Likewise.
149 (strip_usage): Likewise.
150 (copy_archive): When stripping all, don't add archive map; set
151 deterministic output when requested.
152 (strip_main): Add -D/--enable-deterministic-archives option.
153 (copy_main): Likewise.
155 2012-04-12 H.J. Lu <hongjiu.lu@intel.com>
158 * objcopy.c (copy_object): Call copy_relocations_in_section
161 (copy_relocations_in_section): Likewise.
162 (copy_section): Use skip_section. Don't copy relocations here.
164 2012-04-11 Ryan Mansfield <rmansfield@qnx.com>
166 * objdump.c (dump_bfd): If defaulting to dwarf call
167 dwarf_select_sections_all to enable displays.
169 2012-04-06 Roland McGrath <mcgrathr@google.com>
171 * configure.in (AC_CHECK_HEADERS): Add locale.h.
172 * config.in: Regenerate.
173 * configure: Regenerate.
175 2012-04-05 Nick Clifton <nickc@redhat.com>
177 * configure.in (AC_CHECK_FUNCS): Add setlocale.
178 (AM_LC_MESSAGES): Add.
179 * aclocal.m4: Regenerate.
180 * config.in: Regenerate.
181 * configure: Regenerate.
183 2012-03-30 Nick Clifton <nickc@redhat.com>
186 * stabs.c (stab_demangle_v3_arglist): Cope with the demangler
187 returning an empty context for a function with no arguments.
189 2012-03-28 Tom Tromey <tromey@redhat.com>
191 * dwarf.c (display_gdb_index): Handle index version 6.
193 2012-03-07 Nick Clifton <nickc@redhat.com>
195 * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
197 2012-02-29 Jeff Law <law@redhat.com>
199 * doc/binutils.texi (c++filt): Fix typos.
201 2012-02-24 Kai Tietz <ktietz@redhat.com>
204 * defparse.y (keyword_as_name): Disable LIBRARY
206 * doc/binutils.texi: Document LIBRARY exception.
208 2012-02-21 Kai Tietz<ktietz@redhat.com>
211 * NEWS: Mention new feature.
212 * dlltool.c (i386_x64_dljtab): New stub-code for x64
213 delayed-load feature.
214 (i386_x64_trampoline): New trampoline-code for x64
215 delayed-load feature.
216 (make_one_lib_file): Add support for x64 delayed-load
218 (make_delay_head): Likewis
220 2012-02-20 Namhyung Kim <namhyung.kim@lge.com>
222 * objdump.c (slurp_file): Close file if fstat fails.
224 2012-02-14 Cary Coutant <ccoutant@google.com>
226 * dwarf.c (dwarf_vmatoa64): New function.
227 (read_and_display_attr_value): Print 8-byte forms as single hex
229 (process_debug_info): Print type signatures as single hex numbers.
230 * elfcomm.c (byte_get_64): New function.
231 * elfcomm.h (byte_get_64): New function.
233 2012-02-11 Kai Tietz <ktietz@redhat.com>
236 * defparse.y (%union): New type id_const.
237 (opt_name2): New rule.
238 (keyword_as_name): New rule.
239 (opt_name): Adjust rule.
240 (opt_import_name): Likewise.
241 (opt_equal_name): Likewise.
243 2012-02-11 Kai Tietz <ktietz@redhat.com>
246 * resrc.c (write_rc_dialog_control): Omit text dump for
247 EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
249 2012-02-09 Alan Modra <amodra@gmail.com>
251 * sysdep.h: Include sys/stat.h here.
252 * ar.c: Don't include headers already included by sysdep.h.
253 * bucomm.c: Likewise.
255 * dlltool.h: Likewise.
256 * elfedit.c: Likewise.
257 * nlmconv.c: Likewise.
258 * objcopy.c: Likewise.
259 * objdump.c: Likewise.
260 * objdump.h: Likewise.
261 * readelf.c: Likewise.
262 * rename.c: Likewise.
264 * strings.c: Likewise.
265 * windres.c: Likewise.
266 * od-macho.c: Ensure #include sysdep.h is first.
267 * od-xcoff.c: Likewise.
268 * dllwrap.c: Remove alloca pragma handled by sysdep.h, and
269 remove duplicate headers.
270 * dlltool.c: Likewise and ensure #include sysdep.h is first.
272 2012-02-01 Nick Clifton <nickc@redhat.com>
275 * ar.c (ranlib_main): Process --plugin option.
276 * doc/binutils.texi: Document --plugin support for ranlib.
278 2012-02-01 Nick Clifton <nickc@redhat.com>
281 * readelf.c (process_corefile_note_segment): Fix off-by-one errors
282 verifying the contents of a note.
284 2012-01-26 Nick Clifton <nickc@redhat.com>
287 * readelf.c (process_section_groups): If there are no section
288 headers do not scan for section groups.
289 (process_note_sections): Likewise for note sections.
291 2012-01-20 Tristan Gingold <gingold@adacore.com>
293 * od-macho.c (OPT_SEG_SPLIT_INFO): New macro.
294 (options): Add an entry for seg_split_info.
295 (mach_o_help): Document it.
296 (dump_segment_split_info): New function.
297 (dump_load_command): Handle seg_split_info.
299 2012-01-19 Tristan Gingold <gingold@adacore.com>
301 * dwarf.c (process_extended_line_op): Add a cast to silent a
304 2012-01-19 Tristan Gingold <gingold@adacore.com>
306 * dwarf.c (process_extended_line_op): Reindent define_file output.
307 Detect define_file opcode length mismatch.
308 (display_debug_lines_decoded): Add an entry in file_table for each
310 Ignore DW_LNE_set_discriminator and DW_LNE_HP_set_sequence.
311 Display extended opcode for unhandle opcode.
313 2012-01-17 Alan Modra <amodra@gmail.com>
315 * version.c (print_version): Update copyright message year.
317 2012-01-16 Alan Modra <amodra@gmail.com>
320 * nm.c (OPTION_SIZE_SORT): Define.
321 (long_options): Don't set no_sort, sort_numerically or
322 sort_by_size directly.
323 (main): Instead set the flags here, making them mutually exclusive.
325 2012-01-10 Tristan Gingold <gingold@adacore.com>
327 * objdump.c (display_object_bfd): Renamed from ...
328 (display_bfd): ... this.
329 (display_any_bfd): New function.
330 (display_file): Split. Handle nested archives.
332 2012-01-09 Roland McGrath <mcgrathr@google.com>
334 * configure.in: Use AM_ZLIB.
335 * configure: Regenerated.
337 2012-01-06 Nick Clifton <nickc@redhat.com>
339 * po/ru.po: Updated Russian translation.
341 2012-01-04 Tristan Gingold <gingold@adacore.com>
343 * od-macho.c (dump_load_command): Handle fvmlib.
345 2012-01-04 Tristan Gingold <gingold@adacore.com>
347 * od-macho.c: Update copyright year.
348 (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
350 For older changes see ChangeLog-2011
356 version-control: never