]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
sparc64: Remove unwind information from signal return stubs [BZ#31244]
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 17 Jan 2024 13:38:09 +0000 (10:38 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Fri, 2 Feb 2024 11:53:33 +0000 (08:53 -0300)
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)

sysdeps/unix/sysv/linux/sparc/sparc64/sigreturn_stub.S

index ac6af95e3688aa675026748e2446c0cf0d102f1d..23b8b93f56a5ae36616bbea380eaa5dfb2b25138 100644 (file)
 
    [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)