1 2014-12-01 Nick Clifton <nickc@redhat.com>
4 * dwarf.h (struct dwarf_section): Add user_data field.
5 * dwarf.c (frame_need_space): Check for an over large register
7 (display_debug_frames): Check the return value from
8 frame_need_space. Check for a CFA expression that is so long the
9 start address wraps around.
10 (debug_displays): Initialise the user_data field.
11 * objdump.c (load_specific_debug_section): Save the BFD section
12 pointer in the user_data field of the dwarf_section structure.
13 (free_debug_section): Update BFD section data when freeing section
15 * readelf.c (load_specific_debug_section): Initialise the
18 2014-12-01 Nick Clifton <nickc@redhat.com>
21 * dwarf.c (process_cu_tu_index): Check for an out of range row
23 * elfcomm.c (adjust_relative_path): Change name_len parameter to
24 an unsigned long. Check for path length overflow.
25 (process_archive_index_and_symbols): Check for invalid header
27 (setup_archive): Add checks for invalid archives.
28 (get_archive_member_name): Add range checks.
29 * elfcomm.h (adjust_relative_path): Update prototyoe.
30 * readelf.c (process_archive): Add range checks.
32 2014-11-28 Alan Modra <amodra@gmail.com>
34 * readelf.c (get_32bit_elf_symbols): Cast bfd_size_type values to
35 unsigned long for %lx.
36 (get_64bit_elf_symbols, process_section_groups): Likewise.
38 2014-11-27 Espen Grindhaug <espen@grindhaug.org>
39 Nick Clifton <nickc@redhat.com>
42 * readelf.c (get_data): Move excessive length check to earlier on
43 in the function and allow for wraparound in the arithmetic.
44 (get_32bit_elf_symbols): Terminate early if the section size is
45 zero. Check for an invalid sh_entsize. Check for an index
46 section with an invalid size.
47 (get_64bit_elf_symbols): Likewise.
48 (process_section_groups): Check for an invalid sh_entsize.
50 2014-11-24 Mark Wielaard <mjw@redhat.com>
52 * dwarf.c (read_and_display_attr_value): Handle DW_LANG_C11,
53 DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14.
55 2014-11-26 Nick Clifton <nickc@redhat.com>
58 * dwarf.c (display_block): Do nothing if the block starts after
59 the end of the buffer.
60 (read_and_display_attr_value): Add range checks.
61 (struct Frame_Chunk): Make the ncols and ra fields unsigned.
62 (frame_need_space): Test for an ncols of zero.
63 (read_cie): Fail if the augmentation data extends off the end of
65 (display_debug_frames): Add checks for read_cie failing. Add
68 2014-11-25 H.J. Lu <hongjiu.lu@intel.com>
70 * objdump.c (objdump_print_symname): Replace
71 bfd_elf_get_symbol_version_string with
72 bfd_get_symbol_version_string.
74 2014-11-25 H.J. Lu <hongjiu.lu@intel.com>
77 * objdump.c (objdump_print_symname): Call
78 bfd_elf_get_symbol_version_string to get ELF symbol version
79 string. Append version string if needed.
81 * readelf.c (versioned_symbol_info): New enum.
82 (get_symbol_version_string): New. Extracted from
84 (dump_relocations): Add a new argument to indicate if dynamic
85 symbol table is used. Use get_symbol_version_string to get
86 symbol version string for dynamic symbol. Append version string
88 (process_relocs): Updated dump_relocations call.
89 (process_symbol_table): Use get_symbol_version_string.
91 2014-11-24 H.J. Lu <hongjiu.lu@intel.com>
93 * configure: Regenerated.
95 2014-11-21 Nick Clifton <nickc@redhat.com>
98 * dwarf.c (get_encoded_value): Check for an encoded size of 0.
99 (display_debug_lines_raw): Check for an invalid line range value.
100 (display_debug_frames): Check for corrupt augmentation data.
102 2014-11-21 Nick Clifton <nickc@redhat.com>
105 * readelf.c (process_version_sections): Prevent an infinite loop
106 processing corrupt version need data.
107 (process_corefile_note_segment): Handle corrupt notes.
109 2014-11-21 Terry Guo <terry.guo@arm.com>
111 * readelf.c (arm_attr_tag_FP_arch): Extended to support FPv5.
113 2014-11-19 Jan-Benedict Glaw <jbglaw@lug-owl.de>
115 * dwarf.c (process_extended_line_op): Fix signedness warning.
117 2014-11-18 Nick Clifton <nickc@redhat.com>
120 * bucomm.c (print_arelt_descr): Check for ctime returning NULL.
122 2014-11-18 Nick Clifton <nickc@redhat.com>
125 * dwarf.c (get_encoded_value): Warn and return if the encoded
126 value is more than 64-bits long.
127 (SAFE_BYTE_GET): Do not attempt to read more than 64-bits.
128 (process_extended_line_op): Add more range checks.
129 (decode_location_expression): Use the return value from
130 display_block. Add more range checks.
131 (read_debug_line_header): Add range check.
132 (display_debug_lines_raw): Add range checks.
133 (display_debug_frames): Silently skip multiple zero terminators.
135 (process_cu_tu_index): Check for non-existant or empty sections.
136 Use SAFE_BYTE_GET instead of byte_get.
138 2014-11-18 Nick Clifton <nickc@redhat.com>
141 * readelf.c (get_unwind_section_word): Skip reloc processing if
142 there are no relocs associated with the section.
143 (decode_tic6x_unwind_bytecode): Warn and return if the stack
144 pointer adjustment falls off the end of the buffer.
146 2014-11-14 Nick Clifton <nickc@redhat.com>
149 * dwarf.c (get_encoded_value): Add an 'end' parameter. Change the
150 'data' parameter to a double pointer and return the updated value.
151 (decode_location_expression): Update call to get_encoded_value.
152 (frame_need_space): Handle the case where one or both of the
154 (read_cie): Initialise the cie pointer, even if the read fails.
155 (display_debug_frames): Warn if the calculated block_end is before
156 the start of the block. Break the loop if the CIE could not be
157 read. Update call to get_encoded_value. Warn if the read CFA
158 expressions are too big.
160 2014-11-13 Nick Clifton <nickc@redhat.com>
163 * readelf.c (process_version_sections): If the read of the version
164 def information fails, make sure that the external verdef data is
166 (get_dynamic_data): Do not attempt to allocate memory for more
167 dynamic data than there is in the file. If the read fails, free
168 the allocated buffer.
169 (process_symbol_table): Do not print dynamic information if we
170 were unable to read the dynamic symbol table.
171 (print_gnu_note): Do not print the note if the descsz is too
174 2014-11-12 Nick Clifton <nickc@redhat.com>
177 * dwarf.c (read_and_display_attr_value): Check that we do not read
179 (display_debug_pubnames_worker): Add range checks.
180 (process_debug_info): Check for invalid pointer sizes.
181 (display_loc_list): Likewise.
182 (display_loc_list_dwo): Likewise.
183 (display_debug_ranges): Likewise.
184 (display_debug_aranges): Check for invalid address size.
185 (read_cie): Add range checks. Replace call strchr with while loop.
186 * objdump.c (dump_dwarf): Replace abort with a warning message.
187 (print_section_stabs): Improve range checks.
188 * rdcoff.c (coff_get_slot): Use long for indx parameter type.
189 Add check for an excesively large index.
190 * rddbg.c (read_section_stabs_debugging_info): Zero terminate the
191 string table. Avoid walking off the end of the stabs data.
192 * stabs.c (parse_stab_string): Add check for a NULL name.
194 2014-11-11 Nick Clifton <nickc@redhat.com>
197 * binutils/readelf.c (dynamic_nent): Change type to size_t.
198 (slurp_rela_relocs): Use size_t type for nrelas.
199 (slurp_rel_relocs): Likewise.
200 (get_program_headers): Improve out of memory error message.
201 (get_32bit_section_headers): Likewise.
202 (get_32bit_section_headers): Likewise.
203 (get_64bit_section_headers): Likewise.
204 (get_32bit_elf_symbols): Likewise.
205 (get_64bit_elf_symbols): Likewise.
206 (process_section_groups): Likewise.
207 (get_32bit_dynamic_section): Likewise.
208 (get_64bit_dynamic_section): Likewise.
209 (process_dynamic_section): Likewise.
210 (process_version_sections): Likewise.
211 (get_symbol_index_type): Likewise.
212 (process_mips_specific): Likewise.
213 (process_corefile_note_segment): Likewise.
214 (process_version_sections): Use size_t type for total.
215 (get_dynamic_data): Change type of number parameter to size_t.
216 Improve out of memory error messages.
217 (process_symbol_table): Change type of nbuckets and nchains to
218 size_t. Skip processing of sections headers if there are none.
219 Improve out of memory error messages.
221 2014-11-11 Nick Clifton <nickc@redhat.com>
223 * po/fr.po: Updated French translation.
225 2014-11-11 Nick Clifton <nickc@redhat.com>
228 * readelf.c (display_arm_attribute): Avoid reading off the end of
229 the buffer when processing a Tag_nodefaults.
231 2014-11-10 Nick Clifton <nickc@redhat.com>
234 * (ia64_process_unwind): Replace assertion with an error message.
235 Add range checking for group section indicies.
236 (hppa_process_unwind): Replace assertion with an error message.
237 (process_syminfo): Likewise.
238 (decode_arm_unwind_bytecode): Add range checking.
239 (dump_section_as_strings): Add more string range checking.
240 (display_tag_value): Likewise.
241 (display_arm_attribute): Likewise.
242 (display_gnu_attribute): Likewise.
243 (display_tic6x_attribute): Likewise.
244 (display_msp430x_attribute): Likewise.
246 2014-11-10 Nick Clifton <nickc@redhat.com>
249 * (copy_archive): Clean up temporary files even if an error
252 2014-11-07 H.J. Lu <hongjiu.lu@intel.com>
254 * readelf.c (process_dynamic_section): Cast time value to unsigned
257 2014-11-07 Nick Clifton <nickc@redhat.com>
260 * readelf.c (get_data): Avoid allocating memory when we know that
262 (find_section_by_type): New function.
263 (get_unwind_section_word): Check for invalid symbol indicies.
264 Check for invalid reloc types.
265 (get_32bit_dynamic_section): Add range checks.
266 (get_64bit_dynamic_section): Add range checks.
267 (process_dynamic_section): Check for a corrupt time value.
268 (process_symbol_table): Add range checks.
269 (dump_section_as_strings): Add string length range checks.
270 (display_tag_value): Likewise.
271 (display_arm_attribute): Likewise.
272 (display_gnu_attribute): Likewise.
273 (display_tic6x_attribute): Likewise.
274 (display_msp430x_attribute): Likewise.
275 (process_mips_specific): Add range check.
277 2014-11-06 Nick Clifton <nickc@redhat.com>
279 PR binutils/17552, binutils/17533
280 * bucomm.c (is_valid_archive_path): New function. Returns false
281 for absolute pathnames and pathnames that include /../.
282 * bucomm.h (is_valid_archive_path): Add prototype.
283 * ar.c (extract_file): Use new function to check for valid
284 pathnames when extracting files from an archive.
285 * objcopy.c (copy_archive): Likewise.
286 * doc/binutils.texi: Update documentation to mention the
287 limitation on pathname of archive members.
289 2014-11-05 Nick Clifton <nickc@redhat.com>
292 * readelf.c (printable_section_name): New function.
293 (printable_section_name_from_index): New function.
294 (dump_relocations): Use new function.
295 (process_program_headers, get_32bit_elf_symbols,
296 (get_64bit_elf_symbols, process_section_headers,
297 (process_section_groups, process_relocs, ia64_process_unwind,
298 (hppa_process_unwind, get_unwind_section_word, decode_arm_unwind,
299 (arm_process_unwind, process_version_sections,
300 (process_symbol_table, apply_relocations, get_section_contents,
301 (dump_section_as_strings, dump_section_as_bytes,
302 (display_debug_section, process_attributes, process_mips_specific,
303 (process_mips_specific process_gnu_liblist): Likewise.
304 (get_unwind_section_word): Check for a missing symbol table.
305 Replace aborts with error messages.
306 (arm_process_unwind): Check for a missing string table.
307 (process_attributes): Check for an attribute length that is too
309 (process_mips_specific): Check for a corrupt GOT symbol offset.
311 2014-11-05 Nick Clifton <nickc@redhat.com>
314 * bucomm.c (is_valid_archive_path): New function.
315 * bucomm.h (is_valid_archive_path): Prototype it.
316 * ar.c (extract_file): Call is_valid_archive_path to verify a
317 member filename before extracting it.
318 * objcopy.c (copy_archive): Likewise.
320 2014-11-05 Jan-Benedict Glaw <jbglaw@lug-owl.de>
322 * readelf.c (process_mips_specific): Fix format string warning.
324 2014-11-04 Matthew Fortune <matthew.fortune@imgtec.com>
326 * readelf.c (process_mips_specific): Rename index to idx.
328 2014-11-04 Nick Clifton <nickc@redhat.com>
331 * readelf.c (get_data): If the reason parameter is null, do not
332 print any error messages.
333 (get_32bit_section_headers): Verify section header entry size
334 before reading in the section headers.
335 (get_64bit_section_headers): Likewise.
336 (process_section_headers): Pass FALSE to get_section_headers.
337 (get_file_header): Pass TRUE to get_section_headers.
338 (process_dynamic_section): Change an assert to an error message.
339 (process_symbol_table): Handle corrupt histograms.
341 (get_32bit_program_headers): Verify program header entry size
342 before reading in the program headers.
343 (get_64bit_program_headers): Likewise.
344 (get_unwind_section_word): Do nothing if no section was provided.
345 Fail if the offset is outside of the section.
346 (print_dynamic_symbol): Catch out of range symbol indicies.
347 (process_mips_specific): Likewise.
348 (process_attributes): Make sure that there is enough space left in
349 the section before attempting to read the length of the next
352 2014-11-03 Nick Clifton <nickc@redhat.com>
355 * objdump.c (slurp_symtab): Fail gracefully if the table could not
357 (dump_relocs_in_section): Likewise.
359 2014-11-03 Nick Clifton <nickc@redhat.com>
361 * po/fi.po: Updated Finnish translation.
362 * po/sv.po: Updated Swedish translation.
364 2014-11-01 Hans-Peter Nilsson <hp@axis.com>
366 * readelf.c (get_32bit_elf_symbols): Cast error
367 parameters of bfd_size_type with the %lx format to
370 2014-10-31 Andrew Pinski <apinski@cavium.com>
371 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
373 * readelf.c (print_mips_isa_ext): Print the value of Octeon3.
375 2014-10-31 Iain Buclaw <ibuclaw@gdcproject.org>
377 * cxxfilt.c (main): Add case for dlang_demangling style.
379 2014-10-31 Nick Clifton <nickc@redhat.com>
382 * readelf.c (process_program_headers): Avoid memory exhaustion due
383 to corrupt values in a dynamis segment header.
384 (get_32bit_elf_symbols): Do not attempt to read an over-large
386 (get_64bit_elf_symbols): Likewise.
388 2014-10-31 Nick Clifton <nickc@redhat.com>
390 * strings.c: Add new command line option --data to only scan the
391 initialized, loadable data secions of binaries. Choose the
392 default behaviour of --all or --data based upon a configure
394 * doc/binutils.texi (strings): Update documentation. Include
395 description of why the --data option might be unsafe.
396 * configure.ac: Add new option --disable-default-strings-all which
397 restores the old behaviour of strings using --data by default. If
398 the option is not used make strings use --all by default.
399 * NEWS: Mention the new behaviour of strings.
400 * configure: Regenerate.
401 * config.in: Regenerate.
403 2014-10-30 Nick Clifton <nickc@redhat.com>
405 * readelf.c (CHECK_ENTSIZE_VALUES): Rewrite error message so that
406 there is a single string for translation.
407 (dynamic_section_mips_val): Likewise.
409 2014-10-29 Nick Clifton <nickc@redhat.com>
411 * po/bg.po: Updated Bulgarian translation.
412 * po/sr.po: New Serbian translation.
413 * po/sv.po: Updated Swedish translation.
415 2014-10-22 Matthew Fortune <matthew.fortune@imgtec.com>
417 * readelf.c (print_mips_ases): Print unknown ASEs.
418 (print_mips_isa_ext): Print the value of an unknown extension.
420 2014-10-15 Tristan Gingold <gingold@adacore.com>
422 * configure: Regenerate.
424 2014-10-14 Tristan Gingold <gingold@adacore.com>
426 * NEWS: Add marker for 2.25.
428 2014-10-14 Alan Modra <amodra@gmail.com>
431 * dwarf.c (read_leb128): Avoid signed overflow.
432 (read_debug_line_header): Likewise.
434 2014-10-14 Alan Modra <amodra@gmail.com>
437 * readelf.c (process_program_headers): Correct fscanf format used
440 2014-10-09 Jose E. Marchesi <jose.marchesi@oracle.com>
442 * readelf.c (display_sparc_hwcaps2): New function.
443 (display_sparc_gnu_attribute): Call `display_sparc_hwcaps2' when
444 handling `Tag_GNU_Sparc_HWCAPS2' attributes.
446 2014-09-22 Alan Modra <amodra@gmail.com>
449 * dwarf.c (GET): Remove semicolon.
450 (read_cie): New function, extracted from..
451 (display_debug_frames): ..here. Correctly handle signed offset
452 from FDE to CIE in .eh_frame. Decode forward referenced CIEs too.
454 2014-09-16 Nick Clifton <nickc@redhat.com>
456 * readelf.c (display_arm_attribute): Use unsigned int type for
457 tag, val and type variables.
459 2014-09-16 Kuan-Lin Chen <kuanlinchentw@gmail.com>
461 * readelf.c (decode_NDS32_machine_flags): Display ABI2 FP+.
463 2014-09-15 Andrew Bennett <andrew.bennett@imgtec.com>
464 Matthew Fortune <matthew.fortune@imgtec.com>
466 * readelf.c (get_machine_flags): Add support for mips32r6 and
469 2014-09-01 Jon TURNEY <jon.turney@dronecode.org.uk>
471 * objcopy.c (is_nondebug_keep_contents_section): Change
472 '.build-id' to '.buildid'.
474 2014-08-22 Richard Henderson <rth@redhat.com>
476 * dwarf.h (init_dwarf_regnames_aarch64): Declare.
477 * dwarf.c (dwarf_regnames_aarch64): New.
478 (init_dwarf_regnames_aarch64): New.
479 (init_dwarf_regnames): Call it.
480 * objdump.c (dump_dwarf): Likewise.
482 2014-08-19 Alan Modra <amodra@gmail.com>
484 * configure: Regenerate.
486 2014-08-14 Alan Modra <amodra@gmail.com>
488 * configure.ac: Move ACX_LARGEFILE after LT_INIT.
489 * config.in: Regenerate.
490 * configure: Regenerate.
492 2014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
494 * readelf.c (get_mips_segment_type): Display name for PT_MIPS_ABIFLAGS.
495 (get_mips_section_type_name): Display name for SHT_MIPS_ABIFLAGS.
496 (display_mips_gnu_attribute): Abstracted fp abi printing to...
497 (print_mips_fp_abi_value): New static function. Handle new FP ABIs.
498 (print_mips_ases, print_mips_isa_ext): New static functions.
499 (get_mips_reg_size): Likewise.
500 (process_mips_specific): Display abiflags data.
502 2014-07-28 Alan Modra <amodra@gmail.com>
505 * nm.c (filter_symbols): Warn on __gnu_lto_slim.
507 2014-07-07 Nick Clifton <nickc@redhat.com>
509 * readelf.c (get_symbol_type): Revert accidental change to
510 detection of thumb function symbols.
512 2014-07-04 Alan Modra <amodra@gmail.com>
514 * configure.ac: Rename from configure.in.
515 * Makefile.in: Regenerate.
516 * config.in: Regenerate.
517 * doc/Makefile.in: Regenerate.
519 2014-07-04 Alan Modra <amodra@gmail.com>
521 * configure.in: Include bfd/version.m4.
522 (AC_INIT, AM_INIT_AUTOMAKE): Use modern form.
523 (BFD_VERSION): Delete.
524 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Remove bfd/configure.in.
525 * configure: Regenerate.
526 * Makefile.in: Regenerate.
527 * doc/Makefile.in: Regenerate.
529 2014-07-03 Tristan Gingold <gingold@adacore.com>
531 * doc/binutils.texi: Clarify addr2line output.
533 2014-07-01 Alan Modra <amodra@gmail.com>
535 * objdump.c (dump_bfd_header): Don't print HAS_LOAD_PAGE.
537 2014-06-26 Erik Akermann <kurterikackermann@gmail.com>
539 * strings.c: Add -w/--include-all-whitespace option to include any
540 whitespace character in the displayed strings.
541 * NEWS: Mention the new feature.
542 * doc/binutils.texi (strings): Document the new command line
545 2014-06-26 Nick Clifton <nickc@redhat.com>
547 * readelf.c (process_note_sections): If there are no note sections
548 try processing note segments instead.
550 2014-06-17 Anton Lavrentiwev <lavr@ncbi.nim.nih.gov>
553 * rcparse.y (fixedverinfo): Prevent large version numbers from
554 corrupting other values.
556 2014-06-09 Romain Chastenet <romain.chastenet@free.fr>
559 * dwarf.c (display_debug_frames): Remember the state of the
560 cfa_offset, cfa_reg, ra and cfa_exp field
562 2014-06-05 Joel Brobecker <brobecker@adacore.com>
564 * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Add dependency on
565 bfd's development.sh.
566 * Makefile.in, configure: Regenerate.
568 2014-05-16 Jon Turney <jon.turney@dronecode.org.uk>
570 * objcopy.c (is_nondebug_keep_contents_section): New function.
571 (setup_section): Use it.
573 2014-05-16 Kaushik Phata <Kaushik.Phatak@kpit.com>
575 * readelf.c (get_machine_flags): Handle RL78 64-bit doubles flag.
577 2014-05-02 Alan Modra <amodra@gmail.com>
579 * emul_aix.c: Update bfd target vector naming.
580 * testsuite/binutils-all/objcopy.exp: Likewise.
582 2014-04-24 Christian Svensson <blue@cmd.nu>
584 * MAINTAINERS: Add myself and Stefan as OR1K maintainers.
586 2014-04-23 Andrew Bennett <andrew.bennett@imgtec.com>
588 * doc/binutils.texi: Document the disassemble MIPS XPA instructions
591 2014-04-22 Christian Svensson <blue@cmd.nu>
593 * readelf.c: Remove openrisc and or32 support. Add support for or1k.
595 2014-04-18 Tristan Gingold <gingold@adacore.com>
597 * od-macho.c (dump_section_map): Adjust as load commands
599 (dump_load_command, dump_section_content): Likewise.
601 2014-04-16 Tristan Gingold <gingold@adacore.com>
603 * od-macho.c (OPT_DYLD_INFO): New macro.
604 (options): Add entry for dyld_info.
605 (mach_o_help): Likewise.
606 (load_and_dump, dump_dyld_info_rebase, dump_dyld_info_bind)
607 (dump_dyld_info_export_1, dump_dyld_info_export): New functions.
608 (bfd_mach_o_dyld_rebase_type_name): New array.
609 (export_info_data): New struct.
610 (dump_dyld_info): Add verbose argument. Dump rebase, bind and
612 (dump_load_command): Adjust dump_dyld_info call.
613 (mach_o_dump): Handle dyld_info.
615 2014-04-16 Tristan Gingold <gingold@adacore.com>
617 * od-macho.c (dump_header): Display sizeofcmds in decimal too.
618 (dump_segment): Reformat output.
619 (dump_dyld_info): Also display end offsets.
620 (dump_load_command): Add IDX argument, display commands size
621 and offset, reformat display.
622 (dump_load_commands): Adjust for added argument.
624 2014-04-07 Alan Modra <amodra@gmail.com>
627 * objcopy.c (copy_object): Error if no sections.
629 2014-04-03 Markus Trippelsdorf <markus@trippelsdorf.de>
632 ar.c: Set plugin_target early if plugins are supported.
635 2014-04-03 Tristan Gingold <gingold@adacore.com>
637 * od-macho.c (printf_uint64): New function.
638 (dump_load_command, dump_obj_compact_unwind): Use it.
639 (dump_exe_compact_unwind): Display personality functions.
641 2014-04-02 Tristan Gingold <gingold@adacore.com>
643 * od-macho.c (OPT_TWOLEVEL_HINTS): New macro.
644 (options): Add entry for twolevel_hints.
645 (dump_data_in_code): Fix error message.
646 (dump_twolevel_hints): New function.
647 (dump_load_command): Handle prebound dylib, prebind cksum
649 (mach_o_dump): Handle twolevel hints.
651 2014-04-01 Tristan Gingold <gingold@adacore.com>
653 * od-macho.c (OPT_DATA_IN_CODE): New macro.
654 (options): Add entry for data in code.
655 (mach_o_help): Ditto.
656 (data_in_code_kind_name): New array.
657 (dump_data_in_code): New function.
658 (dump_load_command): Handle data in code.
659 (mach_o_dump): Ditto.
660 (dump_header): Display a terminal newline.
662 2014-03-27 Tristan Gingold <gingold@adacore.com>
664 * od-macho.c (dump_load_command): Display value for
665 BFD_MACH_O_LC_DYLD_ENVIRONMENT. Handle BFD_MACH_O_LC_DATA_IN_CODE
666 and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
668 2014-03-27 Tristan Gingold <gingold@adacore.com>
670 * od-macho.c (OPT_FUNCTION_STARTS): New macro.
671 (options): Add entry for function_starts.
672 (mach_o_help): Ditto.
673 (disp_segment_prot): New function.
674 (dump_section_map): Call disp_segment_prot.
675 (dump_function_starts): New function.
676 (dump_obj_compact_unwind): Fix ouput indentation.
677 (dump_exe_compact_unwind): Fix ouput indentation.
678 (mach_o_dump): Handle function_starts.
680 2014-03-26 Tristan Gingold <gingold@adacore.com>
682 * od-macho.c (bfd_mach_o_cpu_name): Add BFD_MACH_O_CPU_TYPE_ARM64.
684 2014-03-24 Tristan Gingold <gingold@adacore.com>
686 * objdump.c (load_specific_debug_section): Set address of section.
688 2014-03-24 Tristan Gingold <gingold@adacore.com>
690 * od-macho.c (dump_unwind_encoding_x86): Set the factor.
691 (dump_exe_compact_unwind): Change the condition. Improve
694 2014-03-20 Nick Clifton <nickc@redhat.com>
696 * readelf.c (process_version_sections): Fix off-by-one error in
699 2014-03-19 Nick Clifton <nickc@redhat.com>
702 * readelf.c (process_version_sections): Prevent an infinite loop
703 when the vn_next field is zero but there are still entries to be
706 2014-03-17 Tristan Gingold <gingold@adacore.com>
708 * od-macho.c (dump_section_header): Renames of dump_section.
709 (dump_segment): Adjust after renaming.
710 (OPT_COMPACT_UNWIND): Define.
711 (options): Add compact unwind.
712 (mach_o_help): Document compact_unwind.
713 (unwind_x86_64_regs, unwind_x86_regs): New arrays.
714 (dump_unwind_encoding_x86, dump_unwind_encoding)
715 (dump_obj_compact_unwind, dump_exe_compact_unwind)
716 (dump_section_content): New functions.
717 (mach_o_dump): Handle compact unwind.
719 2014-03-17 Tristan Gingold <gingold@adacore.com>
721 * od-macho.c (dump_load_command): Handle lazy load dylib.
723 2014-03-14 Anthony Green <green@moxielogic.com>
725 * objcopy.c (copy_object): Check fwrite return code.
727 2014-03-14 Meador Inge <meadori@codesourcery.com>
729 * dwarf.c (strnlen): Move prototype ...
730 * sysdep.h (strnlen): ... to here.
732 2014-03-12 Nick Clifton <nickc@redhat.com>
735 * doc/binutils.texi (ar cmdline): Move --plugin command line
736 option to after the command option.
738 2014-03-12 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
741 * deflex.l: Add noinput and nounput options.
743 2014-03-12 Alan Modra <amodra@gmail.com>
745 * Makefile.in: Regenerate.
746 * doc/Makefile.in: Regenerate.
748 2014-03-06 Nick Clifton <nickc@redhat.com>
751 * readelf.c (process_attributes): Add checks for corrupt
752 attribute section names.
754 2014-03-05 Alan Modra <amodra@gmail.com>
756 Update copyright years.
758 2014-03-03 Alan Modra <amodra@gmail.com>
760 * README: Add "Copyright Notices" paragraph.
762 2014-02-11 Cary Coutant <ccoutant@google.com>
764 * binutils/dwarf.c (read_and_display_attr_value): Don't warn
765 for zero-length attribute value.
767 2014-02-10 Alan Modra <amodra@gmail.com>
769 * po/binutils.pot: Regenerate.
771 2014-02-06 Andrew Pinski <apinski@cavium.com>
773 * readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case.
775 2014-02-06 Cary Coutant <ccoutant@google.com>
778 * readelf.c (print_gnu_note): Add support for NT_GNU_GOLD_VERSION.
780 2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
782 * version.c (print_version): Update copyright year to 2014.
784 2014-01-07 Tom Tromey <tromey@redhat.com>
786 * bucomm.c (fatal, non_fatal): Replace obsolete VA_* macros with
788 * dlltool.c (inform): Replace obsolete VA_* macros with stdarg
790 * dllwrap.c (inform, warn): Replace obsolete VA_* macros with
793 2014-01-07 Tom Tromey <tromey@redhat.com>
795 * coffgrok.h (coff_ofile): Don't use PARAMS.
796 * nlmheader.y (strerror): Don't use PARAMS.
798 For older changes see ChangeLog-2013
800 Copyright (C) 2014 Free Software Foundation, Inc.
802 Copying and distribution of this file, with or without modification,
803 are permitted in any medium without royalty provided the copyright
804 notice and this notice are preserved.
810 version-control: never