From 40ab2d5572cf8b77065a73ec2b40e9e47afcb7a3 Mon Sep 17 00:00:00 2001 From: Sam Bingner Date: Thu, 19 Dec 2019 18:05:41 -1000 Subject: Update ld64 to support arm64e --- data/ld64/typos.diff | 65 ---------------------------------------------------- 1 file changed, 65 deletions(-) delete mode 100644 data/ld64/typos.diff (limited to 'data/ld64/typos.diff') diff --git a/data/ld64/typos.diff b/data/ld64/typos.diff deleted file mode 100644 index 72ade08e2..000000000 --- a/data/ld64/typos.diff +++ /dev/null @@ -1,65 +0,0 @@ -diff -ur ld64-450.3/src/ld/Options.cpp ld64-450.3+iOS/src/ld/Options.cpp ---- ld64-450.3/src/ld/Options.cpp 2019-04-09 13:33:08.000000000 -1000 -+++ ld64-450.3+iOS/src/ld/Options.cpp 2019-12-02 11:30:53.000000000 -1000 -@@ -621,14 +621,14 @@ - if ( platforms().contains(ld::kPlatform_iOS) && (platforms().minOS(ld::kPlatform_iOS) == 0) && (fOutputKind != Options::kObjectFile) ) { - #if defined(DEFAULT_IPHONEOS_MIN_VERSION) - warning("-ios_version_min not specified, assuming " DEFAULT_IPHONEOS_MIN_VERSION); -- setVersionMin(ld::kPlatformiOS, DEFAULT_IPHONEOS_MIN_VERSION); -+ setVersionMin(ld::kPlatform_iOS, DEFAULT_IPHONEOS_MIN_VERSION); - #else - warning("-ios_version_min not specified, assuming 6.0"); - setVersionMin(ld::kPlatform_iOS, "6.0"); - #endif - } - #if SUPPORT_ARCH_arm64e -- if ( (fArchitecture == CPU_TYPE_ARM64) && (fSubArchitecture == CPU_SUBTYPE_ARM64_E) ) { -+ if ( (fArchitecture == CPU_TYPE_ARM64) && (fSubArchitecture == CPU_SUBTYPE_ARM64E) ) { - fSupportsAuthenticatedPointers = true; - } - #endif -@@ -4412,7 +4412,7 @@ - if ( (fOutputKind != Options::kObjectFile) && (fOutputKind != Options::kPreload) ) { - #if defined(DEFAULT_IPHONEOS_MIN_VERSION) - warning("-ios_version_min not specified, assuming " DEFAULT_IPHONEOS_MIN_VERSION); -- setVersionMin(ld::kPlatformiOS, DEFAULT_IPHONEOS_MIN_VERSION); -+ setVersionMin(ld::kPlatform_iOS, DEFAULT_IPHONEOS_MIN_VERSION); - #else - if ( fSubArchitecture == CPU_SUBTYPE_ARM_V7K ) { - warning("-watchos_version_min not specified, assuming 2.0"); -@@ -4749,7 +4749,7 @@ - break; - case Options::kDyld: - // arm64e has support for compressed LINKEDIT. -- if ( (fArchitecture == CPU_TYPE_ARM64) && (fSubArchitecture == CPU_SUBTYPE_ARM64_E) ) -+ if ( (fArchitecture == CPU_TYPE_ARM64) && (fSubArchitecture == CPU_SUBTYPE_ARM64E) ) - break; - case Options::kPreload: - case Options::kStaticExecutable: -@@ -4814,7 +4814,7 @@ - - if (fArchitecture == CPU_TYPE_ARM64) { - #if SUPPORT_ARCH_arm64e -- if (fSubArchitecture == CPU_SUBTYPE_ARM64_E) -+ if (fSubArchitecture == CPU_SUBTYPE_ARM64E) - { - // FIXME: Move some of these to arm64 - fNoLazyBinding = true; -@@ -4873,7 +4873,7 @@ - fUseLinkedListBinding = true; - fNoLazyBinding = true; - #if SUPPORT_ARCH_arm64e -- if ( (fArchitecture == CPU_TYPE_ARM64) && (fSubArchitecture == CPU_SUBTYPE_ARM64_E) ) -+ if ( (fArchitecture == CPU_TYPE_ARM64) && (fSubArchitecture == CPU_SUBTYPE_ARM64E) ) - fSupportsAuthenticatedPointers = true; - #endif - break; -@@ -5267,7 +5267,7 @@ - } - else if ( platforms().minOS(ld::iOS_10_0) ) { - #if SUPPORT_ARCH_arm64e -- if ( (fArchitecture == CPU_TYPE_ARM64) && (fSubArchitecture == CPU_SUBTYPE_ARM64_E) ) { -+ if ( (fArchitecture == CPU_TYPE_ARM64) && (fSubArchitecture == CPU_SUBTYPE_ARM64E) ) { - fUnalignedPointerTreatment = Options::kUnalignedPointerError; - } else - #endif -- cgit v1.2.3