summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/bfin/bsdsetjmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/bfin/bsdsetjmp.c')
-rw-r--r--libc/sysdeps/linux/bfin/bsdsetjmp.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/sysdeps/linux/bfin/bsdsetjmp.c b/libc/sysdeps/linux/bfin/bsdsetjmp.c
index 87de78a4c..7b953804c 100644
--- a/libc/sysdeps/linux/bfin/bsdsetjmp.c
+++ b/libc/sysdeps/linux/bfin/bsdsetjmp.c
@@ -1,16 +1,16 @@
-/*
- * setjmp for the Blackfin project
+/* setjmp for the Blackfin project
*
- * Copyright (C) 2003, Metrowerks
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
+ * Copyright (C) 2003 Metrowerks
* Based on code from Analog Devices.
*
- * This file is subject to the terms and conditions of the GNU Lesser
- * General Public License. See the file COPYING.LIB in the main
- * directory of this archive for more details.
- *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
+
#include <setjmp.h>
+#undef setjmp
+
int setjmp(jmp_buf env){
__asm__ __volatile__("[--SP] = p0;\n\t"
"p0 = r0;\n\t"