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

mipsel (little endian) support

the fields in the mcontext_t are long long (for no good reason) even
on 32-bit mips, so the offset of the instruction pointer (as a word)
varies depending on endianness.
上级 96107564
......@@ -5,4 +5,4 @@ static inline struct pthread *__pthread_self()
return self;
}
#define CANCEL_REG_IP 3
#define CANCEL_REG_IP (3-(union {int __i; char __b;}){1}.__b)
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册