1 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
3 * readelf.c (get_machine_name): Update m68hc12 entry.
5 2012-05-13 H.J. Lu <hongjiu.lu@intel.com>
7 * objdump.c (disassemble_bytes): Print addend as signed.
8 (dump_reloc_set): Likewise.
10 2012-05-04 Sterling Augustine <saugustine@google.com>
11 Cary Coutant <ccoutant@google.com>
13 * doc/binutils.texi: Add --dwarf-check option.
14 * dwarf.c (dwarf_check): New global flag.
15 (fetch_indexed_string): New function.
16 (fetch_indexed_value): New function.
17 (get_FORM_name): Add DW_FORM_GNU_str_index and DW_FORM_GNU_addr_index.
18 (decode_location_expression): Add DW_OP_GNU_addr_index.
19 (read_and_display_attr_value): Add DW_FORM_GNU_str_index,
20 DW_FORM_GNU_addr_index, DW_AT_GNU_addr_base, and DW_AT_GNU_ranges_base.
21 (get_AT_name): Add new attributes for Fission.
22 (process_debug_info): Load new debug sections for Fission.
23 (load_debug_info): Check for .debug_info.dwo section.
24 (display_loc_list, display_loc_list_dwo): New functions.
25 (display_debug_loc): Move logic to above two functions.
26 (display_debug_info): Choose abbrev section based on info section.
27 (display_debug_types): Likewise.
28 (display_trace_info): Likewise.
29 (comp_addr_base): New function.
30 (display_debug_addr): New function.
31 (display_debug_str_offsets): New function.
32 (display_debug_ranges): Allow missing range lists. Suppress
33 diagnostics if dwarf_check not set.
34 (debug_displays): Add column to select abbrev section.
35 * dwarf.h (enum dwarf_section_display_enum): Add new debug sections
37 (struct dwarf_section): Add abbrev_sec field.
38 (struct dwarf_section_display): New type.
39 (debug_info): Add addr_base, ranges_base fields.
40 (dwarf_check): New global variable.
41 * objdump.c (usage): Add --dwarf-check option.
42 (enum option_values): Add OPTION_DWARF_CHECK.
43 (long_options): Add --dwarf-check.
45 * readelf.c (OPTION_DWARF_CHECK): New macro.
46 (options): Add --dwarf-check.
47 (parse_args): Likewise.
48 (process_section_headers): Use const_strneq instead of
51 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
54 * readelf.c (dump_relocations): Always display addend as
57 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
60 * configure.in: Invoke ACX_HEADER_STRING.
61 * configure: Regenerate.
62 * config.in: Regenerate.
63 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
64 string.h and strings.h.
66 2012-05-10 Jakub Jelinek <jakub@redhat.com>
68 * dwarf.c (read_and_display_attr_value): Don't look up tag from
69 abbrev for DW_FORM_ref_addr.
71 2012-05-08 Sean Keys <skeys@ipdatasys.com>
73 * binutils/MAINTAINERS: Added my entry to the maintainers secion.
75 2012-05-08 Cary Coutant <ccoutant@google.com>
77 * doc/binutils.texi (objcopy): Add --strip-dwo, --extract-dwo options.
78 (strip): Add --strip-dwo option.
79 * objcopy.c (enum strip_action): Add STRIP_DWO, STRIP_NONDWO.
80 (enum command_line_switch): Add OPTION_EXTRACT_DWO, OPTION_STRIP_DWO.
81 (strip_options): Add --strip-dwo option.
82 (copy_options): Add --extract-dwo, --strip-dwo options.
83 (copy_usage): Likewise.
84 (strip_usage): Add --strip-dwo option.
85 (is_dwo_section): New function.
86 (is_strip_section_1): Check for DWO sections.
87 (copy_object): Check for --strip-dwo, --extract-dwo options.
88 (copy_relocations_in_section): Discard relocations for DWO sections.
89 Discard entire relocation section when no relocations.
90 (strip_main): Add --strip-dwo option.
91 (copy_main): Add --strip-dwo, --extract-dwo options.
93 2012-05-08 Alan Modra <amodra@gmail.com>
95 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
96 LC and LANG environment vars.
97 * Makefile.in: Regenerate.
99 2012-05-07 Tom Tromey <tromey@redhat.com>
101 * dwarf.c (get_TAG_name): Use get_DW_TAG_name.
102 (get_FORM_name): Use get_DW_FORM_name.
103 (get_AT_name): Use get_DW_AT_name.
105 2012-05-07 Alan Modra <amodra@gmail.com>
107 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
108 * Makefile.in: Regenerate.
110 2012-05-05 Alan Modra <amodra@gmail.com>
112 * dlltool.c (make_one_lib_file): Use bfd_und_section_ptr.
114 2012-05-03 Sean Keys <skeys@ipdatasys.com>
116 * readelf.c: Add support for XGATE.
118 2012-05-02 Nick Clifton <nickc@redhat.com>
120 * po/vi.po: Updated Vietnamese translation.
121 * po/it.po: New Italian translation.
122 * configure.in (ALL_LINGUAS): Add it.
123 * configure: Regenerate.
125 2012-05-01 Nick Clifton <nickc@redhat.com>
128 * rescoff.c: Rename 'finfo' to 'flaginfo' to avoid conflicts with
131 2012-04-25 Cary Coutant <ccoutant@google.com>
133 * doc/binutils.texi: Add -D/--enable-deterministic-archives option
134 to strip and objcopy.
135 * objcopy.c (deterministic): New global variable.
136 (strip_options): Add --enable-deterministic-archives.
137 (copy_options): Likewise.
138 (copy_usage): Likewise.
139 (strip_usage): Likewise.
140 (copy_archive): When stripping all, don't add archive map; set
141 deterministic output when requested.
142 (strip_main): Add -D/--enable-deterministic-archives option.
143 (copy_main): Likewise.
145 2012-04-12 H.J. Lu <hongjiu.lu@intel.com>
148 * objcopy.c (copy_object): Call copy_relocations_in_section
151 (copy_relocations_in_section): Likewise.
152 (copy_section): Use skip_section. Don't copy relocations here.
154 2012-04-11 Ryan Mansfield <rmansfield@qnx.com>
156 * objdump.c (dump_bfd): If defaulting to dwarf call
157 dwarf_select_sections_all to enable displays.
159 2012-04-06 Roland McGrath <mcgrathr@google.com>
161 * configure.in (AC_CHECK_HEADERS): Add locale.h.
162 * config.in: Regenerate.
163 * configure: Regenerate.
165 2012-04-05 Nick Clifton <nickc@redhat.com>
167 * configure.in (AC_CHECK_FUNCS): Add setlocale.
168 (AM_LC_MESSAGES): Add.
169 * aclocal.m4: Regenerate.
170 * config.in: Regenerate.
171 * configure: Regenerate.
173 2012-03-30 Nick Clifton <nickc@redhat.com>
176 * stabs.c (stab_demangle_v3_arglist): Cope with the demangler
177 returning an empty context for a function with no arguments.
179 2012-03-28 Tom Tromey <tromey@redhat.com>
181 * dwarf.c (display_gdb_index): Handle index version 6.
183 2012-03-07 Nick Clifton <nickc@redhat.com>
185 * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
187 2012-02-29 Jeff Law <law@redhat.com>
189 * doc/binutils.texi (c++filt): Fix typos.
191 2012-02-24 Kai Tietz <ktietz@redhat.com>
194 * defparse.y (keyword_as_name): Disable LIBRARY
196 * doc/binutils.texi: Document LIBRARY exception.
198 2012-02-21 Kai Tietz<ktietz@redhat.com>
201 * NEWS: Mention new feature.
202 * dlltool.c (i386_x64_dljtab): New stub-code for x64
203 delayed-load feature.
204 (i386_x64_trampoline): New trampoline-code for x64
205 delayed-load feature.
206 (make_one_lib_file): Add support for x64 delayed-load
208 (make_delay_head): Likewis
210 2012-02-20 Namhyung Kim <namhyung.kim@lge.com>
212 * objdump.c (slurp_file): Close file if fstat fails.
214 2012-02-14 Cary Coutant <ccoutant@google.com>
216 * dwarf.c (dwarf_vmatoa64): New function.
217 (read_and_display_attr_value): Print 8-byte forms as single hex
219 (process_debug_info): Print type signatures as single hex numbers.
220 * elfcomm.c (byte_get_64): New function.
221 * elfcomm.h (byte_get_64): New function.
223 2012-02-11 Kai Tietz <ktietz@redhat.com>
226 * defparse.y (%union): New type id_const.
227 (opt_name2): New rule.
228 (keyword_as_name): New rule.
229 (opt_name): Adjust rule.
230 (opt_import_name): Likewise.
231 (opt_equal_name): Likewise.
233 2012-02-11 Kai Tietz <ktietz@redhat.com>
236 * resrc.c (write_rc_dialog_control): Omit text dump for
237 EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
239 2012-02-09 Alan Modra <amodra@gmail.com>
241 * sysdep.h: Include sys/stat.h here.
242 * ar.c: Don't include headers already included by sysdep.h.
243 * bucomm.c: Likewise.
245 * dlltool.h: Likewise.
246 * elfedit.c: Likewise.
247 * nlmconv.c: Likewise.
248 * objcopy.c: Likewise.
249 * objdump.c: Likewise.
250 * objdump.h: Likewise.
251 * readelf.c: Likewise.
252 * rename.c: Likewise.
254 * strings.c: Likewise.
255 * windres.c: Likewise.
256 * od-macho.c: Ensure #include sysdep.h is first.
257 * od-xcoff.c: Likewise.
258 * dllwrap.c: Remove alloca pragma handled by sysdep.h, and
259 remove duplicate headers.
260 * dlltool.c: Likewise and ensure #include sysdep.h is first.
262 2012-02-01 Nick Clifton <nickc@redhat.com>
265 * ar.c (ranlib_main): Process --plugin option.
266 * doc/binutils.texi: Document --plugin support for ranlib.
268 2012-02-01 Nick Clifton <nickc@redhat.com>
271 * readelf.c (process_corefile_note_segment): Fix off-by-one errors
272 verifying the contents of a note.
274 2012-01-26 Nick Clifton <nickc@redhat.com>
277 * readelf.c (process_section_groups): If there are no section
278 headers do not scan for section groups.
279 (process_note_sections): Likewise for note sections.
281 2012-01-20 Tristan Gingold <gingold@adacore.com>
283 * od-macho.c (OPT_SEG_SPLIT_INFO): New macro.
284 (options): Add an entry for seg_split_info.
285 (mach_o_help): Document it.
286 (dump_segment_split_info): New function.
287 (dump_load_command): Handle seg_split_info.
289 2012-01-19 Tristan Gingold <gingold@adacore.com>
291 * dwarf.c (process_extended_line_op): Add a cast to silent a
294 2012-01-19 Tristan Gingold <gingold@adacore.com>
296 * dwarf.c (process_extended_line_op): Reindent define_file output.
297 Detect define_file opcode length mismatch.
298 (display_debug_lines_decoded): Add an entry in file_table for each
300 Ignore DW_LNE_set_discriminator and DW_LNE_HP_set_sequence.
301 Display extended opcode for unhandle opcode.
303 2012-01-17 Alan Modra <amodra@gmail.com>
305 * version.c (print_version): Update copyright message year.
307 2012-01-16 Alan Modra <amodra@gmail.com>
310 * nm.c (OPTION_SIZE_SORT): Define.
311 (long_options): Don't set no_sort, sort_numerically or
312 sort_by_size directly.
313 (main): Instead set the flags here, making them mutually exclusive.
315 2012-01-10 Tristan Gingold <gingold@adacore.com>
317 * objdump.c (display_object_bfd): Renamed from ...
318 (display_bfd): ... this.
319 (display_any_bfd): New function.
320 (display_file): Split. Handle nested archives.
322 2012-01-09 Roland McGrath <mcgrathr@google.com>
324 * configure.in: Use AM_ZLIB.
325 * configure: Regenerated.
327 2012-01-06 Nick Clifton <nickc@redhat.com>
329 * po/ru.po: Updated Russian translation.
331 2012-01-04 Tristan Gingold <gingold@adacore.com>
333 * od-macho.c (dump_load_command): Handle fvmlib.
335 2012-01-04 Tristan Gingold <gingold@adacore.com>
337 * od-macho.c: Update copyright year.
338 (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
340 For older changes see ChangeLog-2011
346 version-control: never