aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix
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/unix
parentb25effae3d4a02d655e3a8fe4d9085401de5d660 (diff)
downloadglibc-84c23a3d72c8487e0906ad7d6942ba4d1cd7b950.tar
glibc-84c23a3d72c8487e0906ad7d6942ba4d1cd7b950.tar.gz
glibc-84c23a3d72c8487e0906ad7d6942ba4d1cd7b950.tar.bz2
glibc-84c23a3d72c8487e0906ad7d6942ba4d1cd7b950.zip
* 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/unix')
-rw-r--r--sysdeps/unix/sysv/linux/sh/clone.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/sysdeps/unix/sysv/linux/sh/clone.S b/sysdeps/unix/sysv/linux/sh/clone.S
index 7941c6b3ad..f892c475dd 100644
--- a/sysdeps/unix/sysv/linux/sh/clone.S
+++ b/sysdeps/unix/sysv/linux/sh/clone.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000, 2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2000, 2003, 2004, 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
@@ -32,12 +32,12 @@
ENTRY(__clone)
/* sanity check arguments. */
tst r4, r4
- bf/s 1f
+ bt/s 0f
tst r5, r5
- bf/s 1f
- mov #-EINVAL,r0
+ bf 1f
+0:
bra .Lsyscall_error
- nop
+ mov #-EINVAL,r0
1:
/* insert the args onto the new stack */
mov.l r7, @-r5