Updated to fedora-glibc-20080524T2218
[glibc.git] / fedora / glibc-ppc-assume.patch
blob49ae4975596431816fada4c4fe3133e1a2730c22
1 --- libc/sysdeps/unix/sysv/linux/powerpc/kernel-features.h.jj 2003-01-30 05:24:37.000000000 -0500
2 +++ libc/sysdeps/unix/sysv/linux/powerpc/kernel-features.h 2003-09-23 18:28:07.000000000 -0400
3 @@ -0,0 +1,15 @@
4 +/* In RHEL3, we can assume the shipped kernel, which is 2.4.21. */
5 +#include_next <kernel-features.h>
7 +#if !defined __ASSUME_NEW_PRCTL_SYSCALL && defined __powerpc__
8 +# define __ASSUME_NEW_PRCTL_SYSCALL 1
9 +#endif
11 +#if !defined __ASSUME_FIXED_CLONE_SYSCALL && defined __powerpc__ \
12 + && !defined __powerpc64__
13 +# define __ASSUME_FIXED_CLONE_SYSCALL 1
14 +#endif
16 +#if !defined __ASSUME_NEW_RT_SIGRETURN_SYSCALL && defined __powerpc64__
17 +# define __ASSUME_NEW_RT_SIGRETURN_SYSCALL 1
18 +#endif
19 --- libc/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c.jj 2003-03-16 01:40:44.000000000 +0100
20 +++ libc/sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c 2005-06-27 16:33:19.000000000 +0200
21 @@ -19,7 +19,7 @@
24 #include "config.h"
25 -#include "kernel-features.h"
26 +#include <kernel-features.h>
27 #include <ldsodefs.h>
29 extern int __cache_line_size;