diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-09-11 15:25:24 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-09-11 16:01:49 -0700 |
commit | ebe908a21ab070f97d1a41c68f5ba296c4d745a8 (patch) | |
tree | edaea299302fc7d24ce06bf4a059d6e60c203c2c /meta-oe/recipes-devtools | |
parent | 054804de14224499d103fb11327ab62363c5e0ca (diff) | |
download | meta-openembedded-ebe908a21ab070f97d1a41c68f5ba296c4d745a8.tar.gz |
breakpad: Update dont-clobber-rsp patch to latest
This is based on upstream submission
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r-- | meta-oe/recipes-devtools/breakpad/breakpad/dont-clobber-rsp.patch | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/breakpad/breakpad/dont-clobber-rsp.patch b/meta-oe/recipes-devtools/breakpad/breakpad/dont-clobber-rsp.patch index b1c37fc8e..edf903552 100644 --- a/meta-oe/recipes-devtools/breakpad/breakpad/dont-clobber-rsp.patch +++ b/meta-oe/recipes-devtools/breakpad/breakpad/dont-clobber-rsp.patch | |||
@@ -1,3 +1,8 @@ | |||
1 | From d1d7b616219fd47736c804ff4c2f393d7184a75b Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 23 Dec 2018 16:58:04 -0800 | ||
4 | Subject: [PATCH] chromium: stack pointer clobber | ||
5 | |||
1 | Do not add stack pointer to clobber list | 6 | Do not add stack pointer to clobber list |
2 | 7 | ||
3 | it was being ignored until gcc 9.0 became capable | 8 | it was being ignored until gcc 9.0 became capable |
@@ -7,9 +12,23 @@ of flagging this silent ignoring via [1] | |||
7 | 12 | ||
8 | Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/linux-syscall-support/+/1390160] | 13 | Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/linux-syscall-support/+/1390160] |
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 14 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
15 | --- | ||
16 | src/third_party/lss/linux_syscall_support.h | 10 +++++----- | ||
17 | 1 file changed, 5 insertions(+), 5 deletions(-) | ||
10 | 18 | ||
19 | Index: b/src/third_party/lss/linux_syscall_support.h | ||
20 | =================================================================== | ||
11 | --- a/src/third_party/lss/linux_syscall_support.h | 21 | --- a/src/third_party/lss/linux_syscall_support.h |
12 | +++ b/src/third_party/lss/linux_syscall_support.h | 22 | +++ b/src/third_party/lss/linux_syscall_support.h |
23 | @@ -1957,7 +1957,7 @@ struct kernel_statfs { | ||
24 | LSS_ENTRYPOINT \ | ||
25 | "pop %%ebx" \ | ||
26 | args \ | ||
27 | - : "esp", "memory"); \ | ||
28 | + : "memory"); \ | ||
29 | LSS_RETURN(type,__res) | ||
30 | #undef _syscall0 | ||
31 | #define _syscall0(type,name) \ | ||
13 | @@ -1966,7 +1966,7 @@ struct kernel_statfs { | 32 | @@ -1966,7 +1966,7 @@ struct kernel_statfs { |
14 | __asm__ volatile(LSS_ENTRYPOINT \ | 33 | __asm__ volatile(LSS_ENTRYPOINT \ |
15 | : "=a" (__res) \ | 34 | : "=a" (__res) \ |
@@ -19,6 +38,33 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
19 | LSS_RETURN(type,__res); \ | 38 | LSS_RETURN(type,__res); \ |
20 | } | 39 | } |
21 | #undef _syscall1 | 40 | #undef _syscall1 |
41 | @@ -2014,7 +2014,7 @@ struct kernel_statfs { | ||
42 | : "i" (__NR_##name), "ri" ((long)(arg1)), \ | ||
43 | "c" ((long)(arg2)), "d" ((long)(arg3)), \ | ||
44 | "S" ((long)(arg4)), "D" ((long)(arg5)) \ | ||
45 | - : "esp", "memory"); \ | ||
46 | + : "memory"); \ | ||
47 | LSS_RETURN(type,__res); \ | ||
48 | } | ||
49 | #undef _syscall6 | ||
50 | @@ -2036,7 +2036,7 @@ struct kernel_statfs { | ||
51 | : "i" (__NR_##name), "0" ((long)(&__s)), \ | ||
52 | "c" ((long)(arg2)), "d" ((long)(arg3)), \ | ||
53 | "S" ((long)(arg4)), "D" ((long)(arg5)) \ | ||
54 | - : "esp", "memory"); \ | ||
55 | + : "memory"); \ | ||
56 | LSS_RETURN(type,__res); \ | ||
57 | } | ||
58 | LSS_INLINE int LSS_NAME(clone)(int (*fn)(void *), void *child_stack, | ||
59 | @@ -2122,7 +2122,7 @@ struct kernel_statfs { | ||
60 | : "0"(-EINVAL), "i"(__NR_clone), | ||
61 | "m"(fn), "m"(child_stack), "m"(flags), "m"(arg), | ||
62 | "m"(parent_tidptr), "m"(newtls), "m"(child_tidptr) | ||
63 | - : "esp", "memory", "ecx", "edx", "esi", "edi"); | ||
64 | + : "memory", "ecx", "edx", "esi", "edi"); | ||
65 | LSS_RETURN(int, __res); | ||
66 | } | ||
67 | |||
22 | @@ -2407,7 +2407,7 @@ struct kernel_statfs { | 68 | @@ -2407,7 +2407,7 @@ struct kernel_statfs { |
23 | "d"(LSS_SYSCALL_ARG(parent_tidptr)), | 69 | "d"(LSS_SYSCALL_ARG(parent_tidptr)), |
24 | "r"(LSS_SYSCALL_ARG(newtls)), | 70 | "r"(LSS_SYSCALL_ARG(newtls)), |