mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-22 10:24:26 +00:00
Add names for mach-o permissions bits and use the symbol names in place of magic numbers
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190013 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -417,6 +417,15 @@ namespace llvm {
|
||||
X86_64_RELOC_TLV = 9
|
||||
};
|
||||
|
||||
// Values for segment_command.initprot.
|
||||
// From <mach/vm_prot.h>
|
||||
enum {
|
||||
VM_PROT_READ = 0x1,
|
||||
VM_PROT_WRITE = 0x2,
|
||||
VM_PROT_EXECUTE = 0x4
|
||||
};
|
||||
|
||||
|
||||
// Structs from <mach-o/loader.h>
|
||||
|
||||
struct mach_header {
|
||||
|
Reference in New Issue
Block a user