summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/setjmp.S
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-02-04 10:07:51 +0000
committerEric Andersen <andersen@codepoet.org>2002-02-04 10:07:51 +0000
commitfea1b23bcf0b9ef29af0968f5adf1e822ca874ae (patch)
tree76c4a02bf12795a3f5b6b4698a8174e8d84d0485 /libc/sysdeps/linux/sparc/setjmp.S
parent59c9d20af6744d27285c9a505577308bd1f82781 (diff)
Adjust sparc port do it now actually works.
-Erik
Diffstat (limited to 'libc/sysdeps/linux/sparc/setjmp.S')
-rw-r--r--libc/sysdeps/linux/sparc/setjmp.S23
1 files changed, 10 insertions, 13 deletions
diff --git a/libc/sysdeps/linux/sparc/setjmp.S b/libc/sysdeps/linux/sparc/setjmp.S
index 70fa68697..30051418c 100644
--- a/libc/sysdeps/linux/sparc/setjmp.S
+++ b/libc/sysdeps/linux/sparc/setjmp.S
@@ -2,24 +2,21 @@
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public License as
- published by the Free Software Foundation; either version 2 of the
- License, or (at your option) any later version.
+ 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
- Library General Public License for more details.
+ Lesser General Public License for more details.
- You should have received a copy of the GNU Library General Public
- License along with the GNU C Library; see the file COPYING.LIB. If not,
- write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- Boston, MA 02111-1307, USA. */
-
-/* Code taken from glibc2.2.2/sysdeps/sparc/sparc32/setjmp.S */
+ 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 <sysdep.h>
-#include "sysdep.h"
#define _ASM 1
#define _SETJMP_H
@@ -49,5 +46,5 @@ ENTRY (__sigsetjmp)
mov %g1, %o7
END(__sigsetjmp)
-//weak_extern(_setjmp)
-//weak_extern(setjmp)
+.weak _setjmp
+.weak setjmp