svn commit: trunk/uClibc/libc/sysdeps/linux/common

vapier at uclibc.org vapier at uclibc.org
Mon Jan 23 22:46:27 UTC 2006


Author: vapier
Date: 2006-01-23 14:46:26 -0800 (Mon, 23 Jan 2006)
New Revision: 13539

Log:
add support for arch_prctl() (only used on x86_64 atm)

Added:
   trunk/uClibc/libc/sysdeps/linux/common/arch_prctl.c


Changeset:
Added: trunk/uClibc/libc/sysdeps/linux/common/arch_prctl.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/arch_prctl.c	2006-01-23 22:42:17 UTC (rev 13538)
+++ trunk/uClibc/libc/sysdeps/linux/common/arch_prctl.c	2006-01-23 22:46:26 UTC (rev 13539)
@@ -0,0 +1,14 @@
+/* vi: set sw=4 ts=4: */
+/*
+ * arch_prctl() for uClibc
+ *
+ * Copyright (C) 2000-2006 Erik Andersen <andersen at uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+
+#include "syscalls.h"
+
+#ifdef __NR_arch_prctl
+_syscall2(int, arch_prctl, int, cod, unsigned long, addr);
+#endif




More information about the uClibc-cvs mailing list