summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils/files/0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2018-07-02 13:57:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-07-04 00:02:16 +0100
commit60857bd2d4c4f78e452f131fa763a86ed56fc22e (patch)
tree2c70fbaa0a458cfc683cd1c39ef1786e3b6bc707 /meta/recipes-devtools/elfutils/files/0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch
parentb07db23759b92d592a312e3472720212bb5a724e (diff)
downloadpoky-60857bd2d4c4f78e452f131fa763a86ed56fc22e.tar.gz
elfutils: 0.170 -> 0.172
- Update debian 0.170 patches and rebase them for 0.172; - Drop 0001-Use-fallthrough-attribute.patch which was accepted by upstream; - Drop 0001-Ensure-that-packed-structs-follow-the-gcc-memory-lay.patch which was backported from upstream; (From OE-Core rev: dbbe9c1d1f822cf13a4c16b79bccf6bf5c4b91e4) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch')
-rw-r--r--meta/recipes-devtools/elfutils/files/0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/recipes-devtools/elfutils/files/0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch b/meta/recipes-devtools/elfutils/files/0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch
index 224770478d..bba420e349 100644
--- a/meta/recipes-devtools/elfutils/files/0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch
+++ b/meta/recipes-devtools/elfutils/files/0007-Fix-control-path-where-we-have-str-as-uninitialized-.patch
@@ -1,6 +1,6 @@
1From 1e91c1d4e37c05cf95058b4b3c3f352d72886f58 Mon Sep 17 00:00:00 2001 1From 8eb100b2e51be5d473b0748a223e2e7f61ec606c Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Tue, 15 Aug 2017 17:31:38 +0800 3Date: Fri, 29 Jun 2018 15:14:28 +0800
4Subject: [PATCH 7/7] Fix control path where we have str as uninitialized 4Subject: [PATCH 7/7] Fix control path where we have str as uninitialized
5 string 5 string
6 6
@@ -21,7 +21,7 @@ note: 'str' was declared here
21Signed-off-by: Khem Raj <raj.khem@gmail.com> 21Signed-off-by: Khem Raj <raj.khem@gmail.com>
22Upstream-Status: Pending 22Upstream-Status: Pending
23 23
24Rebase to 0.170 24Rebase to 0.172
25 25
26Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 26Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
27--- 27---
@@ -29,17 +29,17 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
29 1 file changed, 1 insertion(+) 29 1 file changed, 1 insertion(+)
30 30
31diff --git a/libcpu/i386_disasm.c b/libcpu/i386_disasm.c 31diff --git a/libcpu/i386_disasm.c b/libcpu/i386_disasm.c
32index 831afbe..60fd6d4 100644 32index a7e03f9..837a3a8 100644
33--- a/libcpu/i386_disasm.c 33--- a/libcpu/i386_disasm.c
34+++ b/libcpu/i386_disasm.c 34+++ b/libcpu/i386_disasm.c
35@@ -821,6 +821,7 @@ i386_disasm (Ebl *ebl __attribute__((unused)), 35@@ -821,6 +821,7 @@ i386_disasm (Ebl *ebl __attribute__((unused)),
36 } 36 }
37 /* Fallthrough */ 37 FALLTHROUGH;
38 default: 38 default:
39+ str = ""; 39+ str = "";
40 assert (! "INVALID not handled"); 40 assert (! "INVALID not handled");
41 } 41 }
42 } 42 }
43-- 43--
441.8.3.1 442.7.4
45 45