public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/release/2.38/master] sparc64: Remove unwind information from signal return stubs [BZ#31244]
@ 2024-02-02 13:26 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2024-02-02 13:26 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0e383d2d4e7c08b36ad3edb30c072a3dc4d26ed8

commit 0e383d2d4e7c08b36ad3edb30c072a3dc4d26ed8
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Wed Jan 17 10:38:09 2024 -0300

    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)

Diff:
---
 sysdeps/unix/sysv/linux/sparc/sparc64/sigreturn_stub.S | 7 +++++--
 1 file 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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-02-02 13:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-02 13:26 [glibc/release/2.38/master] sparc64: Remove unwind information from signal return stubs [BZ#31244] Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).