1 2014-12-22 H.J. Lu <hongjiu.lu@intel.com>
3 * dwarf.c (read_cie): Cast size to long to warn.
5 2014-12-22 Nick Clifton <nickc@redhat.com>
8 * dwarf.c (decode_location_expression): Check for an out of range
9 value for a DW_OP_GNU_entry_value expression.
10 (display_debug_lines_raw): Check for a partial
11 .debug_line. section being encountered without a prior, full
13 (display_debug_lines_decoded): Likewise. Also check for
14 li_line_range being zero.
15 (display_debug_pubnames_worker): Check for an invalid pn_length
17 (read_cie): Add range checks.
18 * elfcomm.c (setup_archive): Check for a negative longnames_size.
20 2014-12-18 Mark Wielaard <mjw@redhat.com>
22 * dwarf.c (read_and_display_attr_value): Change display name of
23 DW_LANG_C11 from (ANSI C11) to (C11).
25 2014-12-11 Nick Clifton <nickc@redhat.com>
28 * dwarf.c (display_gdb_index): Add more range checks.
30 2014-12-11 Alan Modra <amodra@gmail.com>
32 * configure.ac: Check for long long and sizes of long long and long.
33 * elfcomm.h (HOST_WIDEST_INT): Test HAVE_LONG_LONG in place of
34 __STDC_VERSION__ and __GNUC__.
35 * strings.c (print_strings): Likewise.
36 * dwarf.c (DWARF_VMA_FMT, DWARF_VMA_FMT_LONG): Likewise.
37 (read_debug_line_header): Use dwarf_vmatoa to print warning.
38 * configure: Regenerate.
39 * config.in: Regenerate.
41 2014-12-10 Alan Modra <amodra@gmail.com>
43 * objdump.c: #include "coff-bfd.h".
45 2014-12-09 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
47 * od-elf32_avr.c (elf32_avr_dump_mem_usage): Fix device initialization.
49 2014-12-09 Nick Clifton <nickc@redhat.com>
52 * objdump.c (display_any_bfd): Avoid infinite loop closing and
53 opening the same archive again and again.
55 2014-12-09 Chen Gang <gang.chen.5i5j@gmail.com>
57 * windres.c (open_file_search): Free path buffer on failure.
59 2014-12-08 Nick Clifton <nickc@redhat.com>
62 * dwarf.c (display_debug_frames): Check for a negative
63 augmentation data length.
64 (display_gdb_index): Check for invalid offsets.
65 * elfcomm.c (process_archive_index_and_symbols): Check for an
66 index number that overflows when multiplied by the ar index size.
67 * readelf.c (dump_ia64_unwind): Add range checks.
68 (slurp_ia64_unwind_table): Change to a boolean function. Add
70 (process_version_sections): Add range checks.
71 (get_symbol_version_string): Add check for missing section
74 2014-12-08 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
76 * configure.ac: Add od-elf32_avr to build.
77 * configure: Regenerate.
78 * od-elf32_avr.c: New file.
79 * objdump.h: Declare objdump_private_desc_elf32_avr.
81 2014-12-06 Eric Botcazou <ebotcazou@adacore.com>
83 * readelf.c: Include elf/visium.h.
84 (guess_is_rela): Deal with EM_VISIUM.
85 (dump_relocations): Likewise.
86 (get_machine_name): Likewise.
87 (get_machine_flags): Likewise.
88 (get_osabi_name): Likewise.
89 (is_32bit_abs_reloc): Likewise.
90 (is_32bit_pcrel_reloc): Likewise.
91 (is_16bit_abs_reloc): Likewise.
93 2014-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
95 * readelf.c (decode_AVR_machine_flags): New function.
96 (get_machine_flags): Add EM_AVR case.
98 2014-12-03 Nick Clifton <nickc@redhat.com>
101 * objdump.c (free_debug_section): Reset the compress_status as
104 2014-12-03 Nick Clifton <nickc@redhat.com>
107 * readelf.c (get_machine_flags): Replace call to abort with a
108 warning message and a return value.
109 (get_elf_section_flags): Likewise.
110 (get_symbol_visibility): Likewise.
111 (get_ia64_symbol_other): Likewise.
112 (get_ia64_symbol_other): Likewise.
113 (is_32bit_abs_reloc): Likewise.
114 (apply_relocations): Likewise.
115 (display_arm_attribute): Likewise.
117 2014-12-02 Denis Chertykov <chertykov@gmail.com>
119 * MAINTAINERS: Fix my email address.
121 2014-12-01 H.J. Lu <hongjiu.lu@intel.com>
123 * dwarf.c (process_cu_tu_index): Properly check for an out of
126 2014-12-01 Nick Clifton <nickc@redhat.com>
129 * dwarf.h (struct dwarf_section): Add user_data field.
130 * dwarf.c (frame_need_space): Check for an over large register
132 (display_debug_frames): Check the return value from
133 frame_need_space. Check for a CFA expression that is so long the
134 start address wraps around.
135 (debug_displays): Initialise the user_data field.
136 * objdump.c (load_specific_debug_section): Save the BFD section
137 pointer in the user_data field of the dwarf_section structure.
138 (free_debug_section): Update BFD section data when freeing section
140 * readelf.c (load_specific_debug_section): Initialise the
143 2014-12-01 Nick Clifton <nickc@redhat.com>
146 * dwarf.c (process_cu_tu_index): Check for an out of range row
148 * elfcomm.c (adjust_relative_path): Change name_len parameter to
149 an unsigned long. Check for path length overflow.
150 (process_archive_index_and_symbols): Check for invalid header
152 (setup_archive): Add checks for invalid archives.
153 (get_archive_member_name): Add range checks.
154 * elfcomm.h (adjust_relative_path): Update prototyoe.
155 * readelf.c (process_archive): Add range checks.
157 2014-11-28 Alan Modra <amodra@gmail.com>
159 * readelf.c (get_32bit_elf_symbols): Cast bfd_size_type values to
160 unsigned long for %lx.
161 (get_64bit_elf_symbols, process_section_groups): Likewise.
163 2014-11-27 Espen Grindhaug <espen@grindhaug.org>
164 Nick Clifton <nickc@redhat.com>
167 * readelf.c (get_data): Move excessive length check to earlier on
168 in the function and allow for wraparound in the arithmetic.
169 (get_32bit_elf_symbols): Terminate early if the section size is
170 zero. Check for an invalid sh_entsize. Check for an index
171 section with an invalid size.
172 (get_64bit_elf_symbols): Likewise.
173 (process_section_groups): Check for an invalid sh_entsize.
175 2014-11-24 Mark Wielaard <mjw@redhat.com>
177 * dwarf.c (read_and_display_attr_value): Handle DW_LANG_C11,
178 DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14.
180 2014-11-26 Nick Clifton <nickc@redhat.com>
183 * dwarf.c (display_block): Do nothing if the block starts after
184 the end of the buffer.
185 (read_and_display_attr_value): Add range checks.
186 (struct Frame_Chunk): Make the ncols and ra fields unsigned.
187 (frame_need_space): Test for an ncols of zero.
188 (read_cie): Fail if the augmentation data extends off the end of
190 (display_debug_frames): Add checks for read_cie failing. Add
193 2014-11-25 H.J. Lu <hongjiu.lu@intel.com>
195 * objdump.c (objdump_print_symname): Replace
196 bfd_elf_get_symbol_version_string with
197 bfd_get_symbol_version_string.
199 2014-11-25 H.J. Lu <hongjiu.lu@intel.com>
202 * objdump.c (objdump_print_symname): Call
203 bfd_elf_get_symbol_version_string to get ELF symbol version
204 string. Append version string if needed.
206 * readelf.c (versioned_symbol_info): New enum.
207 (get_symbol_version_string): New. Extracted from
208 process_symbol_table.
209 (dump_relocations): Add a new argument to indicate if dynamic
210 symbol table is used. Use get_symbol_version_string to get
211 symbol version string for dynamic symbol. Append version string
213 (process_relocs): Updated dump_relocations call.
214 (process_symbol_table): Use get_symbol_version_string.
216 2014-11-24 H.J. Lu <hongjiu.lu@intel.com>
218 * configure: Regenerated.
220 2014-11-21 Nick Clifton <nickc@redhat.com>
223 * dwarf.c (get_encoded_value): Check for an encoded size of 0.
224 (display_debug_lines_raw): Check for an invalid line range value.
225 (display_debug_frames): Check for corrupt augmentation data.
227 2014-11-21 Nick Clifton <nickc@redhat.com>
230 * readelf.c (process_version_sections): Prevent an infinite loop
231 processing corrupt version need data.
232 (process_corefile_note_segment): Handle corrupt notes.
234 2014-11-21 Terry Guo <terry.guo@arm.com>
236 * readelf.c (arm_attr_tag_FP_arch): Extended to support FPv5.
238 2014-11-19 Jan-Benedict Glaw <jbglaw@lug-owl.de>
240 * dwarf.c (process_extended_line_op): Fix signedness warning.
242 2014-11-18 Nick Clifton <nickc@redhat.com>
245 * bucomm.c (print_arelt_descr): Check for ctime returning NULL.
247 2014-11-18 Nick Clifton <nickc@redhat.com>
250 * dwarf.c (get_encoded_value): Warn and return if the encoded
251 value is more than 64-bits long.
252 (SAFE_BYTE_GET): Do not attempt to read more than 64-bits.
253 (process_extended_line_op): Add more range checks.
254 (decode_location_expression): Use the return value from
255 display_block. Add more range checks.
256 (read_debug_line_header): Add range check.
257 (display_debug_lines_raw): Add range checks.
258 (display_debug_frames): Silently skip multiple zero terminators.
260 (process_cu_tu_index): Check for non-existant or empty sections.
261 Use SAFE_BYTE_GET instead of byte_get.
263 2014-11-18 Nick Clifton <nickc@redhat.com>
266 * readelf.c (get_unwind_section_word): Skip reloc processing if
267 there are no relocs associated with the section.
268 (decode_tic6x_unwind_bytecode): Warn and return if the stack
269 pointer adjustment falls off the end of the buffer.
271 2014-11-14 Nick Clifton <nickc@redhat.com>
274 * dwarf.c (get_encoded_value): Add an 'end' parameter. Change the
275 'data' parameter to a double pointer and return the updated value.
276 (decode_location_expression): Update call to get_encoded_value.
277 (frame_need_space): Handle the case where one or both of the
279 (read_cie): Initialise the cie pointer, even if the read fails.
280 (display_debug_frames): Warn if the calculated block_end is before
281 the start of the block. Break the loop if the CIE could not be
282 read. Update call to get_encoded_value. Warn if the read CFA
283 expressions are too big.
285 2014-11-13 Nick Clifton <nickc@redhat.com>
288 * readelf.c (process_version_sections): If the read of the version
289 def information fails, make sure that the external verdef data is
291 (get_dynamic_data): Do not attempt to allocate memory for more
292 dynamic data than there is in the file. If the read fails, free
293 the allocated buffer.
294 (process_symbol_table): Do not print dynamic information if we
295 were unable to read the dynamic symbol table.
296 (print_gnu_note): Do not print the note if the descsz is too
299 2014-11-12 Nick Clifton <nickc@redhat.com>
302 * dwarf.c (read_and_display_attr_value): Check that we do not read
304 (display_debug_pubnames_worker): Add range checks.
305 (process_debug_info): Check for invalid pointer sizes.
306 (display_loc_list): Likewise.
307 (display_loc_list_dwo): Likewise.
308 (display_debug_ranges): Likewise.
309 (display_debug_aranges): Check for invalid address size.
310 (read_cie): Add range checks. Replace call strchr with while loop.
311 * objdump.c (dump_dwarf): Replace abort with a warning message.
312 (print_section_stabs): Improve range checks.
313 * rdcoff.c (coff_get_slot): Use long for indx parameter type.
314 Add check for an excesively large index.
315 * rddbg.c (read_section_stabs_debugging_info): Zero terminate the
316 string table. Avoid walking off the end of the stabs data.
317 * stabs.c (parse_stab_string): Add check for a NULL name.
319 2014-11-11 Nick Clifton <nickc@redhat.com>
322 * binutils/readelf.c (dynamic_nent): Change type to size_t.
323 (slurp_rela_relocs): Use size_t type for nrelas.
324 (slurp_rel_relocs): Likewise.
325 (get_program_headers): Improve out of memory error message.
326 (get_32bit_section_headers): Likewise.
327 (get_32bit_section_headers): Likewise.
328 (get_64bit_section_headers): Likewise.
329 (get_32bit_elf_symbols): Likewise.
330 (get_64bit_elf_symbols): Likewise.
331 (process_section_groups): Likewise.
332 (get_32bit_dynamic_section): Likewise.
333 (get_64bit_dynamic_section): Likewise.
334 (process_dynamic_section): Likewise.
335 (process_version_sections): Likewise.
336 (get_symbol_index_type): Likewise.
337 (process_mips_specific): Likewise.
338 (process_corefile_note_segment): Likewise.
339 (process_version_sections): Use size_t type for total.
340 (get_dynamic_data): Change type of number parameter to size_t.
341 Improve out of memory error messages.
342 (process_symbol_table): Change type of nbuckets and nchains to
343 size_t. Skip processing of sections headers if there are none.
344 Improve out of memory error messages.
346 2014-11-11 Nick Clifton <nickc@redhat.com>
348 * po/fr.po: Updated French translation.
350 2014-11-11 Nick Clifton <nickc@redhat.com>
353 * readelf.c (display_arm_attribute): Avoid reading off the end of
354 the buffer when processing a Tag_nodefaults.
356 2014-11-10 Nick Clifton <nickc@redhat.com>
359 * (ia64_process_unwind): Replace assertion with an error message.
360 Add range checking for group section indicies.
361 (hppa_process_unwind): Replace assertion with an error message.
362 (process_syminfo): Likewise.
363 (decode_arm_unwind_bytecode): Add range checking.
364 (dump_section_as_strings): Add more string range checking.
365 (display_tag_value): Likewise.
366 (display_arm_attribute): Likewise.
367 (display_gnu_attribute): Likewise.
368 (display_tic6x_attribute): Likewise.
369 (display_msp430x_attribute): Likewise.
371 2014-11-10 Nick Clifton <nickc@redhat.com>
374 * (copy_archive): Clean up temporary files even if an error
377 2014-11-07 H.J. Lu <hongjiu.lu@intel.com>
379 * readelf.c (process_dynamic_section): Cast time value to unsigned
382 2014-11-07 Nick Clifton <nickc@redhat.com>
385 * readelf.c (get_data): Avoid allocating memory when we know that
387 (find_section_by_type): New function.
388 (get_unwind_section_word): Check for invalid symbol indicies.
389 Check for invalid reloc types.
390 (get_32bit_dynamic_section): Add range checks.
391 (get_64bit_dynamic_section): Add range checks.
392 (process_dynamic_section): Check for a corrupt time value.
393 (process_symbol_table): Add range checks.
394 (dump_section_as_strings): Add string length range checks.
395 (display_tag_value): Likewise.
396 (display_arm_attribute): Likewise.
397 (display_gnu_attribute): Likewise.
398 (display_tic6x_attribute): Likewise.
399 (display_msp430x_attribute): Likewise.
400 (process_mips_specific): Add range check.
402 2014-11-06 Nick Clifton <nickc@redhat.com>
404 PR binutils/17552, binutils/17533
405 * bucomm.c (is_valid_archive_path): New function. Returns false
406 for absolute pathnames and pathnames that include /../.
407 * bucomm.h (is_valid_archive_path): Add prototype.
408 * ar.c (extract_file): Use new function to check for valid
409 pathnames when extracting files from an archive.
410 * objcopy.c (copy_archive): Likewise.
411 * doc/binutils.texi: Update documentation to mention the
412 limitation on pathname of archive members.
414 2014-11-05 Nick Clifton <nickc@redhat.com>
417 * readelf.c (printable_section_name): New function.
418 (printable_section_name_from_index): New function.
419 (dump_relocations): Use new function.
420 (process_program_headers, get_32bit_elf_symbols,
421 (get_64bit_elf_symbols, process_section_headers,
422 (process_section_groups, process_relocs, ia64_process_unwind,
423 (hppa_process_unwind, get_unwind_section_word, decode_arm_unwind,
424 (arm_process_unwind, process_version_sections,
425 (process_symbol_table, apply_relocations, get_section_contents,
426 (dump_section_as_strings, dump_section_as_bytes,
427 (display_debug_section, process_attributes, process_mips_specific,
428 (process_mips_specific process_gnu_liblist): Likewise.
429 (get_unwind_section_word): Check for a missing symbol table.
430 Replace aborts with error messages.
431 (arm_process_unwind): Check for a missing string table.
432 (process_attributes): Check for an attribute length that is too
434 (process_mips_specific): Check for a corrupt GOT symbol offset.
436 2014-11-05 Nick Clifton <nickc@redhat.com>
439 * bucomm.c (is_valid_archive_path): New function.
440 * bucomm.h (is_valid_archive_path): Prototype it.
441 * ar.c (extract_file): Call is_valid_archive_path to verify a
442 member filename before extracting it.
443 * objcopy.c (copy_archive): Likewise.
445 2014-11-05 Jan-Benedict Glaw <jbglaw@lug-owl.de>
447 * readelf.c (process_mips_specific): Fix format string warning.
449 2014-11-04 Matthew Fortune <matthew.fortune@imgtec.com>
451 * readelf.c (process_mips_specific): Rename index to idx.
453 2014-11-04 Nick Clifton <nickc@redhat.com>
456 * readelf.c (get_data): If the reason parameter is null, do not
457 print any error messages.
458 (get_32bit_section_headers): Verify section header entry size
459 before reading in the section headers.
460 (get_64bit_section_headers): Likewise.
461 (process_section_headers): Pass FALSE to get_section_headers.
462 (get_file_header): Pass TRUE to get_section_headers.
463 (process_dynamic_section): Change an assert to an error message.
464 (process_symbol_table): Handle corrupt histograms.
466 (get_32bit_program_headers): Verify program header entry size
467 before reading in the program headers.
468 (get_64bit_program_headers): Likewise.
469 (get_unwind_section_word): Do nothing if no section was provided.
470 Fail if the offset is outside of the section.
471 (print_dynamic_symbol): Catch out of range symbol indicies.
472 (process_mips_specific): Likewise.
473 (process_attributes): Make sure that there is enough space left in
474 the section before attempting to read the length of the next
477 2014-11-03 Nick Clifton <nickc@redhat.com>
480 * objdump.c (slurp_symtab): Fail gracefully if the table could not
482 (dump_relocs_in_section): Likewise.
484 2014-11-03 Nick Clifton <nickc@redhat.com>
486 * po/fi.po: Updated Finnish translation.
487 * po/sv.po: Updated Swedish translation.
489 2014-11-01 Hans-Peter Nilsson <hp@axis.com>
491 * readelf.c (get_32bit_elf_symbols): Cast error
492 parameters of bfd_size_type with the %lx format to
495 2014-10-31 Andrew Pinski <apinski@cavium.com>
496 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
498 * readelf.c (print_mips_isa_ext): Print the value of Octeon3.
500 2014-10-31 Iain Buclaw <ibuclaw@gdcproject.org>
502 * cxxfilt.c (main): Add case for dlang_demangling style.
504 2014-10-31 Nick Clifton <nickc@redhat.com>
507 * readelf.c (process_program_headers): Avoid memory exhaustion due
508 to corrupt values in a dynamis segment header.
509 (get_32bit_elf_symbols): Do not attempt to read an over-large
511 (get_64bit_elf_symbols): Likewise.
513 2014-10-31 Nick Clifton <nickc@redhat.com>
515 * strings.c: Add new command line option --data to only scan the
516 initialized, loadable data secions of binaries. Choose the
517 default behaviour of --all or --data based upon a configure
519 * doc/binutils.texi (strings): Update documentation. Include
520 description of why the --data option might be unsafe.
521 * configure.ac: Add new option --disable-default-strings-all which
522 restores the old behaviour of strings using --data by default. If
523 the option is not used make strings use --all by default.
524 * NEWS: Mention the new behaviour of strings.
525 * configure: Regenerate.
526 * config.in: Regenerate.
528 2014-10-30 Nick Clifton <nickc@redhat.com>
530 * readelf.c (CHECK_ENTSIZE_VALUES): Rewrite error message so that
531 there is a single string for translation.
532 (dynamic_section_mips_val): Likewise.
534 2014-10-29 Nick Clifton <nickc@redhat.com>
536 * po/bg.po: Updated Bulgarian translation.
537 * po/sr.po: New Serbian translation.
538 * po/sv.po: Updated Swedish translation.
540 2014-10-22 Matthew Fortune <matthew.fortune@imgtec.com>
542 * readelf.c (print_mips_ases): Print unknown ASEs.
543 (print_mips_isa_ext): Print the value of an unknown extension.
545 2014-10-15 Tristan Gingold <gingold@adacore.com>
547 * configure: Regenerate.
549 2014-10-14 Tristan Gingold <gingold@adacore.com>
551 * NEWS: Add marker for 2.25.
553 2014-10-14 Alan Modra <amodra@gmail.com>
556 * dwarf.c (read_leb128): Avoid signed overflow.
557 (read_debug_line_header): Likewise.
559 2014-10-14 Alan Modra <amodra@gmail.com>
562 * readelf.c (process_program_headers): Correct fscanf format used
565 2014-10-09 Jose E. Marchesi <jose.marchesi@oracle.com>
567 * readelf.c (display_sparc_hwcaps2): New function.
568 (display_sparc_gnu_attribute): Call `display_sparc_hwcaps2' when
569 handling `Tag_GNU_Sparc_HWCAPS2' attributes.
571 2014-09-22 Alan Modra <amodra@gmail.com>
574 * dwarf.c (GET): Remove semicolon.
575 (read_cie): New function, extracted from..
576 (display_debug_frames): ..here. Correctly handle signed offset
577 from FDE to CIE in .eh_frame. Decode forward referenced CIEs too.
579 2014-09-16 Nick Clifton <nickc@redhat.com>
581 * readelf.c (display_arm_attribute): Use unsigned int type for
582 tag, val and type variables.
584 2014-09-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
586 * readelf.c (decode_NDS32_machine_flags): Display ABI2 FP+.
588 2014-09-15 Andrew Bennett <andrew.bennett@imgtec.com>
589 Matthew Fortune <matthew.fortune@imgtec.com>
591 * readelf.c (get_machine_flags): Add support for mips32r6 and
594 2014-09-01 Jon TURNEY <jon.turney@dronecode.org.uk>
596 * objcopy.c (is_nondebug_keep_contents_section): Change
597 '.build-id' to '.buildid'.
599 2014-08-22 Richard Henderson <rth@redhat.com>
601 * dwarf.h (init_dwarf_regnames_aarch64): Declare.
602 * dwarf.c (dwarf_regnames_aarch64): New.
603 (init_dwarf_regnames_aarch64): New.
604 (init_dwarf_regnames): Call it.
605 * objdump.c (dump_dwarf): Likewise.
607 2014-08-19 Alan Modra <amodra@gmail.com>
609 * configure: Regenerate.
611 2014-08-14 Alan Modra <amodra@gmail.com>
613 * configure.ac: Move ACX_LARGEFILE after LT_INIT.
614 * config.in: Regenerate.
615 * configure: Regenerate.
617 2014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
619 * readelf.c (get_mips_segment_type): Display name for PT_MIPS_ABIFLAGS.
620 (get_mips_section_type_name): Display name for SHT_MIPS_ABIFLAGS.
621 (display_mips_gnu_attribute): Abstracted fp abi printing to...
622 (print_mips_fp_abi_value): New static function. Handle new FP ABIs.
623 (print_mips_ases, print_mips_isa_ext): New static functions.
624 (get_mips_reg_size): Likewise.
625 (process_mips_specific): Display abiflags data.
627 2014-07-28 Alan Modra <amodra@gmail.com>
630 * nm.c (filter_symbols): Warn on __gnu_lto_slim.
632 2014-07-07 Nick Clifton <nickc@redhat.com>
634 * readelf.c (get_symbol_type): Revert accidental change to
635 detection of thumb function symbols.
637 2014-07-04 Alan Modra <amodra@gmail.com>
639 * configure.ac: Rename from configure.in.
640 * Makefile.in: Regenerate.
641 * config.in: Regenerate.
642 * doc/Makefile.in: Regenerate.
644 2014-07-04 Alan Modra <amodra@gmail.com>
646 * configure.in: Include bfd/version.m4.
647 (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
648 (BFD_VERSION): Delete.
649 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
650 * configure: Regenerate.
651 * Makefile.in: Regenerate.
652 * doc/Makefile.in: Regenerate.
654 2014-07-03 Tristan Gingold <gingold@adacore.com>
656 * doc/binutils.texi: Clarify addr2line output.
658 2014-07-01 Alan Modra <amodra@gmail.com>
660 * objdump.c (dump_bfd_header): Don't print HAS_LOAD_PAGE.
662 2014-06-26 Erik Akermann <kurterikackermann@gmail.com>
664 * strings.c: Add -w/--include-all-whitespace option to include any
665 whitespace character in the displayed strings.
666 * NEWS: Mention the new feature.
667 * doc/binutils.texi (strings): Document the new command line
670 2014-06-26 Nick Clifton <nickc@redhat.com>
672 * readelf.c (process_note_sections): If there are no note sections
673 try processing note segments instead.
675 2014-06-17 Anton Lavrentiwev <lavr@ncbi.nim.nih.gov>
678 * rcparse.y (fixedverinfo): Prevent large version numbers from
679 corrupting other values.
681 2014-06-09 Romain Chastenet <romain.chastenet@free.fr>
684 * dwarf.c (display_debug_frames): Remember the state of the
685 cfa_offset, cfa_reg, ra and cfa_exp field
687 2014-06-05 Joel Brobecker <brobecker@adacore.com>
689 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
690 bfd's development.sh.
691 * Makefile.in, configure: Regenerate.
693 2014-05-16 Jon Turney <jon.turney@dronecode.org.uk>
695 * objcopy.c (is_nondebug_keep_contents_section): New function.
696 (setup_section): Use it.
698 2014-05-16 Kaushik Phata <Kaushik.Phatak@kpit.com>
700 * readelf.c (get_machine_flags): Handle RL78 64-bit doubles flag.
702 2014-05-02 Alan Modra <amodra@gmail.com>
704 * emul_aix.c: Update bfd target vector naming.
705 * testsuite/binutils-all/objcopy.exp: Likewise.
707 2014-04-24 Christian Svensson <blue@cmd.nu>
709 * MAINTAINERS: Add myself and Stefan as OR1K maintainers.
711 2014-04-23 Andrew Bennett <andrew.bennett@imgtec.com>
713 * doc/binutils.texi: Document the disassemble MIPS XPA instructions
716 2014-04-22 Christian Svensson <blue@cmd.nu>
718 * readelf.c: Remove openrisc and or32 support. Add support for or1k.
720 2014-04-18 Tristan Gingold <gingold@adacore.com>
722 * od-macho.c (dump_section_map): Adjust as load commands
724 (dump_load_command, dump_section_content): Likewise.
726 2014-04-16 Tristan Gingold <gingold@adacore.com>
728 * od-macho.c (OPT_DYLD_INFO): New macro.
729 (options): Add entry for dyld_info.
730 (mach_o_help): Likewise.
731 (load_and_dump, dump_dyld_info_rebase, dump_dyld_info_bind)
732 (dump_dyld_info_export_1, dump_dyld_info_export): New functions.
733 (bfd_mach_o_dyld_rebase_type_name): New array.
734 (export_info_data): New struct.
735 (dump_dyld_info): Add verbose argument. Dump rebase, bind and
737 (dump_load_command): Adjust dump_dyld_info call.
738 (mach_o_dump): Handle dyld_info.
740 2014-04-16 Tristan Gingold <gingold@adacore.com>
742 * od-macho.c (dump_header): Display sizeofcmds in decimal too.
743 (dump_segment): Reformat output.
744 (dump_dyld_info): Also display end offsets.
745 (dump_load_command): Add IDX argument, display commands size
746 and offset, reformat display.
747 (dump_load_commands): Adjust for added argument.
749 2014-04-07 Alan Modra <amodra@gmail.com>
752 * objcopy.c (copy_object): Error if no sections.
754 2014-04-03 Markus Trippelsdorf <markus@trippelsdorf.de>
757 ar.c: Set plugin_target early if plugins are supported.
760 2014-04-03 Tristan Gingold <gingold@adacore.com>
762 * od-macho.c (printf_uint64): New function.
763 (dump_load_command, dump_obj_compact_unwind): Use it.
764 (dump_exe_compact_unwind): Display personality functions.
766 2014-04-02 Tristan Gingold <gingold@adacore.com>
768 * od-macho.c (OPT_TWOLEVEL_HINTS): New macro.
769 (options): Add entry for twolevel_hints.
770 (dump_data_in_code): Fix error message.
771 (dump_twolevel_hints): New function.
772 (dump_load_command): Handle prebound dylib, prebind cksum
774 (mach_o_dump): Handle twolevel hints.
776 2014-04-01 Tristan Gingold <gingold@adacore.com>
778 * od-macho.c (OPT_DATA_IN_CODE): New macro.
779 (options): Add entry for data in code.
780 (mach_o_help): Ditto.
781 (data_in_code_kind_name): New array.
782 (dump_data_in_code): New function.
783 (dump_load_command): Handle data in code.
784 (mach_o_dump): Ditto.
785 (dump_header): Display a terminal newline.
787 2014-03-27 Tristan Gingold <gingold@adacore.com>
789 * od-macho.c (dump_load_command): Display value for
790 BFD_MACH_O_LC_DYLD_ENVIRONMENT. Handle BFD_MACH_O_LC_DATA_IN_CODE
791 and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
793 2014-03-27 Tristan Gingold <gingold@adacore.com>
795 * od-macho.c (OPT_FUNCTION_STARTS): New macro.
796 (options): Add entry for function_starts.
797 (mach_o_help): Ditto.
798 (disp_segment_prot): New function.
799 (dump_section_map): Call disp_segment_prot.
800 (dump_function_starts): New function.
801 (dump_obj_compact_unwind): Fix ouput indentation.
802 (dump_exe_compact_unwind): Fix ouput indentation.
803 (mach_o_dump): Handle function_starts.
805 2014-03-26 Tristan Gingold <gingold@adacore.com>
807 * od-macho.c (bfd_mach_o_cpu_name): Add BFD_MACH_O_CPU_TYPE_ARM64.
809 2014-03-24 Tristan Gingold <gingold@adacore.com>
811 * objdump.c (load_specific_debug_section): Set address of section.
813 2014-03-24 Tristan Gingold <gingold@adacore.com>
815 * od-macho.c (dump_unwind_encoding_x86): Set the factor.
816 (dump_exe_compact_unwind): Change the condition. Improve
819 2014-03-20 Nick Clifton <nickc@redhat.com>
821 * readelf.c (process_version_sections): Fix off-by-one error in
824 2014-03-19 Nick Clifton <nickc@redhat.com>
827 * readelf.c (process_version_sections): Prevent an infinite loop
828 when the vn_next field is zero but there are still entries to be
831 2014-03-17 Tristan Gingold <gingold@adacore.com>
833 * od-macho.c (dump_section_header): Renames of dump_section.
834 (dump_segment): Adjust after renaming.
835 (OPT_COMPACT_UNWIND): Define.
836 (options): Add compact unwind.
837 (mach_o_help): Document compact_unwind.
838 (unwind_x86_64_regs, unwind_x86_regs): New arrays.
839 (dump_unwind_encoding_x86, dump_unwind_encoding)
840 (dump_obj_compact_unwind, dump_exe_compact_unwind)
841 (dump_section_content): New functions.
842 (mach_o_dump): Handle compact unwind.
844 2014-03-17 Tristan Gingold <gingold@adacore.com>
846 * od-macho.c (dump_load_command): Handle lazy load dylib.
848 2014-03-14 Anthony Green <green@moxielogic.com>
850 * objcopy.c (copy_object): Check fwrite return code.
852 2014-03-14 Meador Inge <meadori@codesourcery.com>
854 * dwarf.c (strnlen): Move prototype ...
855 * sysdep.h (strnlen): ... to here.
857 2014-03-12 Nick Clifton <nickc@redhat.com>
860 * doc/binutils.texi (ar cmdline): Move --plugin command line
861 option to after the command option.
863 2014-03-12 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
866 * deflex.l: Add noinput and nounput options.
868 2014-03-12 Alan Modra <amodra@gmail.com>
870 * Makefile.in: Regenerate.
871 * doc/Makefile.in: Regenerate.
873 2014-03-06 Nick Clifton <nickc@redhat.com>
876 * readelf.c (process_attributes): Add checks for corrupt
877 attribute section names.
879 2014-03-05 Alan Modra <amodra@gmail.com>
881 Update copyright years.
883 2014-03-03 Alan Modra <amodra@gmail.com>
885 * README: Add "Copyright Notices" paragraph.
887 2014-02-11 Cary Coutant <ccoutant@google.com>
889 * binutils/dwarf.c (read_and_display_attr_value): Don't warn
890 for zero-length attribute value.
892 2014-02-10 Alan Modra <amodra@gmail.com>
894 * po/binutils.pot: Regenerate.
896 2014-02-06 Andrew Pinski <apinski@cavium.com>
898 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case.
900 2014-02-06 Cary Coutant <ccoutant@google.com>
903 * readelf.c (print_gnu_note): Add support for NT_GNU_GOLD_VERSION.
905 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
907 * version.c (print_version): Update copyright year to 2014.
909 2014-01-07 Tom Tromey <tromey@redhat.com>
911 * bucomm.c (fatal, non_fatal): Replace obsolete VA_* macros with
913 * dlltool.c (inform): Replace obsolete VA_* macros with stdarg
915 * dllwrap.c (inform, warn): Replace obsolete VA_* macros with
918 2014-01-07 Tom Tromey <tromey@redhat.com>
920 * coffgrok.h (coff_ofile): Don't use PARAMS.
921 * nlmheader.y (strerror): Don't use PARAMS.
923 For older changes see ChangeLog-2013
925 Copyright (C) 2014 Free Software Foundation, Inc.
927 Copying and distribution of this file, with or without modification,
928 are permitted in any medium without royalty provided the copyright
929 notice and this notice are preserved.
935 version-control: never