This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Trying to compile the current glibc 2.2 on alpha, I noticed that <sys/ucontext.h> isn't in synch with the other architectures. Appended is a patch to add the missing parts. I'd appreciate if somebody would check if this is ok. Andreas 1999-10-12 Andreas Jaeger <aj@delta.suse.de> * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Synch with other architectures: Add NGREGS, greg_t, gregset_t, _fpstate. Index: sysdeps/unix/sysv/linux/alpha/sys/ucontext.h =================================================================== RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/alpha/sys/ucontext.h,v retrieving revision 1.2 diff -u -u -r1.2 ucontext.h --- ucontext.h 1999/03/01 07:20:35 1.2 +++ ucontext.h 1999/10/12 13:46:00 @@ -22,7 +22,21 @@ #include <features.h> #include <signal.h> +/* We need the signal context definitions even if they are not used + included in <signal.h>. */ #include <bits/sigcontext.h> + +/* Type for general register. */ +typedef long int greg_t; + +/* Number of general registers. */ +#define NGREG 33 + +/* Container for all general registers. */ +typedef greg_t gregset_t[NGREG]; + +/* Structure to describe FPU registers. */ +typedef struct _fpstate *fpregset_t; /* A machine context is exactly a sigcontext. */ typedef struct sigcontext mcontext_t;
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |