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