diff options
author | Hongxu Jia <hongxu.jia@windriver.com> | 2018-11-23 15:47:20 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-01-08 20:14:42 +0000 |
commit | d50041ea78ae164eaf9fde1d83d296f52312e4d4 (patch) | |
tree | 6f170d82d032238d712f1d7971ccb7de2c0a5bff /meta/recipes-devtools/elfutils/files/debian/0003-Add-mips-n64-relocation-format-hack.patch | |
parent | 38887e6c1a649d16f5666a4ffe4ab2b90ee94741 (diff) | |
download | poky-d50041ea78ae164eaf9fde1d83d296f52312e4d4.tar.gz |
elfutils: 0.174 -> 0.175
- Drop backport CVE patches
0001-libdwfl-Sanity-check-partial-core-file-data-reads.patch
0001-size-Handle-recursive-ELF-ar-files.patch
0001-arlib-Check-that-sh_entsize-isn-t-zero.patch
- Drop patches that upstream has fixed
0005-fix-a-stack-usage-warning.patch [9a74c19 backends: ppc use define
instead of const for size of dwarf_regs array.]
- Update debian patches to 0.175
- Rebase local patch to 0.175
0008-build-Provide-alternatives-for-glibc-assumptions-hel.patch
(From OE-Core rev: 8748de4df5a4ece303f07f8bbb248920a199478a)
(From OE-Core rev: 81ae67e603087166ec5583cc9686a60f769be799)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils/files/debian/0003-Add-mips-n64-relocation-format-hack.patch')
-rw-r--r-- | meta/recipes-devtools/elfutils/files/debian/0003-Add-mips-n64-relocation-format-hack.patch | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/meta/recipes-devtools/elfutils/files/debian/0003-Add-mips-n64-relocation-format-hack.patch b/meta/recipes-devtools/elfutils/files/debian/0003-Add-mips-n64-relocation-format-hack.patch index d27ce6dc9c..b196802bc1 100644 --- a/meta/recipes-devtools/elfutils/files/debian/0003-Add-mips-n64-relocation-format-hack.patch +++ b/meta/recipes-devtools/elfutils/files/debian/0003-Add-mips-n64-relocation-format-hack.patch | |||
@@ -1,6 +1,3 @@ | |||
1 | Upstream-Status: Pending [from debian] | ||
2 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
3 | |||
4 | From 59d4b8c48e5040af7e02b34eb26ea602ec82a38e Mon Sep 17 00:00:00 2001 | 1 | From 59d4b8c48e5040af7e02b34eb26ea602ec82a38e Mon Sep 17 00:00:00 2001 |
5 | From: James Cowgill <james410@cowgill.org.uk> | 2 | From: James Cowgill <james410@cowgill.org.uk> |
6 | Date: Mon, 5 Jan 2015 15:17:02 +0000 | 3 | Date: Mon, 5 Jan 2015 15:17:02 +0000 |
@@ -15,6 +12,8 @@ This patch also ensures that strip.c sets the correct value of e_machine | |||
15 | before manipulating relocations so that these changes take effect. | 12 | before manipulating relocations so that these changes take effect. |
16 | 13 | ||
17 | Signed-off-by: James Cowgill <james410@cowgill.org.uk> | 14 | Signed-off-by: James Cowgill <james410@cowgill.org.uk> |
15 | Upstream-Status: Pending [from debian] | ||
16 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
18 | --- | 17 | --- |
19 | libelf/gelf_getrel.c | 25 +++++++++++++++++++++++-- | 18 | libelf/gelf_getrel.c | 25 +++++++++++++++++++++++-- |
20 | libelf/gelf_getrela.c | 25 +++++++++++++++++++++++-- | 19 | libelf/gelf_getrela.c | 25 +++++++++++++++++++++++-- |
@@ -23,10 +22,10 @@ Signed-off-by: James Cowgill <james410@cowgill.org.uk> | |||
23 | src/strip.c | 17 +++++++++++++++++ | 22 | src/strip.c | 17 +++++++++++++++++ |
24 | 5 files changed, 101 insertions(+), 6 deletions(-) | 23 | 5 files changed, 101 insertions(+), 6 deletions(-) |
25 | 24 | ||
26 | Index: b/libelf/gelf_getrel.c | 25 | Index: elfutils-0.175/libelf/gelf_getrel.c |
27 | =================================================================== | 26 | =================================================================== |
28 | --- a/libelf/gelf_getrel.c | 27 | --- elfutils-0.175.orig/libelf/gelf_getrel.c |
29 | +++ b/libelf/gelf_getrel.c | 28 | +++ elfutils-0.175/libelf/gelf_getrel.c |
30 | @@ -36,6 +36,7 @@ | 29 | @@ -36,6 +36,7 @@ |
31 | 30 | ||
32 | #include "libelfP.h" | 31 | #include "libelfP.h" |
@@ -66,10 +65,10 @@ Index: b/libelf/gelf_getrel.c | |||
66 | } | 65 | } |
67 | 66 | ||
68 | rwlock_unlock (scn->elf->lock); | 67 | rwlock_unlock (scn->elf->lock); |
69 | Index: b/libelf/gelf_getrela.c | 68 | Index: elfutils-0.175/libelf/gelf_getrela.c |
70 | =================================================================== | 69 | =================================================================== |
71 | --- a/libelf/gelf_getrela.c | 70 | --- elfutils-0.175.orig/libelf/gelf_getrela.c |
72 | +++ b/libelf/gelf_getrela.c | 71 | +++ elfutils-0.175/libelf/gelf_getrela.c |
73 | @@ -36,6 +36,7 @@ | 72 | @@ -36,6 +36,7 @@ |
74 | 73 | ||
75 | #include "libelfP.h" | 74 | #include "libelfP.h" |
@@ -109,10 +108,10 @@ Index: b/libelf/gelf_getrela.c | |||
109 | } | 108 | } |
110 | 109 | ||
111 | rwlock_unlock (scn->elf->lock); | 110 | rwlock_unlock (scn->elf->lock); |
112 | Index: b/libelf/gelf_update_rel.c | 111 | Index: elfutils-0.175/libelf/gelf_update_rel.c |
113 | =================================================================== | 112 | =================================================================== |
114 | --- a/libelf/gelf_update_rel.c | 113 | --- elfutils-0.175.orig/libelf/gelf_update_rel.c |
115 | +++ b/libelf/gelf_update_rel.c | 114 | +++ elfutils-0.175/libelf/gelf_update_rel.c |
116 | @@ -36,6 +36,7 @@ | 115 | @@ -36,6 +36,7 @@ |
117 | 116 | ||
118 | #include "libelfP.h" | 117 | #include "libelfP.h" |
@@ -154,10 +153,10 @@ Index: b/libelf/gelf_update_rel.c | |||
154 | } | 153 | } |
155 | 154 | ||
156 | result = 1; | 155 | result = 1; |
157 | Index: b/libelf/gelf_update_rela.c | 156 | Index: elfutils-0.175/libelf/gelf_update_rela.c |
158 | =================================================================== | 157 | =================================================================== |
159 | --- a/libelf/gelf_update_rela.c | 158 | --- elfutils-0.175.orig/libelf/gelf_update_rela.c |
160 | +++ b/libelf/gelf_update_rela.c | 159 | +++ elfutils-0.175/libelf/gelf_update_rela.c |
161 | @@ -36,6 +36,7 @@ | 160 | @@ -36,6 +36,7 @@ |
162 | 161 | ||
163 | #include "libelfP.h" | 162 | #include "libelfP.h" |
@@ -199,11 +198,11 @@ Index: b/libelf/gelf_update_rela.c | |||
199 | } | 198 | } |
200 | 199 | ||
201 | result = 1; | 200 | result = 1; |
202 | Index: b/src/strip.c | 201 | Index: elfutils-0.175/src/strip.c |
203 | =================================================================== | 202 | =================================================================== |
204 | --- a/src/strip.c | 203 | --- elfutils-0.175.orig/src/strip.c |
205 | +++ b/src/strip.c | 204 | +++ elfutils-0.175/src/strip.c |
206 | @@ -598,6 +598,23 @@ handle_elf (int fd, Elf *elf, const char | 205 | @@ -1062,6 +1062,23 @@ handle_elf (int fd, Elf *elf, const char |
207 | goto fail; | 206 | goto fail; |
208 | } | 207 | } |
209 | 208 | ||
@@ -225,5 +224,5 @@ Index: b/src/strip.c | |||
225 | + } | 224 | + } |
226 | + | 225 | + |
227 | /* Copy over the old program header if needed. */ | 226 | /* Copy over the old program header if needed. */ |
228 | if (ehdr->e_type != ET_REL) | 227 | if (phnum > 0) |
229 | for (cnt = 0; cnt < phnum; ++cnt) | 228 | { |