svn commit: trunk/uClibc/libc/sysdeps/linux/bfin
vapier at uclibc.org
vapier at uclibc.org
Wed May 17 04:48:59 UTC 2006
Author: vapier
Date: 2006-05-16 21:48:58 -0700 (Tue, 16 May 2006)
New Revision: 15097
Log:
restore proper comment headers as well as cut pointless includes as pointed out by Peter S. Mazinger
Modified:
trunk/uClibc/libc/sysdeps/linux/bfin/__longjmp.S
trunk/uClibc/libc/sysdeps/linux/bfin/bsd-_setjmp.S
trunk/uClibc/libc/sysdeps/linux/bfin/bsdsetjmp.c
trunk/uClibc/libc/sysdeps/linux/bfin/setjmp.S
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/bfin/__longjmp.S
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/bfin/__longjmp.S 2006-05-17 04:44:21 UTC (rev 15096)
+++ trunk/uClibc/libc/sysdeps/linux/bfin/__longjmp.S 2006-05-17 04:48:58 UTC (rev 15097)
@@ -1,18 +1,11 @@
-/*
- * longjmp for the Blackfin project
+/* longjmp for the Blackfin project
*
- * Copyright (C) 2004,
+ * Copyright (C) 2000-2006 Erik Andersen <andersen at uclibc.org>
+ * Copyright (C) 2004 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 <features.h>
-#define _SETJMP_H
-#define _ASM
-#include <bits/setjmp.h>
.text
.global ___longjmp;
Modified: trunk/uClibc/libc/sysdeps/linux/bfin/bsd-_setjmp.S
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/bfin/bsd-_setjmp.S 2006-05-17 04:44:21 UTC (rev 15096)
+++ trunk/uClibc/libc/sysdeps/linux/bfin/bsd-_setjmp.S 2006-05-17 04:48:58 UTC (rev 15097)
@@ -1,11 +1,11 @@
+/* __setjmp for the Blackfin project
+ *
+ * Copyright (C) 2000-2006 Erik Andersen <andersen at uclibc.org>
+ * Copyright (C) 2002, David McCullough <davidm at snapgear.com>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
-/* Copyright (C) 2002, David McCullough <davidm at snapgear.com> */
-/* This file is released under the LGPL, any version you like */
-
-#define _ASM
-#define _SETJMP_H
-#include <bits/setjmp.h>
-
.text
.global __setjmp;
.type __setjmp,STT_FUNC;
Modified: trunk/uClibc/libc/sysdeps/linux/bfin/bsdsetjmp.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/bfin/bsdsetjmp.c 2006-05-17 04:44:21 UTC (rev 15096)
+++ trunk/uClibc/libc/sysdeps/linux/bfin/bsdsetjmp.c 2006-05-17 04:48:58 UTC (rev 15097)
@@ -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 at 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"
Modified: trunk/uClibc/libc/sysdeps/linux/bfin/setjmp.S
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/bfin/setjmp.S 2006-05-17 04:44:21 UTC (rev 15096)
+++ trunk/uClibc/libc/sysdeps/linux/bfin/setjmp.S 2006-05-17 04:48:58 UTC (rev 15097)
@@ -1,17 +1,11 @@
-
-/* Cetjmp for the Blackfin project
+/* setjmp for the Blackfin project
*
- * Copyright (C) 2003, Metrowerks
+ * Copyright (C) 2000-2006 Erik Andersen <andersen at 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.
*/
-#define _ASM
-#define _SETJMP_H
-#include <bits/setjmp.h>
.text
.global ___sigsetjmp;
More information about the uClibc-cvs
mailing list