diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2017-08-16 04:31:18 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-08-18 10:40:26 +0100 |
commit | 70de26076f36205b914be1b1911e5fc0afd65edb (patch) | |
tree | 8462c68ee795e2ac168c81db0ed52fae670f554a /meta/recipes-devtools/elfutils/elfutils | |
parent | a02826add027f71d1fca56547b2b72db28b1005f (diff) | |
download | poky-70de26076f36205b914be1b1911e5fc0afd65edb.tar.gz |
elfutils: 0.168 -> 0.170
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>
Diffstat (limited to 'meta/recipes-devtools/elfutils/elfutils')
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils/Fix_elf_cvt_gunhash.patch | 29 | ||||
-rw-r--r-- | meta/recipes-devtools/elfutils/elfutils/dso-link-change.patch | 32 |
2 files changed, 0 insertions, 61 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils/Fix_elf_cvt_gunhash.patch b/meta/recipes-devtools/elfutils/elfutils/Fix_elf_cvt_gunhash.patch deleted file mode 100644 index f861e8990e..0000000000 --- a/meta/recipes-devtools/elfutils/elfutils/Fix_elf_cvt_gunhash.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | Fix elf_cvt_gunhash if dest and src are same. | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | The 'dest' and 'src' can be same, we need to save the value of src32[2] | ||
6 | before swaping it. | ||
7 | |||
8 | Signed-off-by: Baoshan Pang <BaoShan.Pang@windriver.com> | ||
9 | diff --git a/libelf/gnuhash_xlate.h b/libelf/gnuhash_xlate.h | ||
10 | index 6faf113..04d9ca1 100644 | ||
11 | --- a/libelf/gnuhash_xlate.h | ||
12 | +++ b/libelf/gnuhash_xlate.h | ||
13 | @@ -40,6 +40,7 @@ elf_cvt_gnuhash (void *dest, const void *src, size_t len, int encode) | ||
14 | words. We must detangle them here. */ | ||
15 | Elf32_Word *dest32 = dest; | ||
16 | const Elf32_Word *src32 = src; | ||
17 | + Elf32_Word save_src32_2 = src32[2]; // dest could be equal to src | ||
18 | |||
19 | /* First four control words, 32 bits. */ | ||
20 | for (unsigned int cnt = 0; cnt < 4; ++cnt) | ||
21 | @@ -50,7 +51,7 @@ elf_cvt_gnuhash (void *dest, const void *src, size_t len, int encode) | ||
22 | len -= 4; | ||
23 | } | ||
24 | |||
25 | - Elf32_Word bitmask_words = encode ? src32[2] : dest32[2]; | ||
26 | + Elf32_Word bitmask_words = encode ? save_src32_2 : dest32[2]; | ||
27 | |||
28 | /* Now the 64 bit words. */ | ||
29 | Elf64_Xword *dest64 = (Elf64_Xword *) &dest32[4]; | ||
diff --git a/meta/recipes-devtools/elfutils/elfutils/dso-link-change.patch b/meta/recipes-devtools/elfutils/elfutils/dso-link-change.patch deleted file mode 100644 index d0cd3ed6f9..0000000000 --- a/meta/recipes-devtools/elfutils/elfutils/dso-link-change.patch +++ /dev/null | |||
@@ -1,32 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | # This patch makes the link to the dependencies of libdw explicit, as recent | ||
4 | # ld no longer implicitly links them. See | ||
5 | # http://lists.fedoraproject.org/pipermail/devel/2010-March/133601.html as | ||
6 | # a similar example of the error message you can encounter without this patch, | ||
7 | # and https://fedoraproject.org/wiki/UnderstandingDSOLinkChange and | ||
8 | # https://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking for more | ||
9 | # details. | ||
10 | |||
11 | --- elfutils-0.148.orig/src/Makefile.am | ||
12 | +++ elfutils-0.148/src/Makefile.am | ||
13 | @@ -86,7 +86,7 @@ libdw = ../libdw/libdw.a $(zip_LIBS) $(l | ||
14 | libelf = ../libelf/libelf.a | ||
15 | else | ||
16 | libasm = ../libasm/libasm.so | ||
17 | -libdw = ../libdw/libdw.so | ||
18 | +libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl | ||
19 | libelf = ../libelf/libelf.so | ||
20 | endif | ||
21 | libebl = ../libebl/libebl.a | ||
22 | --- elfutils-0.148.orig/tests/Makefile.am | ||
23 | +++ elfutils-0.148/tests/Makefile.am | ||
24 | @@ -172,7 +172,7 @@ libdw = ../libdw/libdw.a $(zip_LIBS) $(l | ||
25 | libelf = ../libelf/libelf.a | ||
26 | libasm = ../libasm/libasm.a | ||
27 | else | ||
28 | -libdw = ../libdw/libdw.so | ||
29 | +libdw = ../libdw/libdw.so $(zip_LIBS) $(libelf) $(libebl) -ldl | ||
30 | libelf = ../libelf/libelf.so | ||
31 | libasm = ../libasm/libasm.so | ||
32 | endif | ||