mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
Mach-O: add new defines and struct for darwin 14.5
include/mach-o/ * arm64.h: New file. * unwind.h: Add arm64 encodings. * loader.h (bfd_mach_o_cpu_subtype): Add arm64 literals. (BFD_MACH_O_LC_ENCRYPTION_INFO_64, BFD_MACH_O_LC_LINKER_OPTIONS) (BFD_MACH_O_LC_LINKER_OPTIMIZATION_HINT) (BFD_MACH_O_LC_VERSION_MIN_WATCHOS): Define. * external.h (mach_o_encryption_info_64_command_external): (mach_o_linker_option_command_external) (mach_o_dyld_cache_header_external) (mach_o_dyld_cache_mapping_info_external) (mach_o_dyld_cache_image_info_external): New types.
This commit is contained in:
@ -75,7 +75,11 @@ typedef enum bfd_mach_o_cpu_subtype
|
||||
BFD_MACH_O_CPU_SUBTYPE_ARM_V6 = 6,
|
||||
BFD_MACH_O_CPU_SUBTYPE_ARM_V5TEJ = 7,
|
||||
BFD_MACH_O_CPU_SUBTYPE_ARM_XSCALE = 8,
|
||||
BFD_MACH_O_CPU_SUBTYPE_ARM_V7 = 9
|
||||
BFD_MACH_O_CPU_SUBTYPE_ARM_V7 = 9,
|
||||
|
||||
/* arm64. */
|
||||
BFD_MACH_O_CPU_SUBTYPE_ARM64_ALL = 0,
|
||||
BFD_MACH_O_CPU_SUBTYPE_ARM64_V8 = 1
|
||||
}
|
||||
bfd_mach_o_cpu_subtype;
|
||||
|
||||
@ -176,7 +180,11 @@ typedef enum bfd_mach_o_load_command_type
|
||||
BFD_MACH_O_LC_MAIN = 0x28, /* Entry point. */
|
||||
BFD_MACH_O_LC_DATA_IN_CODE = 0x29, /* Table of non-instructions. */
|
||||
BFD_MACH_O_LC_SOURCE_VERSION = 0x2a, /* Source version. */
|
||||
BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS = 0x2b /* DRs from dylibs. */
|
||||
BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS = 0x2b, /* DRs from dylibs. */
|
||||
BFD_MACH_O_LC_ENCRYPTION_INFO_64 = 0x2c, /* Encrypted 64 bit seg info. */
|
||||
BFD_MACH_O_LC_LINKER_OPTIONS = 0x2d, /* Linker options. */
|
||||
BFD_MACH_O_LC_LINKER_OPTIMIZATION_HINT = 0x2e, /* Optimization hints. */
|
||||
BFD_MACH_O_LC_VERSION_MIN_WATCHOS = 0x30 /* Minimal WatchOS version. */
|
||||
}
|
||||
bfd_mach_o_load_command_type;
|
||||
|
||||
|
Reference in New Issue
Block a user