From ba109ec5301dcd1efdc47258089f9a44a00531e4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 17 May 2006 04:48:58 +0000 Subject: restore proper comment headers as well as cut pointless includes as pointed out by Peter S. Mazinger --- libc/sysdeps/linux/bfin/__longjmp.S | 15 ++++----------- libc/sysdeps/linux/bfin/bsd-_setjmp.S | 14 +++++++------- libc/sysdeps/linux/bfin/bsdsetjmp.c | 14 +++++++------- libc/sysdeps/linux/bfin/setjmp.S | 14 ++++---------- 4 files changed, 22 insertions(+), 35 deletions(-) (limited to 'libc/sysdeps/linux/bfin') diff --git a/libc/sysdeps/linux/bfin/__longjmp.S b/libc/sysdeps/linux/bfin/__longjmp.S index 8648b2d7d..dc614158c 100644 --- a/libc/sysdeps/linux/bfin/__longjmp.S +++ b/libc/sysdeps/linux/bfin/__longjmp.S @@ -1,18 +1,11 @@ -/* - * longjmp for the Blackfin project +/* longjmp for the Blackfin project * - * Copyright (C) 2004, + * Copyright (C) 2000-2006 Erik Andersen + * 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 -#define _SETJMP_H -#define _ASM -#include .text .global ___longjmp; diff --git a/libc/sysdeps/linux/bfin/bsd-_setjmp.S b/libc/sysdeps/linux/bfin/bsd-_setjmp.S index 69ae8f878..e2338d6cc 100644 --- a/libc/sysdeps/linux/bfin/bsd-_setjmp.S +++ b/libc/sysdeps/linux/bfin/bsd-_setjmp.S @@ -1,10 +1,10 @@ - -/* Copyright (C) 2002, David McCullough */ -/* This file is released under the LGPL, any version you like */ - -#define _ASM -#define _SETJMP_H -#include +/* __setjmp for the Blackfin project + * + * Copyright (C) 2000-2006 Erik Andersen + * Copyright (C) 2002, David McCullough + * + * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball. + */ .text .global __setjmp; 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 + * 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 +#undef setjmp + int setjmp(jmp_buf env){ __asm__ __volatile__("[--SP] = p0;\n\t" "p0 = r0;\n\t" diff --git a/libc/sysdeps/linux/bfin/setjmp.S b/libc/sysdeps/linux/bfin/setjmp.S index 7ca92106f..1b304f84d 100644 --- a/libc/sysdeps/linux/bfin/setjmp.S +++ b/libc/sysdeps/linux/bfin/setjmp.S @@ -1,17 +1,11 @@ - -/* Cetjmp for the Blackfin project +/* setjmp for the Blackfin project * - * Copyright (C) 2003, Metrowerks + * Copyright (C) 2000-2006 Erik Andersen + * 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 .text .global ___sigsetjmp; -- cgit v1.2.3