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