mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 09:32:17 +02:00
ptrace: Drop ptrace aid for musl/ppc
This has been fixed and is no longer needed (From OE-Core rev: 74ea0264cc5ba27dd37053f79301d18c8f1b6e7d) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -1,31 +0,0 @@
|
||||
From af1fdce78bff4343f3c84ea118abdc3c739fc646 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Sat, 30 Apr 2016 16:23:56 +0000
|
||||
Subject: [PATCH] Fix build when using non-glibc libc implementation on ppc
|
||||
|
||||
glibc includes the kernel header into its own header for macros
|
||||
musl does not
|
||||
|
||||
Upstream-Status: Pending
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
|
||||
---
|
||||
ptrace.h | 8 +++++++-
|
||||
1 file changed, 7 insertions(+), 1 deletion(-)
|
||||
|
||||
--- a/ptrace.h
|
||||
+++ b/ptrace.h
|
||||
@@ -30,7 +30,13 @@
|
||||
# define ptrace_peeksiginfo_args XXX_ptrace_peeksiginfo_args
|
||||
# endif
|
||||
|
||||
+#if defined(POWERPC) && !defined(__GLIBC__)
|
||||
+#define pt_regs uapi_pt_regs
|
||||
+#endif
|
||||
# include <linux/ptrace.h>
|
||||
+#if defined(POWERPC) && !defined(__GLIBC__)
|
||||
+# undef pt_regs
|
||||
+#endif
|
||||
|
||||
# ifdef HAVE_STRUCT_IA64_FPREG
|
||||
# undef ia64_fpreg
|
||||
@@ -10,7 +10,6 @@ SRC_URI = "https://strace.io/files/${PV}/strace-${PV}.tar.xz \
|
||||
file://update-gawk-paths.patch \
|
||||
file://Makefile-ptest.patch \
|
||||
file://run-ptest \
|
||||
file://0001-Fix-build-when-using-non-glibc-libc-implementation-o.patch \
|
||||
file://mips-SIGEMT.patch \
|
||||
file://0001-caps-abbrev.awk-fix-gawk-s-path.patch \
|
||||
file://0001-tests-sigaction-Check-for-mips-and-alpha-before-usin.patch \
|
||||
|
||||
Reference in New Issue
Block a user