1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
2003-07-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>

	* sysdeps/unix/sysv/linux/sh/socket.S: Save and restore the PR
	register across CENABLE and CDISABLE.
This commit is contained in:
Ulrich Drepper
2003-07-12 01:29:23 +00:00
parent 6080ecdf3c
commit 4a17085f15
13 changed files with 267 additions and 82 deletions

View File

@ -94,7 +94,9 @@ ENTRY (__socket)
#if defined NEED_CANCELLATION && defined CENABLE
.Lsocket_cancel:
/* Enable asynchronous cancellation. */
sts.l pr,@-r15
CENABLE
lds.l @r15+,pr
/* Do the system call trap. */
mov #+P(SOCKOP_,socket), r4
@ -102,9 +104,11 @@ ENTRY (__socket)
mov.l .L1,r3
trapa #0x12
sts.l pr,@-r15
mov.l r0,@-r15
CDISABLE
mov.l @r15+,r0
lds.l @r15+,pr
/* Pop args off the stack */
P(POPARGS_,NARGS)