summaryrefslogtreecommitdiff
path: root/sysdeps/sh/bsd-_setjmp.S
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2007-07-15 00:12:18 +0000
committerRoland McGrath <roland@gnu.org>2007-07-15 00:12:18 +0000
commit84c23a3d72c8487e0906ad7d6942ba4d1cd7b950 (patch)
tree94e407daca7f26d2d91f312811b7b8121cb87a75 /sysdeps/sh/bsd-_setjmp.S
parentb25effae3d4a02d655e3a8fe4d9085401de5d660 (diff)
downloadglibc-84c23a3d72c8487e0906ad7d6942ba4d1cd7b950.tar.gz
* sysdeps/sh/bsd-setjmp.S (setjmp): Use correct argument registers.
* sysdeps/sh/bsd-_setjmp.S (_setjmp): Likewise. * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Do correct sanity check for the first argument.
Diffstat (limited to 'sysdeps/sh/bsd-_setjmp.S')
-rw-r--r--sysdeps/sh/bsd-_setjmp.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/sh/bsd-_setjmp.S b/sysdeps/sh/bsd-_setjmp.S
index 2811fcfd1b..dbfd95259b 100644
--- a/sysdeps/sh/bsd-_setjmp.S
+++ b/sysdeps/sh/bsd-_setjmp.S
@@ -1,5 +1,5 @@
/* BSD `_setjmp' entry point to `sigsetjmp (..., 0)'. SH version.
- Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2002, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -36,14 +36,14 @@ ENTRY (_setjmp)
mov.l 3f, r1
mov.l @(r0,r1), r1
jmp @r1
- mov #0, r0
+ mov #0, r5
.align 2
3:
.long C_SYMBOL_NAME(__sigsetjmp@GOT)
#else
mov.l 1f, r1
jmp @r1
- mov #0, r0
+ mov #0, r5
.align 2
1:
.long C_SYMBOL_NAME(__sigsetjmp)