Set the correct register when calling sigprocmask in longjmp.

Submitted by:	Patrick Wildt <patrick@bitrig.org>
Obtained from:	drahn@bitrig.org
This commit is contained in:
Andrew Turner 2015-06-06 10:28:38 +00:00
parent 32ba368ba9
commit cfca10c23e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284053

View File

@ -80,7 +80,7 @@ ENTRY(longjmp)
str x1, [sp, #16]
/* Restore the signal mask */
mov x1, #0 /* oset */
mov x2, #0 /* oset */
add x1, x0, #(_JB_SIGMASK * 8) /* set */
mov x0, #3 /* SIG_BLOCK */
bl sigprocmask