diff options
Diffstat (limited to 'meta/recipes-devtools/patchelf/patchelf/Skip-empty-section-fixes-66.patch')
-rw-r--r-- | meta/recipes-devtools/patchelf/patchelf/Skip-empty-section-fixes-66.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/meta/recipes-devtools/patchelf/patchelf/Skip-empty-section-fixes-66.patch b/meta/recipes-devtools/patchelf/patchelf/Skip-empty-section-fixes-66.patch deleted file mode 100644 index 9ee8a554a7..0000000000 --- a/meta/recipes-devtools/patchelf/patchelf/Skip-empty-section-fixes-66.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 73526cb546ae6b00ea6169e40b01fb7b5f0dbb50 Mon Sep 17 00:00:00 2001 | ||
2 | From: Fabio Berton <fabio.berton@ossystems.com.br> | ||
3 | Date: Thu, 28 Jul 2016 11:05:06 -0300 | ||
4 | Subject: [PATCH] Skip empty section (fixes #66) | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | |||
9 | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> | ||
10 | --- | ||
11 | src/patchelf.cc | 3 +++ | ||
12 | 1 file changed, 3 insertions(+) | ||
13 | |||
14 | diff --git a/src/patchelf.cc b/src/patchelf.cc | ||
15 | index 136098f..2677a26 100644 | ||
16 | --- a/src/patchelf.cc | ||
17 | +++ b/src/patchelf.cc | ||
18 | @@ -684,6 +684,9 @@ void ElfFile<ElfFileParamNames>::rewriteSectionsExecutable() | ||
19 | for (unsigned int i = 1; i <= lastReplaced; ++i) { | ||
20 | Elf_Shdr & shdr(shdrs[i]); | ||
21 | string sectionName = getSectionName(shdr); | ||
22 | + if (sectionName == "") { | ||
23 | + continue; | ||
24 | + } | ||
25 | debug("looking at section `%s'\n", sectionName.c_str()); | ||
26 | /* !!! Why do we stop after a .dynstr section? I can't | ||
27 | remember! */ | ||
28 | -- | ||
29 | 2.1.4 | ||
30 | |||