Fixes a seg-fault when displaying the time data for a corrupt archive.
[external/binutils.git] / binutils / ChangeLog
1 2014-11-18  Nick Clifton  <nickc@redhat.com>
2
3         PR binutuls/17605
4         * bucomm.c (print_arelt_descr): Check for ctime returning NULL.
5
6 2014-11-18  Nick Clifton  <nickc@redhat.com>
7
8         PR binutils/17512
9         * dwarf.c (get_encoded_value): Warn and return if the encoded
10         value is more than 64-bits long.
11         (SAFE_BYTE_GET): Do not attempt to read more than 64-bits.
12         (process_extended_line_op): Add more range checks.
13         (decode_location_expression): Use the return value from
14         display_block.  Add more range checks.
15         (read_debug_line_header): Add range check.
16         (display_debug_lines_raw): Add range checks.
17         (display_debug_frames): Silently skip multiple zero terminators.
18         Add range checks.
19         (process_cu_tu_index): Check for non-existant or empty sections.
20         Use SAFE_BYTE_GET instead of byte_get.
21
22 2014-11-18  Nick Clifton  <nickc@redhat.com>
23
24         PR binutils/17531
25         * readelf.c (get_unwind_section_word): Skip reloc processing if
26         there are no relocs associated with the section.
27         (decode_tic6x_unwind_bytecode): Warn and return if the stack
28         pointer adjustment falls off the end of the buffer.
29
30 2014-11-14  Nick Clifton  <nickc@redhat.com>
31
32         PR binutils/17512
33         * dwarf.c (get_encoded_value): Add an 'end' parameter.  Change the
34         'data' parameter to a double pointer and return the updated value.
35         (decode_location_expression): Update call to get_encoded_value.
36         (frame_need_space): Handle the case where one or both of the
37         mallocs fails.
38         (read_cie): Initialise the cie pointer, even if the read fails.
39         (display_debug_frames): Warn if the calculated block_end is before
40         the start of the block.  Break the loop if the CIE could not be
41         read.  Update call to get_encoded_value.  Warn if the read CFA
42         expressions are too big.
43
44 2014-11-13  Nick Clifton  <nickc@redhat.com>
45
46         PR binutils/17531
47         * readelf.c (process_version_sections): If the read of the version
48         def information fails, make sure that the external verdef data is
49         not used.
50         (get_dynamic_data): Do not attempt to allocate memory for more
51         dynamic data than there is in the file.  If the read fails, free
52         the allocated buffer.
53         (process_symbol_table): Do not print dynamic information if we
54         were unable to read the dynamic symbol table.
55         (print_gnu_note): Do not print the note if the descsz is too
56         small.
57
58 2014-11-12  Nick Clifton  <nickc@redhat.com>
59
60         PR binutils/17512
61         * dwarf.c (read_and_display_attr_value): Check that we do not read
62         past end.
63         (display_debug_pubnames_worker): Add range checks.
64         (process_debug_info): Check for invalid pointer sizes.
65         (display_loc_list): Likewise.
66         (display_loc_list_dwo): Likewise.
67         (display_debug_ranges): Likewise.
68         (display_debug_aranges): Check for invalid address size.
69         (read_cie): Add range checks.  Replace call strchr with while loop.
70         * objdump.c (dump_dwarf): Replace abort with a warning message.
71         (print_section_stabs): Improve range checks.
72         * rdcoff.c (coff_get_slot): Use long for indx parameter type.
73         Add check for an excesively large index.
74         * rddbg.c (read_section_stabs_debugging_info): Zero terminate the
75         string table.  Avoid walking off the end of the stabs data.
76         * stabs.c (parse_stab_string): Add check for a NULL name.
77
78 2014-11-11  Nick Clifton  <nickc@redhat.com>
79
80         PR binutils/17531
81         * binutils/readelf.c (dynamic_nent): Change type to size_t.
82         (slurp_rela_relocs): Use size_t type for nrelas.
83         (slurp_rel_relocs): Likewise.
84         (get_program_headers): Improve out of memory error message.
85         (get_32bit_section_headers): Likewise.
86         (get_32bit_section_headers): Likewise.
87         (get_64bit_section_headers): Likewise.
88         (get_32bit_elf_symbols): Likewise.
89         (get_64bit_elf_symbols): Likewise.
90         (process_section_groups): Likewise.
91         (get_32bit_dynamic_section): Likewise.
92         (get_64bit_dynamic_section): Likewise.
93         (process_dynamic_section): Likewise.
94         (process_version_sections): Likewise.
95         (get_symbol_index_type): Likewise.
96         (process_mips_specific): Likewise.
97         (process_corefile_note_segment): Likewise.
98         (process_version_sections): Use size_t type for total.
99         (get_dynamic_data): Change type of number parameter to size_t.
100         Improve out of memory error messages.
101         (process_symbol_table): Change type of nbuckets and nchains to
102         size_t.  Skip processing of sections headers if there are none.
103         Improve out of memory error messages.
104
105 2014-11-11  Nick Clifton  <nickc@redhat.com>
106
107         * po/fr.po: Updated French translation.
108
109 2014-11-11  Nick Clifton  <nickc@redhat.com>
110
111         PR binutils/17531
112         * readelf.c (display_arm_attribute): Avoid reading off the end of
113         the buffer when processing a Tag_nodefaults.
114
115 2014-11-10  Nick Clifton  <nickc@redhat.com>
116
117         PR binutils/17531
118         * (ia64_process_unwind): Replace assertion with an error message.
119         Add range checking for group section indicies.
120         (hppa_process_unwind): Replace assertion with an error message.
121         (process_syminfo): Likewise.
122         (decode_arm_unwind_bytecode): Add range checking.
123         (dump_section_as_strings): Add more string range checking.
124         (display_tag_value): Likewise.
125         (display_arm_attribute): Likewise.
126         (display_gnu_attribute): Likewise.
127         (display_tic6x_attribute): Likewise.
128         (display_msp430x_attribute): Likewise.
129
130 2014-11-10  Nick Clifton  <nickc@redhat.com>
131
132         PR binutils/17552
133         * (copy_archive): Clean up temporary files even if an error
134         occurs.
135
136 2014-11-07  H.J. Lu  <hongjiu.lu@intel.com>
137
138         * readelf.c (process_dynamic_section): Cast time value to unsigned
139         long to print.
140
141 2014-11-07  Nick Clifton  <nickc@redhat.com>
142
143         PR binutils/17531
144         * readelf.c (get_data): Avoid allocating memory when we know that
145         the read will fail.
146         (find_section_by_type): New function.
147         (get_unwind_section_word): Check for invalid symbol indicies.
148         Check for invalid reloc types.
149         (get_32bit_dynamic_section): Add range checks.
150         (get_64bit_dynamic_section): Add range checks.
151         (process_dynamic_section): Check for a corrupt time value.
152         (process_symbol_table): Add range checks.
153         (dump_section_as_strings): Add string length range checks.
154         (display_tag_value): Likewise.
155         (display_arm_attribute): Likewise.
156         (display_gnu_attribute): Likewise.
157         (display_tic6x_attribute): Likewise.
158         (display_msp430x_attribute): Likewise.
159         (process_mips_specific): Add range check.
160
161 2014-11-06  Nick Clifton  <nickc@redhat.com>
162
163         PR binutils/17552, binutils/17533
164         * bucomm.c (is_valid_archive_path): New function.  Returns false
165         for absolute pathnames and pathnames that include /../.
166         * bucomm.h (is_valid_archive_path): Add prototype.
167         * ar.c (extract_file): Use new function to check for valid
168         pathnames when extracting files from an archive.
169         * objcopy.c (copy_archive): Likewise.
170         * doc/binutils.texi: Update documentation to mention the
171         limitation on pathname of archive members.
172
173 2014-11-05  Nick Clifton  <nickc@redhat.com>
174
175         PR binutils/17531
176         * readelf.c (printable_section_name): New function.
177         (printable_section_name_from_index): New function.
178         (dump_relocations): Use new function.
179         (process_program_headers, get_32bit_elf_symbols,
180         (get_64bit_elf_symbols, process_section_headers,
181         (process_section_groups, process_relocs, ia64_process_unwind,
182         (hppa_process_unwind, get_unwind_section_word, decode_arm_unwind,
183         (arm_process_unwind, process_version_sections,
184         (process_symbol_table, apply_relocations, get_section_contents,
185         (dump_section_as_strings, dump_section_as_bytes,
186         (display_debug_section, process_attributes, process_mips_specific,
187         (process_mips_specific process_gnu_liblist): Likewise.
188         (get_unwind_section_word): Check for a missing symbol table.
189         Replace aborts with error messages.
190         (arm_process_unwind): Check for a missing string table.
191         (process_attributes): Check for an attribute length that is too
192         small.
193         (process_mips_specific): Check for a corrupt GOT symbol offset.
194
195 2014-11-05  Nick Clifton  <nickc@redhat.com>
196
197         PR binutils/17533
198         * bucomm.c (is_valid_archive_path): New function.
199         * bucomm.h (is_valid_archive_path): Prototype it.
200         * ar.c (extract_file): Call is_valid_archive_path to verify a
201         member filename before extracting it.
202         * objcopy.c (copy_archive): Likewise.
203
204 2014-11-05  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
205
206         * readelf.c (process_mips_specific): Fix format string warning.
207
208 2014-11-04  Matthew Fortune  <matthew.fortune@imgtec.com>
209
210         * readelf.c (process_mips_specific): Rename index to idx.
211
212 2014-11-04  Nick Clifton  <nickc@redhat.com>
213
214         PR binutils/17531
215         * readelf.c (get_data): If the reason parameter is null, do not
216         print any error messages.
217         (get_32bit_section_headers): Verify section header entry size
218         before reading in the section headers.
219         (get_64bit_section_headers): Likewise.
220         (process_section_headers): Pass FALSE to get_section_headers.
221         (get_file_header): Pass TRUE to get_section_headers.
222         (process_dynamic_section): Change an assert to an error message.
223         (process_symbol_table): Handle corrupt histograms.
224
225         (get_32bit_program_headers): Verify program header entry size
226         before reading in the program headers.
227         (get_64bit_program_headers): Likewise.
228         (get_unwind_section_word): Do nothing if no section was provided.
229         Fail if the offset is outside of the section.
230         (print_dynamic_symbol): Catch out of range symbol indicies.
231         (process_mips_specific): Likewise.
232         (process_attributes): Make sure that there is enough space left in
233         the section before attempting to read the length of the next
234         attribute.
235
236 2014-11-03  Nick Clifton  <nickc@redhat.com>
237
238         PR binutils/17512
239         * objdump.c (slurp_symtab): Fail gracefully if the table could not
240         be read.
241         (dump_relocs_in_section): Likewise.
242
243 2014-11-03  Nick Clifton  <nickc@redhat.com>
244
245         * po/fi.po: Updated Finnish translation.
246         * po/sv.po: Updated Swedish translation.
247
248 2014-11-01  Hans-Peter Nilsson  <hp@axis.com>
249
250         * readelf.c (get_32bit_elf_symbols): Cast error
251         parameters of bfd_size_type with the %lx format to
252         unsigned long.
253
254 2014-10-31  Andrew Pinski  <apinski@cavium.com>
255             Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
256
257         * readelf.c (print_mips_isa_ext): Print the value of Octeon3.
258
259 2014-10-31  Iain Buclaw  <ibuclaw@gdcproject.org>
260
261         * cxxfilt.c (main): Add case for dlang_demangling style.
262
263 2014-10-31  Nick Clifton  <nickc@redhat.com>
264
265         PR binutils/17512
266         * readelf.c (process_program_headers): Avoid memory exhaustion due
267         to corrupt values in a dynamis segment header.
268         (get_32bit_elf_symbols): Do not attempt to read an over-large
269         section.
270         (get_64bit_elf_symbols): Likewise.
271
272 2014-10-31  Nick Clifton  <nickc@redhat.com>
273
274         * strings.c: Add new command line option --data to only scan the
275         initialized, loadable data secions of binaries.  Choose the
276         default behaviour of --all or --data based upon a configure
277         option.
278         * doc/binutils.texi (strings): Update documentation.  Include
279         description  of why the --data option might be unsafe.
280         * configure.ac: Add new option --disable-default-strings-all which
281         restores the old behaviour of strings using --data by default.  If
282         the option is not used make strings use --all by default.
283         * NEWS: Mention the new behaviour of strings.
284         * configure: Regenerate.
285         * config.in: Regenerate.
286
287 2014-10-30  Nick Clifton  <nickc@redhat.com>
288
289         * readelf.c (CHECK_ENTSIZE_VALUES): Rewrite error message so that
290         there is a single string for translation.
291         (dynamic_section_mips_val): Likewise.
292
293 2014-10-29  Nick Clifton  <nickc@redhat.com>
294
295         * po/bg.po: Updated Bulgarian translation.
296         * po/sr.po: New Serbian translation.
297         * po/sv.po: Updated Swedish translation.
298
299 2014-10-22  Matthew Fortune  <matthew.fortune@imgtec.com>
300
301         * readelf.c (print_mips_ases): Print unknown ASEs.
302         (print_mips_isa_ext): Print the value of an unknown extension.
303
304 2014-10-15  Tristan Gingold  <gingold@adacore.com>
305
306         * configure: Regenerate.
307
308 2014-10-14  Tristan Gingold  <gingold@adacore.com>
309
310         * NEWS: Add marker for 2.25.
311
312 2014-10-14  Alan Modra  <amodra@gmail.com>
313
314         PR 17453
315         * dwarf.c (read_leb128): Avoid signed overflow.
316         (read_debug_line_header): Likewise.
317
318 2014-10-14  Alan Modra  <amodra@gmail.com>
319
320         PR 17453
321         * readelf.c (process_program_headers): Correct fscanf format used
322         for interpreter.
323
324 2014-10-09  Jose E. Marchesi  <jose.marchesi@oracle.com>
325
326         * readelf.c (display_sparc_hwcaps2): New function.
327         (display_sparc_gnu_attribute): Call `display_sparc_hwcaps2' when
328         handling `Tag_GNU_Sparc_HWCAPS2' attributes.
329
330 2014-09-22  Alan Modra  <amodra@gmail.com>
331
332         PR 16563
333         * dwarf.c (GET): Remove semicolon.
334         (read_cie): New function, extracted from..
335         (display_debug_frames): ..here.  Correctly handle signed offset
336         from FDE to CIE in .eh_frame.  Decode forward referenced CIEs too.
337
338 2014-09-16  Nick Clifton  <nickc@redhat.com>
339
340         * readelf.c (display_arm_attribute): Use unsigned int type for
341         tag, val and type variables.
342
343 2014-09-16  Kuan-Lin Chen  <kuanlinchentw@gmail.com>
344
345         * readelf.c (decode_NDS32_machine_flags): Display ABI2 FP+.
346
347 2014-09-15  Andrew Bennett  <andrew.bennett@imgtec.com>
348             Matthew Fortune  <matthew.fortune@imgtec.com>
349
350         * readelf.c (get_machine_flags): Add support for mips32r6 and
351         mips64r6.
352
353 2014-09-01  Jon TURNEY  <jon.turney@dronecode.org.uk>
354
355         * objcopy.c (is_nondebug_keep_contents_section): Change
356         '.build-id' to '.buildid'.
357
358 2014-08-22  Richard Henderson  <rth@redhat.com>
359
360         * dwarf.h (init_dwarf_regnames_aarch64): Declare.
361         * dwarf.c (dwarf_regnames_aarch64): New.
362         (init_dwarf_regnames_aarch64): New.
363         (init_dwarf_regnames): Call it.
364         * objdump.c (dump_dwarf): Likewise.
365
366 2014-08-19  Alan Modra  <amodra@gmail.com>
367
368         * configure: Regenerate.
369
370 2014-08-14  Alan Modra  <amodra@gmail.com>
371
372         * configure.ac: Move ACX_LARGEFILE after LT_INIT.
373         * config.in: Regenerate.
374         * configure: Regenerate.
375
376 2014-07-29  Matthew Fortune  <matthew.fortune@imgtec.com>
377
378         * readelf.c (get_mips_segment_type): Display name for PT_MIPS_ABIFLAGS.
379         (get_mips_section_type_name): Display name for SHT_MIPS_ABIFLAGS.
380         (display_mips_gnu_attribute): Abstracted fp abi printing to...
381         (print_mips_fp_abi_value): New static function. Handle new FP ABIs.
382         (print_mips_ases, print_mips_isa_ext): New static functions.
383         (get_mips_reg_size): Likewise.
384         (process_mips_specific): Display abiflags data.
385
386 2014-07-28  Alan Modra  <amodra@gmail.com>
387
388         PR 13227
389         * nm.c (filter_symbols): Warn on __gnu_lto_slim.
390
391 2014-07-07  Nick Clifton  <nickc@redhat.com>
392
393         * readelf.c (get_symbol_type): Revert accidental change to
394         detection of thumb function symbols.
395
396 2014-07-04  Alan Modra  <amodra@gmail.com>
397
398         * configure.ac: Rename from configure.in.
399         * Makefile.in: Regenerate.
400         * config.in: Regenerate.
401         * doc/Makefile.in: Regenerate.
402
403 2014-07-04  Alan Modra  <amodra@gmail.com>
404
405         * configure.in: Include bfd/version.m4.
406         (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
407         (BFD_VERSION): Delete.
408         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
409         * configure: Regenerate.
410         * Makefile.in: Regenerate.
411         * doc/Makefile.in: Regenerate.
412
413 2014-07-03  Tristan Gingold  <gingold@adacore.com>
414
415         * doc/binutils.texi: Clarify addr2line output.
416
417 2014-07-01  Alan Modra  <amodra@gmail.com>
418
419         * objdump.c (dump_bfd_header): Don't print HAS_LOAD_PAGE.
420
421 2014-06-26  Erik Akermann  <kurterikackermann@gmail.com>
422
423         * strings.c: Add -w/--include-all-whitespace option to include any
424         whitespace character in the displayed strings.
425         * NEWS: Mention the new feature.
426         * doc/binutils.texi (strings): Document the new command line
427         option.
428
429 2014-06-26  Nick Clifton  <nickc@redhat.com>
430
431         * readelf.c (process_note_sections): If there are no note sections
432         try processing note segments instead.
433
434 2014-06-17  Anton Lavrentiwev  <lavr@ncbi.nim.nih.gov>
435
436         PR binutils/16923
437         * rcparse.y (fixedverinfo): Prevent large version numbers from
438         corrupting other values.
439
440 2014-06-09  Romain Chastenet  <romain.chastenet@free.fr>
441
442         PR binutils/16252
443         * dwarf.c (display_debug_frames): Remember the state of the
444         cfa_offset, cfa_reg, ra and cfa_exp field
445
446 2014-06-05  Joel Brobecker  <brobecker@adacore.com>
447
448         * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
449         bfd's development.sh.
450         * Makefile.in, configure: Regenerate.
451
452 2014-05-16  Jon Turney  <jon.turney@dronecode.org.uk>
453
454         * objcopy.c (is_nondebug_keep_contents_section): New function.
455         (setup_section): Use it.
456
457 2014-05-16  Kaushik Phata  <Kaushik.Phatak@kpit.com>
458
459         * readelf.c (get_machine_flags): Handle RL78 64-bit doubles flag.
460
461 2014-05-02  Alan Modra  <amodra@gmail.com>
462
463         * emul_aix.c: Update bfd target vector naming.
464         * testsuite/binutils-all/objcopy.exp: Likewise.
465
466 2014-04-24  Christian Svensson  <blue@cmd.nu>
467
468         * MAINTAINERS: Add myself and Stefan as OR1K maintainers.
469
470 2014-04-23  Andrew Bennett  <andrew.bennett@imgtec.com>
471
472         * doc/binutils.texi: Document the disassemble MIPS XPA instructions
473         command line option.
474
475 2014-04-22  Christian Svensson  <blue@cmd.nu>
476
477         * readelf.c: Remove openrisc and or32 support.  Add support for or1k.
478
479 2014-04-18  Tristan Gingold  <gingold@adacore.com>
480
481         * od-macho.c (dump_section_map): Adjust as load commands
482         are now chained.
483         (dump_load_command, dump_section_content): Likewise.
484
485 2014-04-16  Tristan Gingold  <gingold@adacore.com>
486
487         * od-macho.c (OPT_DYLD_INFO): New macro.
488         (options): Add entry for dyld_info.
489         (mach_o_help): Likewise.
490         (load_and_dump, dump_dyld_info_rebase, dump_dyld_info_bind)
491         (dump_dyld_info_export_1, dump_dyld_info_export): New functions.
492         (bfd_mach_o_dyld_rebase_type_name): New array.
493         (export_info_data): New struct.
494         (dump_dyld_info): Add verbose argument.  Dump rebase, bind and
495         exports data.
496         (dump_load_command): Adjust dump_dyld_info call.
497         (mach_o_dump): Handle dyld_info.
498
499 2014-04-16  Tristan Gingold  <gingold@adacore.com>
500
501         * od-macho.c (dump_header): Display sizeofcmds in decimal too.
502         (dump_segment): Reformat output.
503         (dump_dyld_info): Also display end offsets.
504         (dump_load_command): Add IDX argument, display commands size
505         and offset, reformat display.
506         (dump_load_commands): Adjust for added argument.
507
508 2014-04-07  Alan Modra  <amodra@gmail.com>
509
510         PR binutils/16811
511         * objcopy.c (copy_object): Error if no sections.
512
513 2014-04-03  Markus Trippelsdorf  <markus@trippelsdorf.de>
514
515         PR binutils/14698
516         ar.c: Set plugin_target early if plugins are supported.
517         nm.c: Likewise.
518
519 2014-04-03  Tristan Gingold  <gingold@adacore.com>
520
521         * od-macho.c (printf_uint64): New function.
522         (dump_load_command, dump_obj_compact_unwind): Use it.
523         (dump_exe_compact_unwind): Display personality functions.
524
525 2014-04-02  Tristan Gingold  <gingold@adacore.com>
526
527         * od-macho.c (OPT_TWOLEVEL_HINTS): New macro.
528         (options): Add entry for twolevel_hints.
529         (dump_data_in_code): Fix error message.
530         (dump_twolevel_hints): New function.
531         (dump_load_command): Handle prebound dylib, prebind cksum
532         and twolevel hints.
533         (mach_o_dump): Handle twolevel hints.
534
535 2014-04-01  Tristan Gingold  <gingold@adacore.com>
536
537         * od-macho.c (OPT_DATA_IN_CODE): New macro.
538         (options): Add entry for data in code.
539         (mach_o_help): Ditto.
540         (data_in_code_kind_name): New array.
541         (dump_data_in_code): New function.
542         (dump_load_command): Handle data in code.
543         (mach_o_dump): Ditto.
544         (dump_header): Display a terminal newline.
545
546 2014-03-27  Tristan Gingold  <gingold@adacore.com>
547
548         * od-macho.c (dump_load_command): Display value for
549         BFD_MACH_O_LC_DYLD_ENVIRONMENT.  Handle BFD_MACH_O_LC_DATA_IN_CODE
550         and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
551
552 2014-03-27  Tristan Gingold  <gingold@adacore.com>
553
554         * od-macho.c (OPT_FUNCTION_STARTS): New macro.
555         (options): Add entry for function_starts.
556         (mach_o_help): Ditto.
557         (disp_segment_prot): New function.
558         (dump_section_map): Call disp_segment_prot.
559         (dump_function_starts): New function.
560         (dump_obj_compact_unwind): Fix ouput indentation.
561         (dump_exe_compact_unwind): Fix ouput indentation.
562         (mach_o_dump): Handle function_starts.
563
564 2014-03-26  Tristan Gingold  <gingold@adacore.com>
565
566         * od-macho.c (bfd_mach_o_cpu_name): Add BFD_MACH_O_CPU_TYPE_ARM64.
567
568 2014-03-24  Tristan Gingold  <gingold@adacore.com>
569
570         * objdump.c (load_specific_debug_section): Set address of section.
571
572 2014-03-24  Tristan Gingold  <gingold@adacore.com>
573
574         * od-macho.c (dump_unwind_encoding_x86): Set the factor.
575         (dump_exe_compact_unwind): Change the condition.  Improve
576         indentation.
577
578 2014-03-20  Nick Clifton  <nickc@redhat.com>
579
580         * readelf.c (process_version_sections): Fix off-by-one error in
581         previous delta.
582
583 2014-03-19  Nick Clifton  <nickc@redhat.com>
584
585         PR binutils/16723
586         * readelf.c (process_version_sections): Prevent an infinite loop
587         when the vn_next field is zero but there are still entries to be
588         processed.
589
590 2014-03-17  Tristan Gingold  <gingold@adacore.com>
591
592         * od-macho.c (dump_section_header): Renames of dump_section.
593         (dump_segment): Adjust after renaming.
594         (OPT_COMPACT_UNWIND): Define.
595         (options): Add compact unwind.
596         (mach_o_help): Document compact_unwind.
597         (unwind_x86_64_regs, unwind_x86_regs): New arrays.
598         (dump_unwind_encoding_x86, dump_unwind_encoding)
599         (dump_obj_compact_unwind, dump_exe_compact_unwind)
600         (dump_section_content): New functions.
601         (mach_o_dump): Handle compact unwind.
602
603 2014-03-17  Tristan Gingold  <gingold@adacore.com>
604
605         * od-macho.c (dump_load_command): Handle lazy load dylib.
606
607 2014-03-14  Anthony Green  <green@moxielogic.com>
608
609         * objcopy.c (copy_object): Check fwrite return code.
610
611 2014-03-14  Meador Inge  <meadori@codesourcery.com>
612
613         * dwarf.c (strnlen): Move prototype ...
614         * sysdep.h (strnlen): ... to here.
615
616 2014-03-12  Nick Clifton  <nickc@redhat.com>
617
618         PR binutils/16652
619         * doc/binutils.texi (ar cmdline): Move --plugin command line
620         option to after the command option.
621
622 2014-03-12  Dmitry Gorbachev  <d.g.gorbachev@gmail.com>
623
624         PR binutils/16567
625         * deflex.l: Add noinput and nounput options.
626
627 2014-03-12  Alan Modra  <amodra@gmail.com>
628
629         * Makefile.in: Regenerate.
630         * doc/Makefile.in: Regenerate.
631
632 2014-03-06  Nick Clifton  <nickc@redhat.com>
633
634         PR binutils/16664
635         * readelf.c (process_attributes): Add checks for corrupt
636         attribute section names.
637
638 2014-03-05  Alan Modra  <amodra@gmail.com>
639
640         Update copyright years.
641
642 2014-03-03  Alan Modra  <amodra@gmail.com>
643
644         * README: Add "Copyright Notices" paragraph.
645
646 2014-02-11  Cary Coutant  <ccoutant@google.com>
647
648         * binutils/dwarf.c (read_and_display_attr_value): Don't warn
649         for zero-length attribute value.
650
651 2014-02-10  Alan Modra  <amodra@gmail.com>
652
653         * po/binutils.pot: Regenerate.
654
655 2014-02-06  Andrew Pinski  <apinski@cavium.com>
656
657         * readelf.c  (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case.
658
659 2014-02-06  Cary Coutant  <ccoutant@google.com>
660
661         PR binutils/16444
662         * readelf.c (print_gnu_note): Add support for NT_GNU_GOLD_VERSION.
663
664 2014-01-08  H.J. Lu  <hongjiu.lu@intel.com>
665
666         * version.c (print_version): Update copyright year to 2014.
667
668 2014-01-07  Tom Tromey  <tromey@redhat.com>
669
670         * bucomm.c (fatal, non_fatal): Replace obsolete VA_* macros with
671         stdarg macros.
672         * dlltool.c (inform): Replace obsolete VA_* macros with stdarg
673         macros.
674         * dllwrap.c (inform, warn): Replace obsolete VA_* macros with
675         stdarg macros.
676
677 2014-01-07  Tom Tromey  <tromey@redhat.com>
678
679         * coffgrok.h (coff_ofile): Don't use PARAMS.
680         * nlmheader.y (strerror): Don't use PARAMS.
681
682 For older changes see ChangeLog-2013
683 \f
684 Copyright (C) 2014 Free Software Foundation, Inc.
685
686 Copying and distribution of this file, with or without modification,
687 are permitted in any medium without royalty provided the copyright
688 notice and this notice are preserved.
689
690 Local Variables:
691 mode: change-log
692 left-margin: 8
693 fill-column: 74
694 version-control: never
695 End: