about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-01-17 10:38:09 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2024-02-02 09:29:50 -0300
commit2ce7abef6767e41c32f6271eece7b5d13c4d6eb5 (patch)
tree5e0ca518e46ce4d65334174c613e1d7c5a8c68ce
parent98ec3e004e797ee7d4dc3ec43647b0cb11f3a9aa (diff)
downloadglibc-2ce7abef6767e41c32f6271eece7b5d13c4d6eb5.tar.gz
glibc-2ce7abef6767e41c32f6271eece7b5d13c4d6eb5.tar.xz
glibc-2ce7abef6767e41c32f6271eece7b5d13c4d6eb5.zip
sparc64: Remove unwind information from signal return stubs [BZ#31244]
Similar to sparc32 fix, remove the unwind information on the signal
return stubs.  This fixes the regressions:

FAIL: nptl/tst-cancel24-static
FAIL: nptl/tst-cond8-static
FAIL: nptl/tst-mutex8-static
FAIL: nptl/tst-mutexpi8-static
FAIL: nptl/tst-mutexpi9

On sparc64-linux-gnu.

(cherry picked from commit 369efd817780276dbe0ecf8be6e1f354bdbc9857)
-rw-r--r--sysdeps/unix/sysv/linux/sparc/sparc64/sigreturn_stub.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/sparc/sparc64/sigreturn_stub.S b/sysdeps/unix/sysv/linux/sparc/sparc64/sigreturn_stub.S
index 7fac04f657..f089bcaf68 100644
--- a/sysdeps/unix/sysv/linux/sparc/sparc64/sigreturn_stub.S
+++ b/sysdeps/unix/sysv/linux/sparc/sparc64/sigreturn_stub.S
@@ -23,7 +23,10 @@
 
    [1] https://lkml.org/lkml/2016/5/27/465  */
 
-ENTRY (__rt_sigreturn_stub)
+	nop
+	nop
+
+ENTRY_NOCFI (__rt_sigreturn_stub)
 	mov	__NR_rt_sigreturn, %g1
 	ta	0x6d
-END (__rt_sigreturn_stub)
+END_NOCFI (__rt_sigreturn_stub)