From: Luc Michel Date: Fri, 17 Oct 2025 09:27:12 +0000 (+0200) Subject: microblaze: fix __syscall_cancel_arch (BZ 33547) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c284fd5eaf4d9365ef788a31929cade68be3258e;p=thirdparty%2Fglibc.git microblaze: fix __syscall_cancel_arch (BZ 33547) The __syscall_cancel_arch function has an epilogue that does not match the prologue. The stack is not used and the return address still lies in r15 when reaching the epilogue. Fix the epilogue by simply returning from the function. Signed-off-by: Luc Michel Tested-by: gopi@sankhya.com Reviewed-by: Neal Frager Reviewed-by: Adhemerval Zanella --- diff --git a/sysdeps/unix/sysv/linux/microblaze/syscall_cancel.S b/sysdeps/unix/sysv/linux/microblaze/syscall_cancel.S index 38150e6a94..3e8dc96a93 100644 --- a/sysdeps/unix/sysv/linux/microblaze/syscall_cancel.S +++ b/sysdeps/unix/sysv/linux/microblaze/syscall_cancel.S @@ -50,9 +50,8 @@ __syscall_cancel_arch_start: __syscall_cancel_arch_end: nop - lwi r15,r1,0 rtsd r15,8 - addik r1,r1,28 + nop 1: brlid r15, __syscall_do_cancel