From 82fd7314c7df8c5555dce027df6f2c98ca5a927f Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 12 Feb 2021 19:20:27 +0300 Subject: powerpc: Remove backtrace implementation The powerpc optimization to provide a fast stacktrace requires some ad-hoc code to handle Linux signal frames and the change is fragile once the kernel decides to slight change its execution sequence [1]. The generic implementation work as-is and it should be future proof since the kernel provides the expected CFI directives in vDSO shared page. Checked on powerpc-linux-gnu, powerpc64le-linux-gnu, and powerpc64-linux-gnu. [1] https://sourceware.org/pipermail/libc-alpha/2021-January/122027.html --- sysdeps/unix/sysv/linux/dl-vdso-setup.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'sysdeps/unix/sysv/linux/dl-vdso-setup.h') diff --git a/sysdeps/unix/sysv/linux/dl-vdso-setup.h b/sysdeps/unix/sysv/linux/dl-vdso-setup.h index daf9873c4e..75b00a0046 100644 --- a/sysdeps/unix/sysv/linux/dl-vdso-setup.h +++ b/sysdeps/unix/sysv/linux/dl-vdso-setup.h @@ -47,15 +47,6 @@ setup_vdso_pointers (void) #ifdef HAVE_GET_TBFREQ GLRO(dl_vdso_get_tbfreq) = dl_vdso_vsym (HAVE_GET_TBFREQ); #endif -#ifdef HAVE_SIGTRAMP_RT64 - GLRO(dl_vdso_sigtramp_rt64) = dl_vdso_vsym (HAVE_SIGTRAMP_RT64); -#endif -#ifdef HAVE_SIGTRAMP_RT32 - GLRO(dl_vdso_sigtramp_rt32) = dl_vdso_vsym (HAVE_SIGTRAMP_RT32); -#endif -#ifdef HAVE_SIGTRAMP_32 - GLRO(dl_vdso_sigtramp_32) = dl_vdso_vsym (HAVE_SIGTRAMP_32); -#endif } #endif -- cgit 1.4.1