mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
PowerPC: fix backtrace to handle signal trampolines
This patch fixes backtrace for PPC32 and PPC64 to correctly handle signal trampolines. The 'debug/tst-backtrace6.c' also check for SA_SIGINFO handling, where is triggers another vDSO symbols for PPC32.
This commit is contained in:
@ -34,6 +34,13 @@ extern void *__vdso_getcpu;
|
||||
|
||||
extern void *__vdso_time;
|
||||
|
||||
#if defined(__PPC64__) || defined(__powerpc64__)
|
||||
extern void *__vdso_sigtramp_rt64;
|
||||
#else
|
||||
extern void *__vdso_sigtramp32;
|
||||
extern void *__vdso_sigtramp_rt32;
|
||||
#endif
|
||||
|
||||
/* This macro is needed for PPC64 to return a skeleton OPD entry of a vDSO
|
||||
symbol. This works because _dl_vdso_vsym always return the function
|
||||
address, and no vDSO symbols use the TOC or chain pointers from the OPD
|
||||
|
Reference in New Issue
Block a user