提交 d5bde7ba 编写于 作者: R Rich Felker

"optimize" arm __pthread_self

actually this is just to avoid gcc being stupid and refusing to inline
the function version, even when the size cost is essentially identical
whether it's inlined or not.
上级 4b153ac4
static inline struct pthread *__pthread_self() #define __pthread_self ((pthread_t (*)(void))0xffff0fe0)
{
return ((void *(*)(void))0xffff0fe0)();
}
#define CANCEL_REG_SP 16 #define CANCEL_REG_SP 16
#define CANCEL_REG_IP 18 #define CANCEL_REG_IP 18
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册