]> git.saurik.com Git - apple/libc.git/blobdiff - arm/pthreads/thread_start.s
Libc-825.24.tar.gz
[apple/libc.git] / arm / pthreads / thread_start.s
index e7574d6cb1f6c34ade862ef0f453e362558f2bb6..5bf4bf61674abdddb54d4b5b4a8e194729ac6a86 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2009 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2009, 2011 Apple Inc. All rights reserved.
  *
  * @APPLE_LICENSE_HEADER_START@
  * 
@@ -38,3 +38,8 @@
 _thread_start:
     stmfd sp!, {r4, r5}
        bl __pthread_start
+
+// Stackshots will show the routine that happens to link immediately following
+// _thread_start.  So we add an extra instruction (nop) to make stackshots
+// more readable.
+       nop