mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
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
This commit is contained in:
@@ -71,17 +71,6 @@ PROCINFO_CLASS int (*_dl_vdso_clock_getres_time64) (clockid_t,
|
||||
# ifdef HAVE_GET_TBFREQ
|
||||
PROCINFO_CLASS uint64_t (*_dl_vdso_get_tbfreq)(void) RELRO;
|
||||
# endif
|
||||
/* The sigtramp are used on powerpc backtrace without using
|
||||
INLINE_VSYSCALL, so there is no need to set their type. */
|
||||
# ifdef HAVE_SIGTRAMP_RT64
|
||||
PROCINFO_CLASS void *_dl_vdso_sigtramp_rt64 RELRO;
|
||||
# endif
|
||||
# ifdef HAVE_SIGTRAMP_RT32
|
||||
PROCINFO_CLASS void *_dl_vdso_sigtramp_rt32 RELRO;
|
||||
# endif
|
||||
# ifdef HAVE_SIGTRAMP_32
|
||||
PROCINFO_CLASS void *_dl_vdso_sigtramp_32 RELRO;
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#undef RELRO
|
||||
|
Reference in New Issue
Block a user