mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 22:39:49 +02: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>
62 lines
1.8 KiB
Diff
62 lines
1.8 KiB
Diff
From e57ad47fc8549353ca80c23b9b4f38f31fde13e5 Mon Sep 17 00:00:00 2001
|
|
From: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Date: Tue, 15 Aug 2017 17:27:30 +0800
|
|
Subject: [PATCH 6/7] Fix build on aarch64/musl
|
|
|
|
Errors
|
|
|
|
invalid operands to binary & (have 'long double' and 'unsigned int')
|
|
|
|
error: redefinition
|
|
of 'struct iovec'
|
|
struct iovec { void *iov_base; size_t iov_len; };
|
|
^
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
Rebase to 0.170
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
---
|
|
backends/aarch64_initreg.c | 4 ++--
|
|
backends/arm_initreg.c | 2 +-
|
|
2 files changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/backends/aarch64_initreg.c b/backends/aarch64_initreg.c
|
|
index daf6f37..6445276 100644
|
|
--- a/backends/aarch64_initreg.c
|
|
+++ b/backends/aarch64_initreg.c
|
|
@@ -33,7 +33,7 @@
|
|
#include "system.h"
|
|
#include <assert.h>
|
|
#if defined(__aarch64__) && defined(__linux__)
|
|
-# include <linux/uio.h>
|
|
+# include <sys/uio.h>
|
|
# include <sys/user.h>
|
|
# include <sys/ptrace.h>
|
|
/* Deal with old glibc defining user_pt_regs instead of user_regs_struct. */
|
|
@@ -82,7 +82,7 @@ aarch64_set_initial_registers_tid (pid_t tid __attribute__ ((unused)),
|
|
|
|
Dwarf_Word dwarf_fregs[32];
|
|
for (int r = 0; r < 32; r++)
|
|
- dwarf_fregs[r] = fregs.vregs[r] & 0xFFFFFFFF;
|
|
+ dwarf_fregs[r] = (unsigned int)fregs.vregs[r] & 0xFFFFFFFF;
|
|
|
|
if (! setfunc (64, 32, dwarf_fregs, arg))
|
|
return false;
|
|
diff --git a/backends/arm_initreg.c b/backends/arm_initreg.c
|
|
index efcabaf..062bb9e 100644
|
|
--- a/backends/arm_initreg.c
|
|
+++ b/backends/arm_initreg.c
|
|
@@ -38,7 +38,7 @@
|
|
#endif
|
|
|
|
#ifdef __aarch64__
|
|
-# include <linux/uio.h>
|
|
+# include <sys/uio.h>
|
|
# include <sys/user.h>
|
|
# include <sys/ptrace.h>
|
|
/* Deal with old glibc defining user_pt_regs instead of user_regs_struct. */
|
|
--
|
|
1.8.3.1
|
|
|