From 0f8877d0e8bf5e94b66c3eb0283a271b2b4f01b8 Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Thu, 28 Feb 2019 05:56:01 +0000 Subject: [PATCH] submitted-makecontext 2018-03-01 Aurelien Jarno [BZ #22910] * sysdeps/unix/sysv/linux/alpha/setcontext.S (__startcontext): Set up CFI directive to forbid further backtracing. Gbp-Pq: Topic alpha Gbp-Pq: Name submitted-makecontext.diff --- sysdeps/unix/sysv/linux/alpha/makecontext.S | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sysdeps/unix/sysv/linux/alpha/makecontext.S b/sysdeps/unix/sysv/linux/alpha/makecontext.S index cae2144e0..cc824dfe2 100644 --- a/sysdeps/unix/sysv/linux/alpha/makecontext.S +++ b/sysdeps/unix/sysv/linux/alpha/makecontext.S @@ -138,10 +138,14 @@ weak_alias (__makecontext, makecontext) .align 4 .ent __startcontext + cfi_startproc __startcontext: .frame $31, 0, $31, 0 .prologue 0 + /* Mark ra as undefined in order to stop unwinding here. */ + cfi_undefined(ra) + jsr $26, ($27), 0 ldgp $29, 0($26) mov $9, $16 @@ -160,4 +164,5 @@ __startcontext: halt + cfi_endproc .end __startcontext -- 2.30.2