summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools')
-rw-r--r--meta-oe/recipes-devtools/breakpad/breakpad/dont-clobber-rsp.patch46
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 @@
1From d1d7b616219fd47736c804ff4c2f393d7184a75b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 23 Dec 2018 16:58:04 -0800
4Subject: [PATCH] chromium: stack pointer clobber
5
1Do not add stack pointer to clobber list 6Do not add stack pointer to clobber list
2 7
3it was being ignored until gcc 9.0 became capable 8it was being ignored until gcc 9.0 became capable
@@ -7,9 +12,23 @@ of flagging this silent ignoring via [1]
7 12
8Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/linux-syscall-support/+/1390160] 13Upstream-Status: Submitted [https://chromium-review.googlesource.com/c/linux-syscall-support/+/1390160]
9Signed-off-by: Khem Raj <raj.khem@gmail.com> 14Signed-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
19Index: 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)),