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