about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-18 00:43:17 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-18 00:43:17 +0000
commit8719e0fd50a2539f0c74083eab994308d9535028 (patch)
tree9782a98ba827c4e247e7e6d0ace4a645f5971d86 /sysdeps/unix/sysv/linux
parent7530e8f82862639ed3f391ea8cc8f2a34cdce326 (diff)
downloadglibc-8719e0fd50a2539f0c74083eab994308d9535028.tar.gz
glibc-8719e0fd50a2539f0c74083eab994308d9535028.tar.xz
glibc-8719e0fd50a2539f0c74083eab994308d9535028.zip
Update.
2000-09-17  H.J. Lu  <hjl@gnu.org>

	* catgets/Makefile ($(objpfx)de/libc.cat): Use
	$(make-target-directory) instead of mkdir.

2000-09-17  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* sysdeps/unix/sysv/linux/kernel-features.h: Always define
	__ASSUME_32BITUIDS for __powerpc__.
	* sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: New file.
	* sysdeps/unix/sysv/linux/powerpc/Dist: Add ipc_priv.h.

	* sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last
	* sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h5
-rw-r--r--sysdeps/unix/sysv/linux/m68k/sysdep.h2
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/Dist1
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/ipc_priv.h1
4 files changed, 6 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index c7ff66e2e4..48dc192568 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -110,8 +110,9 @@
 # define __ASSUME_NEW_GETRLIMIT_SYSCALL	1
 #endif
 
-/* Linux 2.3.39 introduced 32bit UID/GIDs.  */
-#if __LINUX_KERNEL_VERSION >= 131879
+/* Linux 2.3.39 introduced 32bit UID/GIDs.  Some platforms had 32 bit
+   type all along.  */
+#if __LINUX_KERNEL_VERSION >= 131879 || defined __powerpc__
 # define __ASSUME_32BITUIDS		1
 # ifdef __sparc__
 #  define __ASSUME_SETRESUID_SYSCALL	1
diff --git a/sysdeps/unix/sysv/linux/m68k/sysdep.h b/sysdeps/unix/sysv/linux/m68k/sysdep.h
index e10c78862b..39b7bda1bb 100644
--- a/sysdeps/unix/sysv/linux/m68k/sysdep.h
+++ b/sysdeps/unix/sysv/linux/m68k/sysdep.h
@@ -171,7 +171,7 @@ SYSCALL_ERROR_LABEL:							      \
        asm volatile ("trap #0"				\
 		     : "=d" (_d0)			\
 		     : "0" (_d0) ASM_ARGS_##nr		\
-		     : "d0" : "memory");		\
+		     : "d0", "memory");			\
        _sys_result = _d0;				\
      }							\
      if (_sys_result >= (unsigned int) -4095)		\
diff --git a/sysdeps/unix/sysv/linux/powerpc/Dist b/sysdeps/unix/sysv/linux/powerpc/Dist
index 54336cec39..e23e855de3 100644
--- a/sysdeps/unix/sysv/linux/powerpc/Dist
+++ b/sysdeps/unix/sysv/linux/powerpc/Dist
@@ -1,5 +1,6 @@
 clone.S
 fe_nomask.c
+ipc_priv.h
 kernel_stat.h
 kernel_termios.h
 oldgetrlimit64.c
diff --git a/sysdeps/unix/sysv/linux/powerpc/ipc_priv.h b/sysdeps/unix/sysv/linux/powerpc/ipc_priv.h
new file mode 100644
index 0000000000..9b85386a7c
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/powerpc/ipc_priv.h
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/alpha/ipc_priv.h>