X-Git-Url: https://git.saurik.com/apple/libc.git/blobdiff_plain/7b00c0c43f52e9d27168e67a26aac19065cdb40c..ad3c9f2af814c84582fdd1649e49ec4f68572c5a:/arm/pthreads/start_wqthread.s diff --git a/arm/pthreads/start_wqthread.s b/arm/pthreads/start_wqthread.s index 3cf471e..79bb28e 100644 --- a/arm/pthreads/start_wqthread.s +++ b/arm/pthreads/start_wqthread.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@ * @@ -36,5 +36,10 @@ .align 2 .globl _start_wqthread _start_wqthread: - stmfd sp!, {r4, r5} + stmfd sp!, {r4, r5} bl __pthread_wqthread + +// Stackshots will show the routine that happens to link immediately following +// _start_wqthread. So we add an extra instruction (nop) to make stackshots +// more readable. + nop