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 <patr...@bitrig.org> Obtained from: dr...@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 _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"