summaryrefslogtreecommitdiff
path: root/data/ld64/typos.diff
blob: 72ade08e23346ceba952f317c453beec7aec63e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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