summaryrefslogtreecommitdiff
path: root/debian/patches/xref_symvalid.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/xref_symvalid.patch')
-rw-r--r--debian/patches/xref_symvalid.patch13
1 files changed, 0 insertions, 13 deletions
diff --git a/debian/patches/xref_symvalid.patch b/debian/patches/xref_symvalid.patch
deleted file mode 100644
index d80d216403..0000000000
--- a/debian/patches/xref_symvalid.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --git a/lib/elf_py.c b/lib/elf_py.c
-index 75d2d6007f83..7c503cfb9db3 100644
---- a/lib/elf_py.c
-+++ b/lib/elf_py.c
-@@ -293,7 +293,7 @@ static PyObject *elfreloc_getsection(PyObject *self, PyObject *args)
- if (!w->es)
- Py_RETURN_NONE;
-
-- if (w->symidx == 0) {
-+ if (!w->symvalid || w->symidx == 0) {
- size_t idx = 0;
- Elf_Scn *scn;
-