This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Update MIPS kernel-features.h for removal of __ASSUME_32BITUIDS
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: libc-ports at sourceware dot org
- Date: Fri, 25 May 2012 19:25:21 +0000 (UTC)
- Subject: Update MIPS kernel-features.h for removal of __ASSUME_32BITUIDS
Now that I've applied my libc patch to remove pre-2.4 kernel support, I've
applied this ports patch to remove the obsolete __ASSUME_32BITUIDS macro
from MIPS kernel-features.h.
HPPA still defines __ASSUME_32BITUIDS; that should be removed (the
definition is harmless but useless).
sysdeps/unix/sysv/linux/m68k/chown.c has __ASSUME_32BITUIDS conditionals;
this macro is no longer defined and the file should be simplified on the
basis that only the case where it is 1 now matters (or, preferably, moved
to a syscalls.list entry if possible, since it will reduce to __chown just
calling the chown32 syscall via INLINE_SYSCALL).
2012-05-25 Joseph Myers <joseph@codesourcery.com>
* sysdeps/unix/sysv/linux/mips/kernel-features.h
(__ASSUME_32BITUIDS): Remove.
diff --git a/sysdeps/unix/sysv/linux/mips/kernel-features.h b/sysdeps/unix/sysv/linux/mips/kernel-features.h
index 226b449..70f1fc1 100644
--- a/sysdeps/unix/sysv/linux/mips/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/mips/kernel-features.h
@@ -1,6 +1,6 @@
/* Set flags signalling availability of kernel features based on given
kernel version number.
- Copyright (C) 1999-2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1999-2012 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
@@ -19,10 +19,6 @@
#include <sgidefs.h>
-/* Linux 2.3.39 introduced 32bit UID/GIDs. Some platforms had 32
- bit type all along. */
-#define __ASSUME_32BITUIDS 1
-
/* MIPS platforms had IPC64 all along. */
#define __ASSUME_IPC64 1
--
Joseph S. Myers
joseph@codesourcery.com