Port musl to x86-64. One giant commit!

This commit is contained in:
Nicholas J. Kain 2011-02-15 07:32:09 -05:00
commit 1e12632591
43 changed files with 2222 additions and 0 deletions

View file

@ -0,0 +1,6 @@
static inline struct pthread *__pthread_self()
{
struct pthread *self;
__asm__ ("movq %%fs:0,%0" : "=r" (self) );
return self;
}