diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2014-09-30 17:33:05 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-09 10:17:05 +0000 |
commit | 826e36643a3fcb8b4ee4ed79612c63c3a9cc1536 (patch) | |
tree | 6ba11474878ae05acaa3b08948bde3e6aefcc604 /meta/recipes-devtools/strace/strace-4.8/strace-fix-64-bit-process-detection.patch | |
parent | 607d0099a652c83979b74cd8c8c3d8479221c513 (diff) | |
download | openembedded-core-contrib-826e36643a3fcb8b4ee4ed79612c63c3a9cc1536.tar.gz |
strace: Upgrade to 4.9
Remove two backported patches:
0001-Work-around-conflict-between-sys-ptrace.h-and-linux-.patch
strace-fix-64-bit-process-detection.patch
Update two patches to fit new version:
Makefile-ptest.patch
strace-add-configure-options.patch
Add coreutils, grep and gawk to RDEPENDS_${PN}-ptest for making
ptest pass.
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-devtools/strace/strace-4.8/strace-fix-64-bit-process-detection.patch')
-rw-r--r-- | meta/recipes-devtools/strace/strace-4.8/strace-fix-64-bit-process-detection.patch | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/meta/recipes-devtools/strace/strace-4.8/strace-fix-64-bit-process-detection.patch b/meta/recipes-devtools/strace/strace-4.8/strace-fix-64-bit-process-detection.patch deleted file mode 100644 index a6579df598..0000000000 --- a/meta/recipes-devtools/strace/strace-4.8/strace-fix-64-bit-process-detection.patch +++ /dev/null @@ -1,34 +0,0 @@ -powerpc64: fix 64-bit process detection on embedded - -* syscall.c (get_scno) [POWERPC64]: Fix 64-bit process detection -on embedded powerpc. - -Upstream-Status: Backport - -Signed-off-by: James Yang <james.yang@freescale.com> -Signed-off-by: Dmitry V. Levin <ldv@altlinux.org> - -diff --git a/syscall.c.orig b/syscall.c -index 7efee0e..72d9453 100644 ---- a/syscall.c.orig -+++ b/syscall.c -@@ -1207,11 +1207,14 @@ get_scno(struct tcb *tcp) - /* Check for 64/32 bit mode. */ - if (upeek(tcp, sizeof(unsigned long)*PT_MSR, &val) < 0) - return -1; -- /* SF is bit 0 of MSR */ -- if (val < 0) -- currpers = 0; -- else -- currpers = 1; -+ -+ /* -+ * Check for 64/32 bit mode. -+ * Embedded implementations covered by Book E extension of PPC use -+ * bit 0 (CM) of 32-bit Machine state register (MSR). -+ * Other implementations use bit 0 (SF) of 64-bit MSR. -+ */ -+ currpers = (val & 0x8000000080000000) ? 0 : 1; - update_personality(tcp, currpers); - # endif - #elif defined(AVR32) |