mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
The 0.170 Fixed CVE issues - CVE-2017-7608 - CVE-2017-7612 - CVE-2017-7611 - CVE-2017-7610 - CVE-2016-10255 - CVE-2017-7613 - CVE-2017-7609 - CVE-2016-10254 - CVE-2017-7607 Rebase patches to 0.170 - dso-link-change.patch -> 0001 - Fix_elf_cvt_gunhash.patch -> 0002 - fixheadercheck.patch -> 0003 - 0001-remove-the-unneed-checking.patch -> 0004 - 0001-fix-a-stack-usage-warning.patch -> 0005 - aarch64_uio.patch -> 0006 - shadow.patch -> 0007 - 0001-build-Provide-alternatives-for-glibc-assumptions-hel.patch -> 0008 - debian/mips_backend.diff -> debian/mips_backend.patch Drop obsolete patches - 0001-elf_getarsym-Silence-Werror-maybe-uninitialized-fals.patch Upstream fixed it https://sourceware.org/git/?p=elfutils.git;a=commit;h=7114c513fbebcca8b76796b7f64b57447ba383e1 - Fix_one_GCC7_warning.patch It is a backported patch https://sourceware.org/git/?p=elfutils.git;a=commit;h=93c51144c3f664d4e9709da75a1d0fa00ea0fe95 - Drop debian patches, they modify test case. debian/testsuite-ignore-elflint.diff debian/kfreebsd_path.patch debian/hurd_path.patch debian/ignore_strmerge.diff (From OE-Core rev: 4ca17f9275c81f27498b7ac07d9fe7e8193fdd71) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
1.3 KiB
Diff
37 lines
1.3 KiB
Diff
GCC7 adds -Wimplicit-fallthrough to warn when a switch case falls through,
|
|
however this causes warnings (which are promoted to errors) with the elfutils
|
|
patches from Debian for mips and parisc, which use fallthrough's by design.
|
|
|
|
Explicitly mark the intentional fallthrough switch cases with a comment to
|
|
disable the warnings where the fallthrough behaviour is desired.
|
|
|
|
Upstream-Status: Pending [debian]
|
|
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
|
|
|
|
Index: elfutils-0.168/backends/parisc_retval.c
|
|
===================================================================
|
|
--- elfutils-0.168.orig/backends/parisc_retval.c
|
|
+++ elfutils-0.168/backends/parisc_retval.c
|
|
@@ -166,7 +166,7 @@ parisc_return_value_location_ (Dwarf_Die
|
|
return nloc_intregpair;
|
|
|
|
/* Else fall through. */
|
|
- }
|
|
+ } // fallthrough
|
|
|
|
case DW_TAG_structure_type:
|
|
case DW_TAG_class_type:
|
|
Index: elfutils-0.168/backends/mips_retval.c
|
|
===================================================================
|
|
--- elfutils-0.168.orig/backends/mips_retval.c
|
|
+++ elfutils-0.168/backends/mips_retval.c
|
|
@@ -387,7 +387,7 @@ mips_return_value_location (Dwarf_Die *f
|
|
else
|
|
return nloc_intregpair;
|
|
}
|
|
- }
|
|
+ } // fallthrough
|
|
|
|
/* Fallthrough to handle large types */
|
|
|