]> git.saurik.com Git - apple/dyld.git/blobdiff - launch-cache/Architectures.hpp
dyld-551.3.tar.gz
[apple/dyld.git] / launch-cache / Architectures.hpp
index e735f9e2ed0927d4ebb3fa06f8fa621ce1d83429..fe3eea443f3969d41ebd781503a70d3a3730b67d 100644 (file)
@@ -1,6 +1,6 @@
 /* -*- mode: C++; c-basic-offset: 4; tab-width: 4 -*- 
  *
 /* -*- mode: C++; c-basic-offset: 4; tab-width: 4 -*- 
  *
- * Copyright (c) 2005 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2005-2011 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
 //
 // Architectures
 //
 //
 // Architectures
 //
-struct ppc
+struct x86
 {
 {
-       typedef Pointer32<BigEndian>            P;
+       typedef Pointer32<LittleEndian>         P;
        
        
-       enum ReferenceKinds {  kNoFixUp, kFollowOn, kPointer, kPointerWeakImport, kPointerDiff32, kPointerDiff64,
-                                                       kBranch24, kBranch24WeakImport, kBranch14,
-                                                       kPICBaseLow16, kPICBaseLow14, kPICBaseHigh16, 
-                                                       kAbsLow16, kAbsLow14, kAbsHigh16, kAbsHigh16AddLow };
 };
 
 };
 
-struct ppc64
+struct x86_64
 {
 {
-       typedef Pointer64<BigEndian>            P;
-       
-       enum ReferenceKinds {  kNoFixUp, kFollowOn, kPointer, kPointerWeakImport, kPointerDiff32, kPointerDiff64,
-                                                       kBranch24, kBranch24WeakImport, kBranch14,
-                                                       kPICBaseLow16, kPICBaseLow14, kPICBaseHigh16, 
-                                                       kAbsLow16, kAbsLow14, kAbsHigh16, kAbsHigh16AddLow };
+       typedef Pointer64<LittleEndian>         P;
 };
 
 };
 
-struct x86
+struct arm
 {
        typedef Pointer32<LittleEndian>         P;
        
 {
        typedef Pointer32<LittleEndian>         P;
        
-       enum ReferenceKinds {  kNoFixUp, kFollowOn, kPointer, kPointerWeakImport, kPointerDiff, 
-                                                       kPCRel32, kPCRel32WeakImport, kAbsolute32 };
 };
 
 };
 
-struct x86_64
+struct arm64
 {
        typedef Pointer64<LittleEndian>         P;
 {
        typedef Pointer64<LittleEndian>         P;
-       
-       enum ReferenceKinds {  kNoFixUp, kFollowOn, kPointer, kPointerWeakImport, kPointerDiff, kPointerDiff32, 
-                                                       kPCRel32, kPCRel32_1, kPCRel32_2, kPCRel32_4,
-                                                       kBranchPCRel32, kBranchPCRel32WeakImport,
-                                                       kPCRel32GOTLoad, kPCRel32GOTLoadWeakImport,
-                                                       kPCRel32GOT, kPCRel32GOTWeakImport };
-};
-
 
 
+};