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