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