diff options
Diffstat (limited to 'meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch')
-rw-r--r-- | meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch b/meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch index 5bd0b6fa4..b3033621b 100644 --- a/meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch +++ b/meta-oe/recipes-support/gperftools/gperftools/0001-Use-ucontext_t-instead-of-struct-ucontext.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 12ac0dc6742e1bcdfaf1842186c9002f0820a5e8 Mon Sep 17 00:00:00 2001 | 1 | From 230cd84486145c5bb1d69d4c9a544e00adbcc9b5 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sat, 1 Jul 2017 13:21:21 -0700 | 3 | Date: Sat, 1 Jul 2017 13:21:21 -0700 |
4 | Subject: [PATCH] Use ucontext_t instead of struct ucontext | 4 | Subject: [PATCH] Use ucontext_t instead of struct ucontext |
@@ -6,12 +6,13 @@ Subject: [PATCH] Use ucontext_t instead of struct ucontext | |||
6 | Newer glibc has dropped the ucontext tag from exposing | 6 | Newer glibc has dropped the ucontext tag from exposing |
7 | 7 | ||
8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
9 | |||
9 | --- | 10 | --- |
10 | src/stacktrace_powerpc-linux-inl.h | 3 +-- | 11 | src/stacktrace_powerpc-linux-inl.h | 3 +-- |
11 | 1 file changed, 1 insertion(+), 2 deletions(-) | 12 | 1 file changed, 1 insertion(+), 2 deletions(-) |
12 | 13 | ||
13 | diff --git a/src/stacktrace_powerpc-linux-inl.h b/src/stacktrace_powerpc-linux-inl.h | 14 | diff --git a/src/stacktrace_powerpc-linux-inl.h b/src/stacktrace_powerpc-linux-inl.h |
14 | index a9bf775..47ff2d7 100644 | 15 | index 3b3843b..a301a46 100644 |
15 | --- a/src/stacktrace_powerpc-linux-inl.h | 16 | --- a/src/stacktrace_powerpc-linux-inl.h |
16 | +++ b/src/stacktrace_powerpc-linux-inl.h | 17 | +++ b/src/stacktrace_powerpc-linux-inl.h |
17 | @@ -53,7 +53,6 @@ | 18 | @@ -53,7 +53,6 @@ |
@@ -31,6 +32,3 @@ index a9bf775..47ff2d7 100644 | |||
31 | // We don't care about the rest, since IP value is at 'uc' field.A | 32 | // We don't care about the rest, since IP value is at 'uc' field.A |
32 | } *sigframe = reinterpret_cast<rt_signal_frame_32*>(current); | 33 | } *sigframe = reinterpret_cast<rt_signal_frame_32*>(current); |
33 | result[n] = (void*) sigframe->uc.uc_mcontext.uc_regs->gregs[PT_NIP]; | 34 | result[n] = (void*) sigframe->uc.uc_mcontext.uc_regs->gregs[PT_NIP]; |
34 | -- | ||
35 | 2.13.2 | ||
36 | |||