1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

Add load commands from Lion to Macho.h.

llvm-svn: 138806
This commit is contained in:
Benjamin Kramer 2011-08-30 18:33:34 +00:00
parent 660f6d2616
commit 67a03c6a96

View File

@ -110,6 +110,10 @@ namespace llvm {
LoadCommandDynamicLinkerInfo = 0x00000022u, // LC_DYLD_INFO
LoadCommandDynamicLinkerInfoOnly = 0x80000022u, // LC_DYLD_INFO_ONLY
LoadCommandDylibLoadUpward = 0x80000023u, // LC_LOAD_UPWARD_DYLIB
LoadCommandVersionMinMacOSX = 0x00000024u, // LC_VERSION_MIN_MACOSX
LoadCommandVersionMinIPhoneOS = 0x00000025u, // LC_VERSION_MIN_IPHONEOS
LoadCommandFunctionStarts = 0x00000026u, // LC_FUNCTION_STARTS
LoadCommandDyldEnvironment = 0x00000027u, // LC_DYLD_ENVIRONMENT
// Constant bits for the "flags" field in llvm::MachO::segment_command
SegmentCommandFlagBitHighVM = 0x1u, // SG_HIGHVM
@ -569,6 +573,13 @@ namespace llvm {
uint32_t cryptid;
};
struct version_min_command {
uint32_t cmd;
uint32_t cmdsize;
uint32_t version;
uint32_t reserved;
};
struct dyld_info_command {
uint32_t cmd;
uint32_t cmdsize;