mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
c9ffd2eaf8
bfd/ * mach-o.h (bfd_mach_o_dyld_info_command): Add rebase_content, bind_content, weak_bind_content, lazy_bind_content, export_content. (bfd_mach_o_load_command): Add comments, add next field. (mach_o_data_struct): Replace commands field by first_command and last_command. * mach-o.c (bfd_mach_o_append_command): New function. (bfd_mach_o_bfd_copy_private_symbol_data): Add blank lines. (bfd_mach_o_bfd_copy_private_section_data): Check flavour, copy fields. (bfd_mach_o_bfd_copy_private_header_data): Copy load commands. (bfd_mach_o_pad4, bfd_mach_o_pad_command): New functions. (bfd_mach_o_write_thread): Use macro instead of literal. (bfd_mach_o_write_dylinker, bfd_mach_o_write_dylib) (bfd_mach_o_write_main, bfd_mach_o_write_dyld_info): New functions. (bfd_mach_o_write_symtab_content): New function (extracted from bfd_mach_o_write_symtab). (bfd_mach_o_write_symtab): Split. (bfd_mach_o_count_indirect_symbols): Move (bfd_mach_o_build_dysymtab): Remove layout code. (bfd_mach_o_write_contents): Rewritten to build commands in order. (bfd_mach_o_count_sections_for_seg): Remove. (bfd_mach_o_build_obj_seg_command): New function (extracted from bfd_mach_o_build_seg_command). (bfd_mach_o_build_exec_seg_command): New function. (bfd_mach_o_build_dysymtab_command): Remove. (bfd_mach_o_layout_commands): New function. (bfd_mach_o_init_segment): New function. (bfd_mach_o_build_commands): Major rework to handle non-object files. (bfd_mach_o_alloc_and_read, bfd_mach_o_read_dyld_content): New function. (bfd_mach_o_read_dyld_info): Clear content fields. (bfd_mach_o_read_segment): Adjust call. (bfd_mach_o_flatten_sections): Adjust as now load commands are chained. (bfd_mach_o_scan_start_address, bfd_mach_o_scan) (bfd_mach_o_mkobject_init, bfd_mach_o_get_base_address) (bfd_mach_o_lookup_command, bfd_mach_o_core_fetch_environment): Likewise. binutils/ * od-macho.c (dump_section_map): Adjust as load commands are now chained. (dump_load_command, dump_section_content): Likewise.
218 lines
6.4 KiB
Plaintext
218 lines
6.4 KiB
Plaintext
2014-04-18 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* od-macho.c (dump_section_map): Adjust as load commands
|
||
are now chained.
|
||
(dump_load_command, dump_section_content): Likewise.
|
||
|
||
2014-04-16 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* od-macho.c (OPT_DYLD_INFO): New macro.
|
||
(options): Add entry for dyld_info.
|
||
(mach_o_help): Likewise.
|
||
(load_and_dump, dump_dyld_info_rebase, dump_dyld_info_bind)
|
||
(dump_dyld_info_export_1, dump_dyld_info_export): New functions.
|
||
(bfd_mach_o_dyld_rebase_type_name): New array.
|
||
(export_info_data): New struct.
|
||
(dump_dyld_info): Add verbose argument. Dump rebase, bind and
|
||
exports data.
|
||
(dump_load_command): Adjust dump_dyld_info call.
|
||
(mach_o_dump): Handle dyld_info.
|
||
|
||
2014-04-16 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* od-macho.c (dump_header): Display sizeofcmds in decimal too.
|
||
(dump_segment): Reformat output.
|
||
(dump_dyld_info): Also display end offsets.
|
||
(dump_load_command): Add IDX argument, display commands size
|
||
and offset, reformat display.
|
||
(dump_load_commands): Adjust for added argument.
|
||
|
||
2014-04-07 Alan Modra <amodra@gmail.com>
|
||
|
||
PR binutils/16811
|
||
* objcopy.c (copy_object): Error if no sections.
|
||
|
||
2014-04-03 Markus Trippelsdorf <markus@trippelsdorf.de>
|
||
|
||
PR binutils/14698
|
||
ar.c: Set plugin_target early if plugins are supported.
|
||
nm.c: Likewise.
|
||
|
||
2014-04-03 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* od-macho.c (printf_uint64): New function.
|
||
(dump_load_command, dump_obj_compact_unwind): Use it.
|
||
(dump_exe_compact_unwind): Display personality functions.
|
||
|
||
2014-04-02 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* od-macho.c (OPT_TWOLEVEL_HINTS): New macro.
|
||
(options): Add entry for twolevel_hints.
|
||
(dump_data_in_code): Fix error message.
|
||
(dump_twolevel_hints): New function.
|
||
(dump_load_command): Handle prebound dylib, prebind cksum
|
||
and twolevel hints.
|
||
(mach_o_dump): Handle twolevel hints.
|
||
|
||
2014-04-01 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* od-macho.c (OPT_DATA_IN_CODE): New macro.
|
||
(options): Add entry for data in code.
|
||
(mach_o_help): Ditto.
|
||
(data_in_code_kind_name): New array.
|
||
(dump_data_in_code): New function.
|
||
(dump_load_command): Handle data in code.
|
||
(mach_o_dump): Ditto.
|
||
(dump_header): Display a terminal newline.
|
||
|
||
2014-03-27 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* od-macho.c (dump_load_command): Display value for
|
||
BFD_MACH_O_LC_DYLD_ENVIRONMENT. Handle BFD_MACH_O_LC_DATA_IN_CODE
|
||
and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
|
||
|
||
2014-03-27 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* od-macho.c (OPT_FUNCTION_STARTS): New macro.
|
||
(options): Add entry for function_starts.
|
||
(mach_o_help): Ditto.
|
||
(disp_segment_prot): New function.
|
||
(dump_section_map): Call disp_segment_prot.
|
||
(dump_function_starts): New function.
|
||
(dump_obj_compact_unwind): Fix ouput indentation.
|
||
(dump_exe_compact_unwind): Fix ouput indentation.
|
||
(mach_o_dump): Handle function_starts.
|
||
|
||
2014-03-26 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* od-macho.c (bfd_mach_o_cpu_name): Add BFD_MACH_O_CPU_TYPE_ARM64.
|
||
|
||
2014-03-24 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* objdump.c (load_specific_debug_section): Set address of section.
|
||
|
||
2014-03-24 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* od-macho.c (dump_unwind_encoding_x86): Set the factor.
|
||
(dump_exe_compact_unwind): Change the condition. Improve
|
||
indentation.
|
||
|
||
2014-03-20 Nick Clifton <nickc@redhat.com>
|
||
|
||
* readelf.c (process_version_sections): Fix off-by-one error in
|
||
previous delta.
|
||
|
||
2014-03-19 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR binutils/16723
|
||
* readelf.c (process_version_sections): Prevent an infinite loop
|
||
when the vn_next field is zero but there are still entries to be
|
||
processed.
|
||
|
||
2014-03-17 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* od-macho.c (dump_section_header): Renames of dump_section.
|
||
(dump_segment): Adjust after renaming.
|
||
(OPT_COMPACT_UNWIND): Define.
|
||
(options): Add compact unwind.
|
||
(mach_o_help): Document compact_unwind.
|
||
(unwind_x86_64_regs, unwind_x86_regs): New arrays.
|
||
(dump_unwind_encoding_x86, dump_unwind_encoding)
|
||
(dump_obj_compact_unwind, dump_exe_compact_unwind)
|
||
(dump_section_content): New functions.
|
||
(mach_o_dump): Handle compact unwind.
|
||
|
||
2014-03-17 Tristan Gingold <gingold@adacore.com>
|
||
|
||
* od-macho.c (dump_load_command): Handle lazy load dylib.
|
||
|
||
2014-03-14 Anthony Green <green@moxielogic.com>
|
||
|
||
* objcopy.c (copy_object): Check fwrite return code.
|
||
|
||
2014-03-14 Meador Inge <meadori@codesourcery.com>
|
||
|
||
* dwarf.c (strnlen): Move prototype ...
|
||
* sysdep.h (strnlen): ... to here.
|
||
|
||
2014-03-12 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR binutils/16652
|
||
* doc/binutils.texi (ar cmdline): Move --plugin command line
|
||
option to after the command option.
|
||
|
||
2014-03-12 Dmitry Gorbachev <d.g.gorbachev@gmail.com>
|
||
|
||
PR binutils/16567
|
||
* deflex.l: Add noinput and nounput options.
|
||
|
||
2014-03-12 Alan Modra <amodra@gmail.com>
|
||
|
||
* Makefile.in: Regenerate.
|
||
* doc/Makefile.in: Regenerate.
|
||
|
||
2014-03-06 Nick Clifton <nickc@redhat.com>
|
||
|
||
PR binutils/16664
|
||
* readelf.c (process_attributes): Add checks for corrupt
|
||
attribute section names.
|
||
|
||
2014-03-05 Alan Modra <amodra@gmail.com>
|
||
|
||
Update copyright years.
|
||
|
||
2014-03-03 Alan Modra <amodra@gmail.com>
|
||
|
||
* README: Add "Copyright Notices" paragraph.
|
||
|
||
2014-02-11 Cary Coutant <ccoutant@google.com>
|
||
|
||
* binutils/dwarf.c (read_and_display_attr_value): Don't warn
|
||
for zero-length attribute value.
|
||
|
||
2014-02-10 Alan Modra <amodra@gmail.com>
|
||
|
||
* po/binutils.pot: Regenerate.
|
||
|
||
2014-02-06 Andrew Pinski <apinski@cavium.com>
|
||
|
||
* readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON3 case.
|
||
|
||
2014-02-06 Cary Coutant <ccoutant@google.com>
|
||
|
||
PR binutils/16444
|
||
* readelf.c (print_gnu_note): Add support for NT_GNU_GOLD_VERSION.
|
||
|
||
2014-01-08 H.J. Lu <hongjiu.lu@intel.com>
|
||
|
||
* version.c (print_version): Update copyright year to 2014.
|
||
|
||
2014-01-07 Tom Tromey <tromey@redhat.com>
|
||
|
||
* bucomm.c (fatal, non_fatal): Replace obsolete VA_* macros with
|
||
stdarg macros.
|
||
* dlltool.c (inform): Replace obsolete VA_* macros with stdarg
|
||
macros.
|
||
* dllwrap.c (inform, warn): Replace obsolete VA_* macros with
|
||
stdarg macros.
|
||
|
||
2014-01-07 Tom Tromey <tromey@redhat.com>
|
||
|
||
* coffgrok.h (coff_ofile): Don't use PARAMS.
|
||
* nlmheader.y (strerror): Don't use PARAMS.
|
||
|
||
For older changes see ChangeLog-2013
|
||
|
||
Copyright (C) 2014 Free Software Foundation, Inc.
|
||
|
||
Copying and distribution of this file, with or without modification,
|
||
are permitted in any medium without royalty provided the copyright
|
||
notice and this notice are preserved.
|
||
|
||
Local Variables:
|
||
mode: change-log
|
||
left-margin: 8
|
||
fill-column: 74
|
||
version-control: never
|
||
End:
|