X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/51282358e8fdbfc483c0c34e7eae9b89b51f2570..ad3c9f2af814c84582fdd1649e49ec4f68572c5a:/arm/pthreads/thread_start.s?ds=sidebyside diff --git a/arm/pthreads/thread_start.s b/arm/pthreads/thread_start.s index e7574d6..5bf4bf6 100644 --- a/arm/pthreads/thread_start.s +++ b/arm/pthreads/thread_start.s @@ -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