about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/kernel-features.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-04-11 04:42:14 +0000
committerUlrich Drepper <drepper@redhat.com>2001-04-11 04:42:14 +0000
commit390911beb3ae1f26f32318f79e344a70d896184c (patch)
treeb91091138d50272c0cfe00ea8836e30a08256cd6 /sysdeps/unix/sysv/linux/kernel-features.h
parent07bccb46708982ee080a3a57033df6ad392b82a5 (diff)
downloadglibc-390911beb3ae1f26f32318f79e344a70d896184c.tar.gz
glibc-390911beb3ae1f26f32318f79e344a70d896184c.tar.xz
glibc-390911beb3ae1f26f32318f79e344a70d896184c.zip
Update.
2001-04-10  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* elf/elf.h (AT_DCACHEBSIZE, AT_ICACHEBSIZE, AT_UCACHEBSIZE,
	AT_IGNOREPPC): New defines.
	* sysdeps/generic/dl-sysdep.c (_dl_show_auxv): Print them.
	* sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_STD_AUXV):
	Define for newer powerpc kernels.
	* sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Use the standard
	DL_FIND_ARG_COMPONENTS if __ASSUME_STD_AUXV is defined.
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r--sysdeps/unix/sysv/linux/kernel-features.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h
index bbbae67839..a2b4278169 100644
--- a/sysdeps/unix/sysv/linux/kernel-features.h
+++ b/sysdeps/unix/sysv/linux/kernel-features.h
@@ -163,3 +163,8 @@
 #if __LINUX_KERNEL_VERSION >= 132097
 # define __ASSUME_AT_PAGESIZE	1
 #endif
+
+/* Starting with 2.4.? kernels PPC passes the AUXV in the standard way.  */
+#if __LINUX_KERNEL_VERSION >= (132096+99) && defined __powerpc__
+# define __ASSUME_STD_AUXV	1
+#endif