This is the mail archive of the mailing list for the glibc project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

ucontext tweak for mips n32

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  <>

	* 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;
     unsigned long int uc_flags;
     struct ucontext *uc_link;
     stack_t uc_stack;
     mcontext_t uc_mcontext;
Alexandre Oliva   Enjoy Guarana', see
Red Hat GCC Developer                 aoliva@{,}
CS PhD student at IC-Unicamp        oliva@{,}
Free Software Evangelist                Professional serial bug killer

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]