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. --- ChangeLog | 15 ++++++++++++++- catgets/Makefile | 2 +- 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 + 6 files changed, 21 insertions(+), 5 deletions(-) create mode 100644 sysdeps/unix/sysv/linux/powerpc/ipc_priv.h diff --git a/ChangeLog b/ChangeLog index 178b119cd7..2b5a30d6bc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,20 @@ +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. + 2000-09-17 Ulrich Drepper - * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Fix last + * sysdeps/unix/sysv/linux/m68k/sysdep.h (INLINE_SYSCALL): Fix last patch. + * sysdeps/unix/sysv/linux/arm/sysdep.h (INLINE_SYSCALL): Likewise. 2000-09-16 Jakub Jelinek diff --git a/catgets/Makefile b/catgets/Makefile index 5c72ecdbaa..bc6575c245 100644 --- a/catgets/Makefile +++ b/catgets/Makefile @@ -55,7 +55,7 @@ tests: $(objpfx)de/libc.cat $(objpfx)test1.cat $(objpfx)test1.cat: test1.msg $(objpfx)gencat $(built-program-cmd) -H $(objpfx)test1.h $@ $< $(objpfx)de/libc.cat: $(objpfx)de.msg $(objpfx)gencat - -mkdir $(objpfx)de + $(make-target-directory) $(built-program-cmd) $@ $< $(objpfx)tst-catgets.out: $(objpfx)de/libc.cat 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 v1.2.3