]> git.saurik.com Git - apple/libsystem.git/commitdiff
Libsystem-1252.200.5.tar.gz macos-1014 macos-10141 macos-10142 macos-10143 v1252.200.5
authorApple <opensource@apple.com>
Thu, 4 Oct 2018 22:01:49 +0000 (22:01 +0000)
committerApple <opensource@apple.com>
Thu, 4 Oct 2018 22:01:49 +0000 (22:01 +0000)
.gitignore
Libsystem.xcconfig
Libsystem.xcodeproj/project.pbxproj
init.c
optionallibs
requiredlibs
xcodescripts/create_dylib_symlinks.sh
xcodescripts/create_system_framework.sh

index 66ed0d4d8cf93b163630e423cd9e5fce00cddbcb..5e7402043ce51d68b243a500858ee768b005f215 100644 (file)
@@ -6,3 +6,4 @@
 
 # /Libsystem.xcodeproj/project.xcworkspace/
 /Libsystem.xcodeproj/project.xcworkspace/xcuserdata
+project.xcworkspace
index b8ae8ead5e277dbb3678212b99c8b59b8b05b348..7733806bb16e7d3344e4a71c76e2e87691ef8c7a 100644 (file)
@@ -51,3 +51,5 @@ PLIST_FILE_OUTPUT_FORMAT[sdk=macosx*] = xml
 DYLIB_INSTALL_NAME_EXECUTABLE_NAME = $(EXECUTABLE_PREFIX)$(PRODUCT_NAME)$(EXECUTABLE_SUFFIX)
 DYLIB_INSTALL_NAME_EXECUTABLE_PATH = $(DYLIB_INSTALL_NAME_EXECUTABLE_NAME)
 LD_DYLIB_INSTALL_NAME = $(DYLIB_INSTALL_NAME_BASE:standardizepath)/$(DYLIB_INSTALL_NAME_EXECUTABLE_PATH)
+
+IS_ZIPPERED = YES
index be55ca62392e72a93bbfaa9def8c4c1807b0fe2b..9cdc4d68224a7c254080f67c77902d5ff772e236 100644 (file)
                        baseConfigurationReference = C9B56C55153751A600C153A8 /* Libsystem.xcconfig */;
                        buildSettings = {
                                PRODUCT_NAME = "$(TARGET_NAME).B";
-                               "PRODUCT_NAME[sdk=iphonesimulator*]" = "$(TARGET_NAME)";
                                SDKROOT = macosx.internal;
                        };
                        name = Release;
diff --git a/init.c b/init.c
index dafcce2edf0e8b3ad421f8e5deb30c9723ff4d86..3073ddbd5cbe571052830183472da394d96e1cbd 100644 (file)
--- a/init.c
+++ b/init.c
@@ -97,10 +97,6 @@ extern void _libcoreservices_fork_child(void);
 extern char *_dirhelper(int, char *, size_t);
 #endif
 
-#if TARGET_OS_EMBEDDED && !TARGET_OS_WATCH && !__LP64__
-extern void _vminterpose_init(void);
-#endif
-
 // advance decls for below;
 void libSystem_atfork_prepare(void);
 void libSystem_atfork_parent(void);
@@ -185,7 +181,7 @@ libSystem_initializer(int argc,
        _libsecinit_initializer();
 #endif
 
-#if TARGET_OS_EMBEDDED
+#if defined(HAVE_SYSTEM_CONTAINERMANAGER)
        _container_init(apple);
 #endif
 
@@ -193,10 +189,6 @@ libSystem_initializer(int argc,
 
        __stack_logging_early_finished();
 
-#if TARGET_OS_EMBEDDED && TARGET_OS_IOS && !__LP64__
-       _vminterpose_init();
-#endif
-
 #if !TARGET_OS_IPHONE
     /* <rdar://problem/22139800> - Preserve the old behavior of apple[] for
      * programs that haven't linked against newer SDK.
index 6308f5b5c5984e982975fa541bf895802fead665..0b7394a08dd2db54c789fe653d9c65e5c82c8acb 100644 (file)
@@ -1,7 +1,7 @@
 keymgr
 quarantine
 system_containermanager
+system_network
 system_networkextension
 system_secinit
 system_symptoms
-vminterpose
index 15411b8bb175fe0dffda79a6d2a8a2e781e10e9f..be982ac755e28c1df472d36beffea4579e6ecacd 100644 (file)
@@ -19,7 +19,6 @@ system_info
 system_sim_kernel system_kernel
 system_m
 system_malloc
-system_network
 system_notify
 system_sim_platform system_platform
 system_sim_pthread system_pthread
index cb0ef81761a6af0f352ca4dd3e70b7f6aa7a4220..bb012caebd48d75c97fbe29f8bf74fd3a0ba4194 100755 (executable)
@@ -11,6 +11,10 @@ VARIANTS="$3"
 
 BSD_LIBS="c info m pthread dbm poll dl rpcsvc proc"
 
+if [[ "${PLATFORM_NAME}" =~ macosx ]]; then
+   BSD_LIBS="${BSD_LIBS} gcc_s.1"
+fi
+
 mkdir -p "${DSTROOT}/usr/lib" || exit 1
 
 if [ "${ACTION}" != "installhdrs" ]; then
@@ -20,11 +24,7 @@ if [ "${ACTION}" != "installhdrs" ]; then
            suffix="_${variant}"
        fi
 
-        if [[ "${PLATFORM_NAME}" =~ simulator ]] ; then
-            ln -sf "libSystem${suffix}.dylib" "${DSTROOT}/usr/lib/libSystem.B${suffix}.dylib" || exit 1
-        else
-            ln -sf "libSystem.B${suffix}.dylib" "${DSTROOT}/usr/lib/libSystem${suffix}.dylib" || exit 1
-        fi
+        ln -sf "libSystem.B${suffix}.dylib" "${DSTROOT}/usr/lib/libSystem${suffix}.dylib" || exit 1
 
        for i in ${BSD_LIBS}; do
            ln -sf "libSystem.dylib" "${DSTROOT}/usr/lib/lib${i}.dylib" || exit 1
index bbc17a9dd4e68231d226950493e24b5223651b4e..e3a99ff76e15d72af255703c4581e2049a267d11 100755 (executable)
@@ -40,10 +40,6 @@ else
                        suffix="_${variant}"
                fi
 
-               if [[ "${PLATFORM_NAME}" =~ simulator ]] ; then
-                       ln -sf "../../../../usr/lib/libSystem${suffix}.dylib" "${DSTROOT}/${FPATH}/System${suffix}" || exit 1
-               else
-                       ln -sf "../../../../usr/lib/libSystem.B${suffix}.dylib" "${DSTROOT}/${FPATH}/System${suffix}" || exit 1
-               fi
+               ln -sf "../../../../usr/lib/libSystem.B${suffix}.dylib" "${DSTROOT}/${FPATH}/System${suffix}" || exit 1
        done
 fi