]> git.saurik.com Git - apple/libc.git/blobdiff - pthreads/stack.s
Libc-583.tar.gz
[apple/libc.git] / pthreads / stack.s
index a1e10d659f48c33455615c9a6314ff1c625a9f1c..1d1cbc26d337bd57c814d9ada4eddaefdf6248db 100644 (file)
@@ -106,20 +106,16 @@ LEAF(__adjust_sp,0)
 
 #elif defined(__arm__)
 
-#define        LEAF(name)                                      \
-       .align 2                                        @\
-       .globl  name                                    @\
-name:                                                  @\
-       .set    __framesize,0
+#import        <architecture/arm/asm_help.h>
 
-LEAF(__sp)
+LEAF(__sp,0)
        mov     r0,sp
        bx      lr
 
 /*
  * void *_adjust_sp(void *sp)
  */
-LEAF(__adjust_sp)
+LEAF(__adjust_sp,0)
        sub     r0, r0, #0x100
        bx      lr