__malloc
__weak_reference(__malloc, malloc);
void *__malloc(size_t);
__weak_reference(__malloc, malloc);
pattr = __malloc(sizeof(struct __pthread_attr_s));
bar = __malloc(sizeof(struct __pthread_barrier_s));
*attr = __malloc(sizeof(struct __pthread_barrierattr_s));
new = __malloc(sizeof(struct pthread_cleanup));
pcond = __malloc(sizeof(struct __pthread_cond_s));
pattr = __malloc(sizeof(struct __pthread_condattr_s));
af = __malloc(sizeof(struct pthread_atfork));
af = __malloc(sizeof(struct pthread_atfork));
thread->name = __malloc(16);
thread = __malloc(sizeof(struct __pthread_s));
pmutex = __malloc(sizeof(struct __pthread_mutex_s));
pattr = __malloc(sizeof(struct __pthread_mutexattr_s));
void *__malloc(size_t bytes);
lck = __malloc(sizeof(struct __pthread_spinlock_s));
prwlock = __malloc(sizeof(struct __pthread_rwlock_s));
prwlockattr = __malloc(sizeof(struct __pthread_rwlockattr_s));
sem = __malloc(sizeof(struct sem));
ni = __malloc(sizeof(struct sem_info));