diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-11-23 15:47:20 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-23 23:35:19 +0000 |
commit | 43413f8dd6a9ab05badbfd97b45a5a78202e70a8 (patch) | |
tree | fc4f2c9fa8b3c28db1d77076a2c3cf25f45fddda /meta/recipes-devtools/elfutils/files/0005-fix-a-stack-usage-warning.patch | |
parent | fec5323dba7e23a42073995020c7336f3e6a7de1 (diff) | |
download | poky-43413f8dd6a9ab05badbfd97b45a5a78202e70a8.tar.gz |
elfutils: 0.174 -> 0.175
- Drop backport CVE patches
0001-libdwfl-Sanity-check-partial-core-file-data-reads.patch
0001-size-Handle-recursive-ELF-ar-files.patch
0001-arlib-Check-that-sh_entsize-isn-t-zero.patch
- Drop patches that upstream has fixed
0005-fix-a-stack-usage-warning.patch [9a74c19 backends: ppc use define
instead of const for size of dwarf_regs array.]
- Update debian patches to 0.175
- Rebase local patch to 0.175
0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch
(From OE-Core rev: 8748de4df5a4ece303f07f8bbb248920a199478a)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/0005-fix-a-stack-usage-warning.patch')
-rw-r--r-- | meta/recipes-devtools/elfutils/files/0005-fix-a-stack-usage-warning.patch | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/meta/recipes-devtools/elfutils/files/0005-fix-a-stack-usage-warning.patch b/meta/recipes-devtools/elfutils/files/0005-fix-a-stack-usage-warning.patch deleted file mode 100644 index e2966cbea4..0000000000 --- a/meta/recipes-devtools/elfutils/files/0005-fix-a-stack-usage-warning.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From 4d7ea681932556ad881f6841de90d0bfff56f8d7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | Date: Tue, 15 Aug 2017 17:25:16 +0800 | ||
4 | Subject: [PATCH 5/7] fix a stack-usage warning | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | not use a variable to as a array size, otherwise the warning to error | ||
9 | that | ||
10 | stack usage might be unbounded [-Werror=stack-usage=] will happen | ||
11 | |||
12 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
13 | |||
14 | Rebase to 0.170 | ||
15 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
16 | --- | ||
17 | backends/ppc_initreg.c | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/backends/ppc_initreg.c b/backends/ppc_initreg.c | ||
21 | index 3e4432f..59c2d97 100644 | ||
22 | --- a/backends/ppc_initreg.c | ||
23 | +++ b/backends/ppc_initreg.c | ||
24 | @@ -94,7 +94,7 @@ ppc_set_initial_registers_tid (pid_t tid __attribute__ ((unused)), | ||
25 | return false; | ||
26 | } | ||
27 | const size_t gprs = sizeof (user_regs.r.gpr) / sizeof (*user_regs.r.gpr); | ||
28 | - Dwarf_Word dwarf_regs[gprs]; | ||
29 | + Dwarf_Word dwarf_regs[sizeof (user_regs.r.gpr) / sizeof (*user_regs.r.gpr)]; | ||
30 | for (unsigned gpr = 0; gpr < gprs; gpr++) | ||
31 | dwarf_regs[gpr] = user_regs.r.gpr[gpr]; | ||
32 | if (! setfunc (0, gprs, dwarf_regs, arg)) | ||
33 | -- | ||
34 | 2.7.4 | ||
35 | |||