]> git.saurik.com Git - apple/dyld.git/blobdiff - src/start_glue.s
dyld-851.27.tar.gz
[apple/dyld.git] / src / start_glue.s
index b35eb50a2b4e7be57cfa9aaa0fde55d8166b0466..3336f66ed03f08fb2805946ea4f657d74e744388 100644 (file)
@@ -68,5 +68,19 @@ Lstart:
  
 #endif /* __arm__ */
 
+
+#if __arm64__
+    .align 2
+    .globl _start
+    .private_extern _start
+_start:
+       nop
+Lstart:
+       bl      _exit                   // result in x0 already in param reg x0
+       brk     #3
+
+#endif /* __arm64__ */
+
        .subsections_via_symbols