diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-08-20 15:01:59 -0500 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2013-08-20 15:05:49 -0500 |
commit | d400dcac5e66047f86291d1a4b90fffb6327dc43 (patch) | |
tree | d2ff562dde1ad639f96e9fbe163e07b94d782854 /sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h | |
parent | c980f2f4fe0f5d301f706017a1f7e4e942193ec0 (diff) | |
download | glibc-d400dcac5e66047f86291d1a4b90fffb6327dc43.tar glibc-d400dcac5e66047f86291d1a4b90fffb6327dc43.tar.gz glibc-d400dcac5e66047f86291d1a4b90fffb6327dc43.tar.bz2 glibc-d400dcac5e66047f86291d1a4b90fffb6327dc43.zip |
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h b/sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h index 8b195db1bf..ba54de4eb0 100644 --- a/sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h +++ b/sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h @@ -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 |