From 1ed381bc5cd1d3d238a5d66b679b0f411fdaab85 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Wed, 20 May 2020 17:29:14 +0200 Subject: [PATCH] dev-libs/elfutils: remove unused patch Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Michael Mair-Keimberger Closes: https://github.com/gentoo/gentoo/pull/15893 Signed-off-by: Sergei Trofimovich --- .../files/elfutils-0.173-reorder.patch | 37 ------------------- 1 file changed, 37 deletions(-) delete mode 100644 dev-libs/elfutils/files/elfutils-0.173-reorder.patch diff --git a/dev-libs/elfutils/files/elfutils-0.173-reorder.patch b/dev-libs/elfutils/files/elfutils-0.173-reorder.patch deleted file mode 100644 index fd3dede7c25a..000000000000 --- a/dev-libs/elfutils/files/elfutils-0.173-reorder.patch +++ /dev/null @@ -1,37 +0,0 @@ -https://bugs.gentoo.org/666954 -https://github.com/rpm-software-management/rpm/issues/423 -https://sourceware.org/ml/elfutils-devel/2019-q2/msg00077.html - -From: Mark Wielaard -Subject: [PATCH] libelf: Mark shdr_flags dirty if offset or size changes during update. -Date: Mon, 13 May 2019 00:13:42 +0200 -Message-Id: <20190512221342.23383-1-mark@klomp.org> - -We forgot to mark the shdr_flags dirty when only the sh_size or -sh_offset changed during elf_update (). This meant that if there were -no other shdr changes we only wrote out the section data, but didn't -write out the shdr table to the file. - -Signed-off-by: Mark Wielaard ---- - libelf/elf32_updatenull.c | 5 +- - ---- a/libelf/elf32_updatenull.c -+++ b/libelf/elf32_updatenull.c -@@ -366,12 +366,15 @@ __elfw2(LIBELFBITS,updatenull_wrlock) (Elf *elf, int *change_bop, size_t shnum) - } - - /* See whether the section size is correct. */ -+ int size_changed = 0; - update_if_changed (shdr->sh_size, (GElf_Word) offset, -- changed); -+ size_changed); -+ changed |= size_changed; - - if (shdr->sh_type != SHT_NOBITS) - size += offset; - -+ scn->shdr_flags |= (offset_changed | size_changed); - scn->flags |= changed; - } - -- 2.26.2