summaryrefslogtreecommitdiffstats
path: root/recipes-devtools/elfutils/elfutils-0.148/gcc6.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-02 12:24:31 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-02 12:30:01 +0000
commit8ba70a1c28a4e0ee73db5308b38abc923b0be44d (patch)
tree0ed9bff8e4bd70766c81dbb559d32781bdd93ce8 /recipes-devtools/elfutils/elfutils-0.148/gcc6.patch
downloadmeta-gplv2-8ba70a1c28a4e0ee73db5308b38abc923b0be44d.tar.gz
Create meta-gplv2 from files from OE-Core
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'recipes-devtools/elfutils/elfutils-0.148/gcc6.patch')
-rw-r--r--recipes-devtools/elfutils/elfutils-0.148/gcc6.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/recipes-devtools/elfutils/elfutils-0.148/gcc6.patch b/recipes-devtools/elfutils/elfutils-0.148/gcc6.patch
new file mode 100644
index 0000000..b56a754
--- /dev/null
+++ b/recipes-devtools/elfutils/elfutils-0.148/gcc6.patch
@@ -0,0 +1,23 @@
1Fix warnings found with gcc6
2
3| ../../elfutils-0.148/libdw/dwarf_siblingof.c: In function 'dwarf_siblingof':
4| ../../elfutils-0.148/libdw/dwarf_siblingof.c:69:6: error: nonnull argument 'result' compared to NULL [-Werror=nonnull-compare]
5| if (result == NULL)
6| ^
7
8Signed-off-by: Khem Raj <raj.khem@gmail.com>
9Upstream-Status: Inappropriate [ unmaintained ]
10Index: elfutils-0.148/libdw/dwarf_siblingof.c
11===================================================================
12--- elfutils-0.148.orig/libdw/dwarf_siblingof.c
13+++ elfutils-0.148/libdw/dwarf_siblingof.c
14@@ -66,9 +66,6 @@ dwarf_siblingof (die, result)
15 if (die == NULL)
16 return -1;
17
18- if (result == NULL)
19- return -1;
20-
21 if (result != die)
22 result->addr = NULL;
23