1 |
commit: 1ed381bc5cd1d3d238a5d66b679b0f411fdaab85 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Wed May 20 15:29:14 2020 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 21 08:22:42 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ed381bc |
7 |
|
8 |
dev-libs/elfutils: remove unused patch |
9 |
|
10 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
11 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/15893 |
13 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
14 |
|
15 |
.../elfutils/files/elfutils-0.173-reorder.patch | 37 ---------------------- |
16 |
1 file changed, 37 deletions(-) |
17 |
|
18 |
diff --git a/dev-libs/elfutils/files/elfutils-0.173-reorder.patch b/dev-libs/elfutils/files/elfutils-0.173-reorder.patch |
19 |
deleted file mode 100644 |
20 |
index fd3dede7c25..00000000000 |
21 |
--- a/dev-libs/elfutils/files/elfutils-0.173-reorder.patch |
22 |
+++ /dev/null |
23 |
@@ -1,37 +0,0 @@ |
24 |
-https://bugs.gentoo.org/666954 |
25 |
-https://github.com/rpm-software-management/rpm/issues/423 |
26 |
-https://sourceware.org/ml/elfutils-devel/2019-q2/msg00077.html |
27 |
- |
28 |
-From: Mark Wielaard <mark at klomp dot org> |
29 |
-Subject: [PATCH] libelf: Mark shdr_flags dirty if offset or size changes during update. |
30 |
-Date: Mon, 13 May 2019 00:13:42 +0200 |
31 |
-Message-Id: <20190512221342.23383-1-mark@×××××.org> |
32 |
- |
33 |
-We forgot to mark the shdr_flags dirty when only the sh_size or |
34 |
-sh_offset changed during elf_update (). This meant that if there were |
35 |
-no other shdr changes we only wrote out the section data, but didn't |
36 |
-write out the shdr table to the file. |
37 |
- |
38 |
-Signed-off-by: Mark Wielaard <mark@×××××.org> |
39 |
---- |
40 |
- libelf/elf32_updatenull.c | 5 +- |
41 |
- |
42 |
---- a/libelf/elf32_updatenull.c |
43 |
-+++ b/libelf/elf32_updatenull.c |
44 |
-@@ -366,12 +366,15 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum) |
45 |
- } |
46 |
- |
47 |
- /* See whether the section size is correct. */ |
48 |
-+ int size_changed = 0; |
49 |
- update_if_changed (shdr->sh_size, (GElf_Word) offset, |
50 |
-- changed); |
51 |
-+ size_changed); |
52 |
-+ changed |= size_changed; |
53 |
- |
54 |
- if (shdr->sh_type != SHT_NOBITS) |
55 |
- size += offset; |
56 |
- |
57 |
-+ scn->shdr_flags |= (offset_changed | size_changed); |
58 |
- scn->flags |= changed; |
59 |
- } |
60 |
- |