summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-02-01 22:52:11 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-02-01 22:52:51 +0000
commitadaca90bc8e6bcf0df7e14452d8292487ab6aa1e (patch)
treee56f48b66c36d3994000aef1ec002179c2c7834e /app-emulation/ski/files
parentnet-libs/mbedtls: rev bump to push the fix, bug #705038 (diff)
downloadgentoo-adaca90bc8e6bcf0df7e14452d8292487ab6aa1e.tar.gz
gentoo-adaca90bc8e6bcf0df7e14452d8292487ab6aa1e.tar.bz2
gentoo-adaca90bc8e6bcf0df7e14452d8292487ab6aa1e.zip
app-emulation/ski: tweak for binutils-2.34
Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'app-emulation/ski/files')
-rw-r--r--app-emulation/ski/files/ski-1.3.2-binutils-2.34.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/app-emulation/ski/files/ski-1.3.2-binutils-2.34.patch b/app-emulation/ski/files/ski-1.3.2-binutils-2.34.patch
new file mode 100644
index 000000000000..dcb3f6793fba
--- /dev/null
+++ b/app-emulation/ski/files/ski-1.3.2-binutils-2.34.patch
@@ -0,0 +1,22 @@
+diff --git a/src/linux/dwarf-linux.c b/src/linux/dwarf-linux.c
+index 73be0e6..c4051a3 100644
+--- a/src/linux/dwarf-linux.c
++++ b/src/linux/dwarf-linux.c
+@@ -116,14 +116,14 @@ find_in_section (bfd * bfd, asection * sect, PTR obj)
+ /*
+ * we're looking at loadable code only
+ */
+- if ((bfd_get_section_flags (bfd, sect) & (SEC_CODE | SEC_ALLOC)) == 0)
++ if ((bfd_section_flags (sect) & (SEC_CODE | SEC_ALLOC)) == 0)
+ return;
+
+ /*
+ * check if address belongs to this section
+ */
+- vma = bfd_get_section_vma (bfd, sect);
+- size = bfd_section_size (bfd, sect);
++ vma = bfd_section_vma (sect);
++ size = bfd_section_size (sect);
+
+ offset = info->address - vma;
+ if (offset >= size)