This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
ucontext tweak for mips n32
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: 30 Apr 2003 04:08:44 -0300
- Subject: ucontext tweak for mips n32
- Organization: GCC Team, Red Hat
Since the kernel is about to get a fix that makes struct ucontext look
the way it should, even in n32, this patch prepares glibc for the
upcoming kernel ABI change. Ok to install?
Index: ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* sysdeps/unix/sysv/linux/mips/sys/ucontext.h (ucontext): Make
uc_flags long for all ABIs.
Index: sysdeps/unix/sysv/linux/mips/sys/ucontext.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/mips/sys/ucontext.h,v
retrieving revision 1.7
diff -u -p -r1.7 ucontext.h
--- sysdeps/unix/sysv/linux/mips/sys/ucontext.h 13 Apr 2003 11:36:32 -0000 1.7
+++ sysdeps/unix/sysv/linux/mips/sys/ucontext.h 30 Apr 2003 07:06:28 -0000
@@ -99,11 +99,7 @@ typedef struct
/* Userlevel context. */
typedef struct ucontext
{
-#if defined _ABIN32 && _MIPS_SIM == _ABIN32
- __extension__ unsigned long long int uc_flags;
-#else
unsigned long int uc_flags;
-#endif
struct ucontext *uc_link;
stack_t uc_stack;
mcontext_t uc_mcontext;
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer