about summary refs log tree commit diff
path: root/nptl/sysdeps/pthread
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-02-14 07:30:42 +0000
committerUlrich Drepper <drepper@redhat.com>2004-02-14 07:30:42 +0000
commit820387504835e39279fef36cfb0a832da32f6b13 (patch)
treeb0695ccb53308574c4a2157c28f92aabf287661e /nptl/sysdeps/pthread
parente2982bf018ff39fcfb452012027479a07457fa92 (diff)
downloadglibc-820387504835e39279fef36cfb0a832da32f6b13.tar.gz
glibc-820387504835e39279fef36cfb0a832da32f6b13.tar.xz
glibc-820387504835e39279fef36cfb0a832da32f6b13.zip
Update.
2004-02-13  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/generic/pt-longjmp.c: Moved to...
	* sysdeps/pthread/pt-longjmp.c: ...here.  New file.
Diffstat (limited to 'nptl/sysdeps/pthread')
-rw-r--r--nptl/sysdeps/pthread/pt-longjmp.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/nptl/sysdeps/pthread/pt-longjmp.c b/nptl/sysdeps/pthread/pt-longjmp.c
new file mode 100644
index 0000000000..f161380eaa
--- /dev/null
+++ b/nptl/sysdeps/pthread/pt-longjmp.c
@@ -0,0 +1,29 @@
+/* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+   Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
+
+   The GNU C Library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, write to the Free
+   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+   02111-1307 USA.  */
+
+#include <setjmp.h>
+#include <stdlib.h>
+#include "pthreadP.h"
+
+void
+longjmp (jmp_buf env, int val)
+{
+  __libc_longjmp (env, val);
+}
+weak_alias (longjmp, siglongjmp)