mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-01 10:06:57 +03:00
* 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.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/* BSD `setjmp' entry point to `sigsetjmp (..., 1)'. SH version.
|
||||
Copyright (C) 1999, 2000 Free Software Foundation, Inc.
|
||||
Copyright (C) 1999, 2000, 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 #1, r0
|
||||
mov #1, r5
|
||||
.align 2
|
||||
3:
|
||||
.long C_SYMBOL_NAME(__sigsetjmp@GOT)
|
||||
#else
|
||||
mov.l 1f, r1
|
||||
jmp @r1
|
||||
mov #1, r0
|
||||
mov #1, r5
|
||||
.align 2
|
||||
1:
|
||||
.long C_SYMBOL_NAME(__sigsetjmp)
|
||||
|
Reference in New Issue
Block a user