use weak aliases rather than function pointers to simplify some code
[musl] / src / thread / x86_64 / clone.s
index e006bcc..bf128a4 100644 (file)
@@ -1,7 +1,7 @@
 /* Copyright 2011 Nicholas J. Kain, licensed GNU LGPL 2.1 or later */
 .text
 .global __uniclone
-.type   __uniclone,%function
+.type   __uniclone,@function
 /* rdi = child_stack, rsi = start, rdx = pthread_struct */
 __uniclone:
         subq    $8,%rsp         /* pad parent stack to prevent branch later */
@@ -19,4 +19,3 @@ __uniclone:
         pop     %rdi            /* child stack: restore pthread_struct
                                  * parent stack: undo rsp displacement */
         ret
-.size __uniclone,.-__uniclone