diff options
author | Vineet Gupta <Vineet.Gupta1@synopsys.com> | 2014-09-02 13:20:47 +0530 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-09-06 23:16:00 +0200 |
commit | adc8eec4c31ab96b26d9fa822a97d6ac4b373398 (patch) | |
tree | 6d780b14695dc783cb9a79b482fa9a067b84b80a /package/strace/strace-04-xtensa-sort-values-in-struct_user_offsets.patch | |
parent | c4dc5af41b169ec2c897f7480c4f24766bf88c5e (diff) | |
download | buildroot-adc8eec4c31ab96b26d9fa822a97d6ac4b373398.tar.gz buildroot-adc8eec4c31ab96b26d9fa822a97d6ac4b373398.zip |
strace: upgrade to 4.9, supports ARC
Also get rid of the backport patches which are already present upstream.
Tested on ARC with LFS
[Peter: drop incomplete !LFS patch, depend on BR2_LARGEFILE]
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Cc: arc-linux-dev@synopsys.com
Cc: Max Filippov <jcmvbkbc@gmail.com>
Cc: Anton Blanchard <anton@samba.org>
Cc: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/strace/strace-04-xtensa-sort-values-in-struct_user_offsets.patch')
-rw-r--r-- | package/strace/strace-04-xtensa-sort-values-in-struct_user_offsets.patch | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/package/strace/strace-04-xtensa-sort-values-in-struct_user_offsets.patch b/package/strace/strace-04-xtensa-sort-values-in-struct_user_offsets.patch deleted file mode 100644 index 0ef038dbf3..0000000000 --- a/package/strace/strace-04-xtensa-sort-values-in-struct_user_offsets.patch +++ /dev/null @@ -1,76 +0,0 @@ -From 57fac759ca0945f5608ed6a2228c697f8fb67cd6 Mon Sep 17 00:00:00 2001 -From: Max Filippov <jcmvbkbc@gmail.com> -Date: Wed, 18 Jun 2014 06:04:06 +0400 -Subject: [PATCH] xtensa: sort values in struct_user_offsets - -Otherwise ptrace syscall argument decoding is wrong: - ptrace(PTRACE_PEEKUSER, 296, syscall_nr, [0x4048eb]) = 0 - ptrace(PTRACE_PEEKUSER, 296, syscall_nr, [0x3fa6cd30]) = 0 - ptrace(PTRACE_PEEKUSER, 296, syscall_nr, [0x8040676d]) = 0 -instead of - ptrace(PTRACE_PEEKUSER, 296, pc, [0x4048eb]) = 0 - ptrace(PTRACE_PEEKUSER, 296, a1, [0x3fa6cd30]) = 0 - ptrace(PTRACE_PEEKUSER, 296, a0, [0x8040676d]) = 0 - -* process.c (struct_user_offsets) [XTENSA]: Sort values. ---- -Backported from: 57fac759ca0945f5608ed6a2228c697f8fb67cd6 - - process.c | 34 +++++++++++++++++----------------- - 1 file changed, 17 insertions(+), 17 deletions(-) - -diff --git a/process.c b/process.c -index a880f9e..2cd0f01 100644 ---- a/process.c -+++ b/process.c -@@ -1865,6 +1865,23 @@ const struct xlat struct_user_offsets[] = { - { 4*33, "sr" }, - #endif - #ifdef XTENSA -+ { REG_A_BASE, "a0" }, -+ { REG_A_BASE+1, "a1" }, -+ { REG_A_BASE+2, "a2" }, -+ { REG_A_BASE+3, "a3" }, -+ { REG_A_BASE+4, "a4" }, -+ { REG_A_BASE+5, "a5" }, -+ { REG_A_BASE+6, "a6" }, -+ { REG_A_BASE+7, "a7" }, -+ { REG_A_BASE+8, "a8" }, -+ { REG_A_BASE+9, "a9" }, -+ { REG_A_BASE+10, "a10" }, -+ { REG_A_BASE+11, "a11" }, -+ { REG_A_BASE+12, "a12" }, -+ { REG_A_BASE+13, "a13" }, -+ { REG_A_BASE+14, "a14" }, -+ { REG_A_BASE+15, "a15" }, -+ { REG_PC, "pc" }, - { SYSCALL_NR, "syscall_nr" }, - { REG_AR_BASE, "ar0" }, - { REG_AR_BASE+1, "ar1" }, -@@ -1937,23 +1954,6 @@ const struct xlat struct_user_offsets[] = { - { REG_WB, "wb" }, - { REG_WS, "ws" }, - { REG_PS, "ps" }, -- { REG_PC, "pc" }, -- { REG_A_BASE, "a0" }, -- { REG_A_BASE+1, "a1" }, -- { REG_A_BASE+2, "a2" }, -- { REG_A_BASE+3, "a3" }, -- { REG_A_BASE+4, "a4" }, -- { REG_A_BASE+5, "a5" }, -- { REG_A_BASE+6, "a6" }, -- { REG_A_BASE+7, "a7" }, -- { REG_A_BASE+8, "a8" }, -- { REG_A_BASE+9, "a9" }, -- { REG_A_BASE+10, "a10" }, -- { REG_A_BASE+11, "a11" }, -- { REG_A_BASE+12, "a12" }, -- { REG_A_BASE+13, "a13" }, -- { REG_A_BASE+14, "a14" }, -- { REG_A_BASE+15, "a15" }, - #endif - - /* Other fields in "struct user" */ --- -1.8.1.4 - |