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