diff options
Diffstat (limited to 'meta-openembedded/meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch')
-rw-r--r-- | meta-openembedded/meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/meta-openembedded/meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch b/meta-openembedded/meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch deleted file mode 100644 index b3033621b..000000000 --- a/meta-openembedded/meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 230cd84486145c5bb1d69d4c9a544e00adbcc9b5 Mon Sep 17 00:00:00 2001 -From: Khem Raj <raj.khem@gmail.com> -Date: Sat, 1 Jul 2017 13:21:21 -0700 -Subject: [PATCH] Use ucontext_t instead of struct ucontext - -Newer glibc has dropped the ucontext tag from exposing - -Signed-off-by: Khem Raj <raj.khem@gmail.com> - ---- - src/stacktrace_powerpc-linux-inl.h | 3 +-- - 1 file changed, 1 insertion(+), 2 deletions(-) - -diff --git a/src/stacktrace_powerpc-linux-inl.h b/src/stacktrace_powerpc-linux-inl.h -index 3b3843b..a301a46 100644 ---- a/src/stacktrace_powerpc-linux-inl.h -+++ b/src/stacktrace_powerpc-linux-inl.h -@@ -53,7 +53,6 @@ - #elif defined(HAVE_UCONTEXT_H) - #include <ucontext.h> // for ucontext_t - #endif --typedef ucontext ucontext_t; - - // PowerPC64 Little Endian follows BE wrt. backchain, condition register, - // and LR save area, so no need to adjust the reading struct. -@@ -202,7 +201,7 @@ static int GET_STACK_TRACE_OR_FRAMES { - struct rt_signal_frame_32 { - char dummy[64 + 16]; - siginfo_t info; -- struct ucontext uc; -+ ucontext_t uc; - // We don't care about the rest, since IP value is at 'uc' field.A - } *sigframe = reinterpret_cast<rt_signal_frame_32*>(current); - result[n] = (void*) sigframe->uc.uc_mcontext.uc_regs->gregs[PT_NIP]; |