From: GNU Libc Maintainers Date: Thu, 6 Mar 2025 22:46:53 +0000 (+0100) Subject: submitted-makecontext X-Git-Tag: archive/raspbian/2.36-9+rpi1+deb12u10^2~88 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=69f86525f89bf138eb1b0ee4db03cb025281f954;p=glibc.git 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 --- diff --git a/sysdeps/unix/sysv/linux/alpha/makecontext.S b/sysdeps/unix/sysv/linux/alpha/makecontext.S index dde3fdd7f..93c798676 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