X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/bac542e65c0030c0d819c7ff1dcfc25892a61844..8074fd5ce9395d82fc9f7ac611f5ad43378ffc70:/launch-cache/Architectures.hpp diff --git a/launch-cache/Architectures.hpp b/launch-cache/Architectures.hpp index e735f9e..fe3eea4 100644 --- a/launch-cache/Architectures.hpp +++ b/launch-cache/Architectures.hpp @@ -1,6 +1,6 @@ /* -*- 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@ * @@ -31,46 +31,28 @@ // // Architectures // -struct ppc +struct x86 { - typedef Pointer32 P; + typedef Pointer32 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 P; - - enum ReferenceKinds { kNoFixUp, kFollowOn, kPointer, kPointerWeakImport, kPointerDiff32, kPointerDiff64, - kBranch24, kBranch24WeakImport, kBranch14, - kPICBaseLow16, kPICBaseLow14, kPICBaseHigh16, - kAbsLow16, kAbsLow14, kAbsHigh16, kAbsHigh16AddLow }; + typedef Pointer64 P; }; -struct x86 +struct arm { typedef Pointer32 P; - enum ReferenceKinds { kNoFixUp, kFollowOn, kPointer, kPointerWeakImport, kPointerDiff, - kPCRel32, kPCRel32WeakImport, kAbsolute32 }; }; -struct x86_64 +struct arm64 { typedef Pointer64 P; - - enum ReferenceKinds { kNoFixUp, kFollowOn, kPointer, kPointerWeakImport, kPointerDiff, kPointerDiff32, - kPCRel32, kPCRel32_1, kPCRel32_2, kPCRel32_4, - kBranchPCRel32, kBranchPCRel32WeakImport, - kPCRel32GOTLoad, kPCRel32GOTLoadWeakImport, - kPCRel32GOT, kPCRel32GOTWeakImport }; -}; - +};