diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-02-19 08:05:35 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-02-19 08:05:35 +0000 |
commit | 99bd22d637df063f913d3a232c494985b0f87bcb (patch) | |
tree | 33f389b8031758ac848dd7228366066116686bb9 | |
parent | c9fccff8aab9ab4fb5b841526619eb5bfe646dc6 (diff) | |
download | glibc-99bd22d637df063f913d3a232c494985b0f87bcb.tar.gz glibc-99bd22d637df063f913d3a232c494985b0f87bcb.tar.xz glibc-99bd22d637df063f913d3a232c494985b0f87bcb.zip |
Update.
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.
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/sys/procfs.h | 4 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/sys/ucontext.h | 6 |
3 files changed, 13 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog index 53c58d9fac..df81426589 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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. diff --git a/sysdeps/unix/sysv/linux/i386/sys/procfs.h b/sysdeps/unix/sysv/linux/i386/sys/procfs.h index 06300ebe10..230dfa6c30 100644 --- a/sysdeps/unix/sysv/linux/i386/sys/procfs.h +++ b/sysdeps/unix/sysv/linux/i386/sys/procfs.h @@ -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. */ diff --git a/sysdeps/unix/sysv/linux/i386/sys/ucontext.h b/sysdeps/unix/sysv/linux/i386/sys/ucontext.h index 44a5b12cd4..c10e99f36d 100644 --- a/sysdeps/unix/sysv/linux/i386/sys/ucontext.h +++ b/sysdeps/unix/sysv/linux/i386/sys/ucontext.h @@ -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 */ |