From 8719e0fd50a2539f0c74083eab994308d9535028 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 18 Sep 2000 00:43:17 +0000 Subject: Update. 2000-09-17 H.J. Lu * catgets/Makefile ($(objpfx)de/libc.cat): Use $(make-target-directory) instead of mkdir. 2000-09-17 Franz Sirl * 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. --- sysdeps/unix/sysv/linux/kernel-features.h | 5 +++-- sysdeps/unix/sysv/linux/m68k/sysdep.h | 2 +- sysdeps/unix/sysv/linux/powerpc/Dist | 1 + sysdeps/unix/sysv/linux/powerpc/ipc_priv.h | 1 + 4 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (limited to 'sysdeps/unix/sysv/linux') 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 -- cgit 1.4.1