2000-02-19  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Make fpregset_t
	definition compatible with definition in 2.1.2 and before.
	(struct ucontext): Use fpregset_t.
	* sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Define
	as pointer to fpregset_t.
This commit is contained in:
Ulrich Drepper 2000-02-19 08:05:35 +00:00
parent c9fccff8aa
commit 99bd22d637
3 changed files with 13 additions and 5 deletions

View File

@ -1,3 +1,11 @@
2000-02-19 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Make fpregset_t
definition compatible with definition in 2.1.2 and before.
(struct ucontext): Use fpregset_t.
* sysdeps/unix/sysv/linux/i386/sys/procfs.h (prfpregset_t): Define
as pointer to fpregset_t.
2000-02-18 Ulrich Drepper <drepper@redhat.com>
* string/bits/string2.h (strnlen): Add cast to prevent warning.

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1996, 1997, 1999 Free Software Foundation, Inc.
/* Copyright (C) 1996, 1997, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -102,7 +102,7 @@ typedef void *psaddr_t;
/* Register sets. Linux has different names. */
typedef gregset_t prgregset_t;
typedef fpregset_t prfpregset_t;
typedef fpregset_t *prfpregset_t;
/* We don't have any differences between processes and threads,
therefore habe only ine PID type. */

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc.
/* Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@ -82,7 +82,7 @@ enum
#endif
/* Structure to describe FPU registers. */
typedef struct _fpstate *fpregset_t;
typedef struct user_fpregs_struct fpregset_t;
/* Context to describe whole processor state. */
typedef struct
@ -103,7 +103,7 @@ typedef struct ucontext
stack_t uc_stack;
mcontext_t uc_mcontext;
__sigset_t uc_sigmask;
struct _fpstate __fpregs_mem;
fpregset_t __fpregs_mem;
} ucontext_t;
#endif /* sys/ucontext.h */