summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libunwind/libunwind/0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-support/libunwind/libunwind/0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch')
-rw-r--r--meta/recipes-support/libunwind/libunwind/0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch16
1 files changed, 7 insertions, 9 deletions
diff --git a/meta/recipes-support/libunwind/libunwind/0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch b/meta/recipes-support/libunwind/libunwind/0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch
index edaa822be1..e58a71b741 100644
--- a/meta/recipes-support/libunwind/libunwind/0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch
+++ b/meta/recipes-support/libunwind/libunwind/0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch
@@ -1,7 +1,8 @@
1From 02919d74b1599979884f9cee466ed392d9fc4819 Mon Sep 17 00:00:00 2001 1From 24c751f9d21e892a9833e1b70a696b07872b0f7f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 9 Jul 2016 01:07:53 +0000 3Date: Sat, 9 Jul 2016 01:07:53 +0000
4Subject: [PATCH 5/6] ppc32: Consider ucontext mismatches between glibc and 4Subject: [PATCH] ppc32: Consider ucontext mismatches between glibc and
5
5 musl 6 musl
6 7
7This helps in porting libunwind onto musl based systems 8This helps in porting libunwind onto musl based systems
@@ -29,7 +30,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
29 3 files changed, 92 insertions(+), 79 deletions(-) 30 3 files changed, 92 insertions(+), 79 deletions(-)
30 31
31diff --git a/src/ppc32/Ginit.c b/src/ppc32/Ginit.c 32diff --git a/src/ppc32/Ginit.c b/src/ppc32/Ginit.c
32index ba30244..c5312d9 100644 33index 7b45455..f8d6886 100644
33--- a/src/ppc32/Ginit.c 34--- a/src/ppc32/Ginit.c
34+++ b/src/ppc32/Ginit.c 35+++ b/src/ppc32/Ginit.c
35@@ -48,12 +48,12 @@ uc_addr (ucontext_t *uc, int reg) 36@@ -48,12 +48,12 @@ uc_addr (ucontext_t *uc, int reg)
@@ -227,7 +228,7 @@ index c6ba806..b79f15c 100644
227 228
228 #endif 229 #endif
229diff --git a/src/ptrace/_UPT_reg_offset.c b/src/ptrace/_UPT_reg_offset.c 230diff --git a/src/ptrace/_UPT_reg_offset.c b/src/ptrace/_UPT_reg_offset.c
230index c82d1c9..6c31baa 100644 231index b7dd3b7..bfaf756 100644
231--- a/src/ptrace/_UPT_reg_offset.c 232--- a/src/ptrace/_UPT_reg_offset.c
232+++ b/src/ptrace/_UPT_reg_offset.c 233+++ b/src/ptrace/_UPT_reg_offset.c
233@@ -27,6 +27,13 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ 234@@ -27,6 +27,13 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
@@ -242,8 +243,5 @@ index c82d1c9..6c31baa 100644
242+# undef pt_regs 243+# undef pt_regs
243+#endif 244+#endif
244 245
245 #ifdef HAVE_ASM_PTRACE_OFFSETS_H 246 #ifdef HAVE_ASM_PTRACE_H
246 # include <asm/ptrace_offsets.h> 247 # include <asm/ptrace.h>
247--
2482.20.1
249