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

fix fpregset_t type on powerpc64

the userspace ucontext API has this as an array rather than a
structure.

commit 3c59a868 fixed the
corresponding mistake for vrregset_t, namely that the original
powerpc64 port used a mix of types from 32-bit powerpc and powerpc64
rather than matching the 64-bit types.
上级 f6ecd0c2
...@@ -9,11 +9,7 @@ ...@@ -9,11 +9,7 @@
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE) #if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
typedef unsigned long greg_t, gregset_t[48]; typedef unsigned long greg_t, gregset_t[48];
typedef double fpregset_t[33];
typedef struct {
double fpregs[32];
double fpscr;
} fpregset_t;
typedef struct { typedef struct {
#ifdef __GNUC__ #ifdef __GNUC__
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册