summaryrefslogtreecommitdiff
path: root/src/thread/x86_64/clone.s
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-06-13 20:28:14 -0400
committerRich Felker <dalias@aerifal.cx>2011-06-13 20:28:14 -0400
commit1e4f1cf154d18d2bd13cd4524a8bbae6786efd02 (patch)
treeeca66e8c61211ca5a192f78db4ef0c5d275e63e5 /src/thread/x86_64/clone.s
parent76100a724ee714a64f773e325d084fd0422aea3d (diff)
downloadmusl-1e4f1cf154d18d2bd13cd4524a8bbae6786efd02.tar.gz
remove all .size and .type directives for functions from the asm
these are useless and have caused problems for users trying to build with non-gnu tools like tcc's assembler.
Diffstat (limited to 'src/thread/x86_64/clone.s')
-rw-r--r--src/thread/x86_64/clone.s2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/thread/x86_64/clone.s b/src/thread/x86_64/clone.s
index e006bccd..ce67cc62 100644
--- a/src/thread/x86_64/clone.s
+++ b/src/thread/x86_64/clone.s
@@ -1,7 +1,6 @@
/* Copyright 2011 Nicholas J. Kain, licensed GNU LGPL 2.1 or later */
.text
.global __uniclone
-.type __uniclone,%function
/* rdi = child_stack, rsi = start, rdx = pthread_struct */
__uniclone:
subq $8,%rsp /* pad parent stack to prevent branch later */
@@ -19,4 +18,3 @@ __uniclone:
pop %rdi /* child stack: restore pthread_struct
* parent stack: undo rsp displacement */
ret
-.size __uniclone,.-__uniclone