summaryrefslogtreecommitdiff
path: root/data/ld64/typos.diff
diff options
context:
space:
mode:
Diffstat (limited to 'data/ld64/typos.diff')
-rw-r--r--data/ld64/typos.diff75
1 files changed, 64 insertions, 11 deletions
diff --git a/data/ld64/typos.diff b/data/ld64/typos.diff
index 697745f1c..72ade08e2 100644
--- a/data/ld64/typos.diff
+++ b/data/ld64/typos.diff
@@ -1,12 +1,65 @@
-diff -ur ld64-274.2/src/ld/parsers/textstub_dylib_file.cpp ld64-274.2+iPhone/src/ld/parsers/textstub_dylib_file.cpp
---- ld64-274.2/src/ld/parsers/textstub_dylib_file.cpp 2016-07-26 11:15:31.000000000 -1000
-+++ ld64-274.2+iPhone/src/ld/parsers/textstub_dylib_file.cpp 2018-09-05 12:09:16.000000000 -1000
-@@ -29,7 +29,7 @@
- #include <vector>
+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 @@
- #include "Architectures.hpp"
--#include "bitcode.hpp"
-+#include "Bitcode.hpp"
- #include "MachOFileAbstraction.hpp"
- #include "MachOTrie.hpp"
- #include "generic_dylib_file.hpp"
+ 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