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