Date: Sat, 6 Jun 2015 10:28:38 +0000 (UTC) From: Andrew Turner <andrew@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r284053 - head/lib/libc/aarch64/gen Message-ID: <201506061028.t56AScQ0051016@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: andrew Date: Sat Jun 6 10:28:38 2015 New Revision: 284053 URL: https://svnweb.freebsd.org/changeset/base/284053 Log: Set the correct register when calling sigprocmask in longjmp. Submitted by: Patrick Wildt <patrick@bitrig.org> Obtained from: drahn@bitrig.org Modified: head/lib/libc/aarch64/gen/setjmp.S Modified: head/lib/libc/aarch64/gen/setjmp.S ============================================================================== --- head/lib/libc/aarch64/gen/setjmp.S Sat Jun 6 09:28:40 2015 (r284052) +++ head/lib/libc/aarch64/gen/setjmp.S Sat Jun 6 10:28:38 2015 (r284053) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506061028.t56AScQ0051016>