* dwarf.c: Include gdb-index.h.
[deliverable/binutils-gdb.git] / binutils / ChangeLog
1 2012-07-02 Tom Tromey <tromey@redhat.com>
2
3 * dwarf.c: Include gdb-index.h.
4 (display_gdb_index): Handle version 7.
5
6 2012-06-29 H.J. Lu <hongjiu.lu@intel.com>
7
8 * nm.c (filter_symbols): Simplify global symbol handling.
9
10 2012-06-29 Francois Gouget <fgouget@codeweavers.com>
11
12 PR binutils/14302
13 * bucomm.c (print_arelt_descr): Correctly report the archive size
14 field (for 'ar tv').
15 * ar.c (print_contents): Use correct types for archive element
16 sizes (for 'ar p').
17 (extract_file): Likewise (for 'ar x').
18
19 2012-06-29 Alan Modra <amodra@gmail.com>
20
21 * readelf.c (is_16bit_abs_reloc): Handle mn10200 reloc.
22
23 2012-06-12 Tom Tromey <tromey@redhat.com>
24
25 * dwarf-mode.el: Add final comment. Bump version.
26 (dwarf-insert-substructure-button): Use string-to-number.
27 (dwarf-browse): Fix autoload cookie.
28
29 2012-06-08 Jakub Jelinek <jakub@redhat.com>
30
31 * dwarf.c (read_and_display_attr_value): Handle
32 DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt.
33 (display_debug_macro): Handle DW_MACRO_GNU_define_indirect_alt,
34 DW_MACRO_GNU_undef_indirect_alt and
35 DW_MACRO_GNU_transparent_include_alt.
36
37 2012-06-01 Alan Modra <amodra@gmail.com>
38
39 * addr2line.c (translate_addresses): Truncate input addresses to
40 arch_size bits. Avoid undefined shift. Print '?' for zero line.
41
42 2012-05-30 Nick Clifton <nickc@redhat.com>
43
44 * readelf.c (process_section_headers): Correct bug in previous
45 delta - display full section type in wide mode.
46
47 2012-05-28 Nick Clifton <nickc@redhat.com>
48
49 * readelf.c (print_symbol): Display multibyte characters in symbol
50 names.
51 (process_section_headers): Use print_symbol.
52
53 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
54
55 * aclocal.m4: Regenerate.
56 * configure: Regenerate.
57 * config.in: Regenerate.
58 * Makefile.in: Regenerate.
59
60 2012-05-17 Daniel Richard G. <skunk@iskunk.org>
61 Nick Clifton <nickc@redhat.com>
62
63 PR 14072
64 * configure.in: Add check that sysdep.h has been included before
65 any system header files.
66 * configure: Regenerate.
67 * config.in: Regenerate.
68 * unwind-ia64.h: Include config.h.
69
70 2012-05-17 Alan Modra <amodra@gmail.com>
71
72 * dwarf.c (process_debug_info): Display abbrev offset in hex.
73 (display_debug_abbrev): Show offset of abbrev.
74
75 2012-05-17 Alan Modra <amodra@gmail.com>
76
77 * dwarf.c (display_debug_ranges): Don't report more than one use
78 of the same range set as an overlap.
79
80 2012-05-16 Daniel Richard G. <skunk@iskunk.org>
81
82 PR binutils/13558
83 * Makefile.am (CFILES): Add syslex_wrap.c.
84 (sysinfo): Depend upon syslex_wrap.o.
85 (syslex_wrap.o): New rule.
86 (syslex.o): Delete rule.
87 * syslex_wrap.c: New file.
88 * Makefile.in: Regenerate.
89
90 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
91
92 * readelf.c (get_machine_name): Update m68hc12 entry.
93
94 2012-05-13 H.J. Lu <hongjiu.lu@intel.com>
95
96 * objdump.c (disassemble_bytes): Print addend as signed.
97 (dump_reloc_set): Likewise.
98
99 2012-05-04 Sterling Augustine <saugustine@google.com>
100 Cary Coutant <ccoutant@google.com>
101
102 * doc/binutils.texi: Add --dwarf-check option.
103 * dwarf.c (dwarf_check): New global flag.
104 (fetch_indexed_string): New function.
105 (fetch_indexed_value): New function.
106 (get_FORM_name): Add DW_FORM_GNU_str_index and DW_FORM_GNU_addr_index.
107 (decode_location_expression): Add DW_OP_GNU_addr_index.
108 (read_and_display_attr_value): Add DW_FORM_GNU_str_index,
109 DW_FORM_GNU_addr_index, DW_AT_GNU_addr_base, and DW_AT_GNU_ranges_base.
110 (get_AT_name): Add new attributes for Fission.
111 (process_debug_info): Load new debug sections for Fission.
112 (load_debug_info): Check for .debug_info.dwo section.
113 (display_loc_list, display_loc_list_dwo): New functions.
114 (display_debug_loc): Move logic to above two functions.
115 (display_debug_info): Choose abbrev section based on info section.
116 (display_debug_types): Likewise.
117 (display_trace_info): Likewise.
118 (comp_addr_base): New function.
119 (display_debug_addr): New function.
120 (display_debug_str_offsets): New function.
121 (display_debug_ranges): Allow missing range lists. Suppress
122 diagnostics if dwarf_check not set.
123 (debug_displays): Add column to select abbrev section.
124 * dwarf.h (enum dwarf_section_display_enum): Add new debug sections
125 for Fission.
126 (struct dwarf_section): Add abbrev_sec field.
127 (struct dwarf_section_display): New type.
128 (debug_info): Add addr_base, ranges_base fields.
129 (dwarf_check): New global variable.
130 * objdump.c (usage): Add --dwarf-check option.
131 (enum option_values): Add OPTION_DWARF_CHECK.
132 (long_options): Add --dwarf-check.
133 (main): Likewise.
134 * readelf.c (OPTION_DWARF_CHECK): New macro.
135 (options): Add --dwarf-check.
136 (parse_args): Likewise.
137 (process_section_headers): Use const_strneq instead of
138 streq.
139
140 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
141
142 PR binutils/14088
143 * readelf.c (dump_relocations): Always display addend as
144 signed hex number.
145
146 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
147
148 PR binutils/14028
149 * configure.in: Invoke ACX_HEADER_STRING.
150 * configure: Regenerate.
151 * config.in: Regenerate.
152 * sysdep.h: If STRINGS_WITH_STRING is defined then include both
153 string.h and strings.h.
154
155 2012-05-10 Jakub Jelinek <jakub@redhat.com>
156
157 * dwarf.c (read_and_display_attr_value): Don't look up tag from
158 abbrev for DW_FORM_ref_addr.
159
160 2012-05-08 Sean Keys <skeys@ipdatasys.com>
161
162 * binutils/MAINTAINERS: Added my entry to the maintainers secion.
163
164 2012-05-08 Cary Coutant <ccoutant@google.com>
165
166 * doc/binutils.texi (objcopy): Add --strip-dwo, --extract-dwo options.
167 (strip): Add --strip-dwo option.
168 * objcopy.c (enum strip_action): Add STRIP_DWO, STRIP_NONDWO.
169 (enum command_line_switch): Add OPTION_EXTRACT_DWO, OPTION_STRIP_DWO.
170 (strip_options): Add --strip-dwo option.
171 (copy_options): Add --extract-dwo, --strip-dwo options.
172 (copy_usage): Likewise.
173 (strip_usage): Add --strip-dwo option.
174 (is_dwo_section): New function.
175 (is_strip_section_1): Check for DWO sections.
176 (copy_object): Check for --strip-dwo, --extract-dwo options.
177 (copy_relocations_in_section): Discard relocations for DWO sections.
178 Discard entire relocation section when no relocations.
179 (strip_main): Add --strip-dwo option.
180 (copy_main): Add --strip-dwo, --extract-dwo options.
181
182 2012-05-08 Alan Modra <amodra@gmail.com>
183
184 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
185 LC and LANG environment vars.
186 * Makefile.in: Regenerate.
187
188 2012-05-07 Tom Tromey <tromey@redhat.com>
189
190 * dwarf.c (get_TAG_name): Use get_DW_TAG_name.
191 (get_FORM_name): Use get_DW_FORM_name.
192 (get_AT_name): Use get_DW_AT_name.
193
194 2012-05-07 Alan Modra <amodra@gmail.com>
195
196 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
197 * Makefile.in: Regenerate.
198
199 2012-05-05 Alan Modra <amodra@gmail.com>
200
201 * dlltool.c (make_one_lib_file): Use bfd_und_section_ptr.
202
203 2012-05-03 Sean Keys <skeys@ipdatasys.com>
204
205 * readelf.c: Add support for XGATE.
206
207 2012-05-02 Nick Clifton <nickc@redhat.com>
208
209 * po/vi.po: Updated Vietnamese translation.
210 * po/it.po: New Italian translation.
211 * configure.in (ALL_LINGUAS): Add it.
212 * configure: Regenerate.
213
214 2012-05-01 Nick Clifton <nickc@redhat.com>
215
216 PR binutils/13121
217 * rescoff.c: Rename 'finfo' to 'flaginfo' to avoid conflicts with
218 AIX system headers.
219
220 2012-04-25 Cary Coutant <ccoutant@google.com>
221
222 * doc/binutils.texi: Add -D/--enable-deterministic-archives option
223 to strip and objcopy.
224 * objcopy.c (deterministic): New global variable.
225 (strip_options): Add --enable-deterministic-archives.
226 (copy_options): Likewise.
227 (copy_usage): Likewise.
228 (strip_usage): Likewise.
229 (copy_archive): When stripping all, don't add archive map; set
230 deterministic output when requested.
231 (strip_main): Add -D/--enable-deterministic-archives option.
232 (copy_main): Likewise.
233
234 2012-04-12 H.J. Lu <hongjiu.lu@intel.com>
235
236 PR binutils/13947
237 * objcopy.c (copy_object): Call copy_relocations_in_section
238 before copy_section.
239 (skip_section): New.
240 (copy_relocations_in_section): Likewise.
241 (copy_section): Use skip_section. Don't copy relocations here.
242
243 2012-04-11 Ryan Mansfield <rmansfield@qnx.com>
244
245 * objdump.c (dump_bfd): If defaulting to dwarf call
246 dwarf_select_sections_all to enable displays.
247
248 2012-04-06 Roland McGrath <mcgrathr@google.com>
249
250 * configure.in (AC_CHECK_HEADERS): Add locale.h.
251 * config.in: Regenerate.
252 * configure: Regenerate.
253
254 2012-04-05 Nick Clifton <nickc@redhat.com>
255
256 * configure.in (AC_CHECK_FUNCS): Add setlocale.
257 (AM_LC_MESSAGES): Add.
258 * aclocal.m4: Regenerate.
259 * config.in: Regenerate.
260 * configure: Regenerate.
261
262 2012-03-30 Nick Clifton <nickc@redhat.com>
263
264 PR binutils/13925
265 * stabs.c (stab_demangle_v3_arglist): Cope with the demangler
266 returning an empty context for a function with no arguments.
267
268 2012-03-28 Tom Tromey <tromey@redhat.com>
269
270 * dwarf.c (display_gdb_index): Handle index version 6.
271
272 2012-03-07 Nick Clifton <nickc@redhat.com>
273
274 * readelf.c (is_16bit_abs_reloc): Add detection of R_MN10300_16.
275
276 2012-02-29 Jeff Law <law@redhat.com>
277
278 * doc/binutils.texi (c++filt): Fix typos.
279
280 2012-02-24 Kai Tietz <ktietz@redhat.com>
281
282 PR binutils/13710
283 * defparse.y (keyword_as_name): Disable LIBRARY
284 keyword.
285 * doc/binutils.texi: Document LIBRARY exception.
286
287 2012-02-21 Kai Tietz<ktietz@redhat.com>
288
289 PR binutils/13682
290 * NEWS: Mention new feature.
291 * dlltool.c (i386_x64_dljtab): New stub-code for x64
292 delayed-load feature.
293 (i386_x64_trampoline): New trampoline-code for x64
294 delayed-load feature.
295 (make_one_lib_file): Add support for x64 delayed-load
296 feature.
297 (make_delay_head): Likewis
298
299 2012-02-20 Namhyung Kim <namhyung.kim@lge.com>
300
301 * objdump.c (slurp_file): Close file if fstat fails.
302
303 2012-02-14 Cary Coutant <ccoutant@google.com>
304
305 * dwarf.c (dwarf_vmatoa64): New function.
306 (read_and_display_attr_value): Print 8-byte forms as single hex
307 numbers.
308 (process_debug_info): Print type signatures as single hex numbers.
309 * elfcomm.c (byte_get_64): New function.
310 * elfcomm.h (byte_get_64): New function.
311
312 2012-02-11 Kai Tietz <ktietz@redhat.com>
313
314 PR binutils/13657
315 * defparse.y (%union): New type id_const.
316 (opt_name2): New rule.
317 (keyword_as_name): New rule.
318 (opt_name): Adjust rule.
319 (opt_import_name): Likewise.
320 (opt_equal_name): Likewise.
321
322 2012-02-11 Kai Tietz <ktietz@redhat.com>
323
324 PR binutils/13297
325 * resrc.c (write_rc_dialog_control): Omit text dump for
326 EDITTEXT, COMBOBOX, LISTBOX, and SCROLLBAR.
327
328 2012-02-09 Alan Modra <amodra@gmail.com>
329
330 * sysdep.h: Include sys/stat.h here.
331 * ar.c: Don't include headers already included by sysdep.h.
332 * bucomm.c: Likewise.
333 * budbg.h: Likewise.
334 * dlltool.h: Likewise.
335 * elfedit.c: Likewise.
336 * nlmconv.c: Likewise.
337 * objcopy.c: Likewise.
338 * objdump.c: Likewise.
339 * objdump.h: Likewise.
340 * readelf.c: Likewise.
341 * rename.c: Likewise.
342 * resrc.c: Likewise.
343 * strings.c: Likewise.
344 * windres.c: Likewise.
345 * od-macho.c: Ensure #include sysdep.h is first.
346 * od-xcoff.c: Likewise.
347 * dllwrap.c: Remove alloca pragma handled by sysdep.h, and
348 remove duplicate headers.
349 * dlltool.c: Likewise and ensure #include sysdep.h is first.
350
351 2012-02-01 Nick Clifton <nickc@redhat.com>
352
353 PR binutils/13493
354 * ar.c (ranlib_main): Process --plugin option.
355 * doc/binutils.texi: Document --plugin support for ranlib.
356
357 2012-02-01 Nick Clifton <nickc@redhat.com>
358
359 PR binutils/13482
360 * readelf.c (process_corefile_note_segment): Fix off-by-one errors
361 verifying the contents of a note.
362
363 2012-01-26 Nick Clifton <nickc@redhat.com>
364
365 PR binutils/13622
366 * readelf.c (process_section_groups): If there are no section
367 headers do not scan for section groups.
368 (process_note_sections): Likewise for note sections.
369
370 2012-01-20 Tristan Gingold <gingold@adacore.com>
371
372 * od-macho.c (OPT_SEG_SPLIT_INFO): New macro.
373 (options): Add an entry for seg_split_info.
374 (mach_o_help): Document it.
375 (dump_segment_split_info): New function.
376 (dump_load_command): Handle seg_split_info.
377
378 2012-01-19 Tristan Gingold <gingold@adacore.com>
379
380 * dwarf.c (process_extended_line_op): Add a cast to silent a
381 warning.
382
383 2012-01-19 Tristan Gingold <gingold@adacore.com>
384
385 * dwarf.c (process_extended_line_op): Reindent define_file output.
386 Detect define_file opcode length mismatch.
387 (display_debug_lines_decoded): Add an entry in file_table for each
388 define_file opcode.
389 Ignore DW_LNE_set_discriminator and DW_LNE_HP_set_sequence.
390 Display extended opcode for unhandle opcode.
391
392 2012-01-17 Alan Modra <amodra@gmail.com>
393
394 * version.c (print_version): Update copyright message year.
395
396 2012-01-16 Alan Modra <amodra@gmail.com>
397
398 PR binutils/13593
399 * nm.c (OPTION_SIZE_SORT): Define.
400 (long_options): Don't set no_sort, sort_numerically or
401 sort_by_size directly.
402 (main): Instead set the flags here, making them mutually exclusive.
403
404 2012-01-10 Tristan Gingold <gingold@adacore.com>
405
406 * objdump.c (display_object_bfd): Renamed from ...
407 (display_bfd): ... this.
408 (display_any_bfd): New function.
409 (display_file): Split. Handle nested archives.
410
411 2012-01-09 Roland McGrath <mcgrathr@google.com>
412
413 * configure.in: Use AM_ZLIB.
414 * configure: Regenerated.
415
416 2012-01-06 Nick Clifton <nickc@redhat.com>
417
418 * po/ru.po: Updated Russian translation.
419
420 2012-01-04 Tristan Gingold <gingold@adacore.com>
421
422 * od-macho.c (dump_load_command): Handle fvmlib.
423
424 2012-01-04 Tristan Gingold <gingold@adacore.com>
425
426 * od-macho.c: Update copyright year.
427 (dump_load_command): Handle BFD_MACH_O_LC_ENCRYPTION_INFO.
428
429 For older changes see ChangeLog-2011
430 \f
431 Local Variables:
432 mode: change-log
433 left-margin: 8
434 fill-column: 74
435 version-control: never
436 End:
This page took 0.039038 seconds and 5 git commands to generate.