binutils: Fix building on x86_64 with NDK r16
authorFredrik Fornwall <fredrik@fornwall.net>
Fri, 17 Nov 2017 00:36:49 +0000 (01:36 +0100)
committerFredrik Fornwall <fredrik@fornwall.net>
Fri, 17 Nov 2017 00:36:49 +0000 (01:36 +0100)
The NDK now defines elf_siginfo for x86_64.

packages/binutils/bfd-hosts-x86-64linux.h.patch [deleted file]

diff --git a/packages/binutils/bfd-hosts-x86-64linux.h.patch b/packages/binutils/bfd-hosts-x86-64linux.h.patch
deleted file mode 100644 (file)
index e195e5e..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -u -r ../binutils-2.26/bfd/hosts/x86-64linux.h ./bfd/hosts/x86-64linux.h
---- ../binutils-2.26/bfd/hosts/x86-64linux.h   2015-11-13 03:27:40.000000000 -0500
-+++ ./bfd/hosts/x86-64linux.h  2016-06-16 17:27:10.497607224 -0400
-@@ -32,6 +32,15 @@
- /* We define here only the symbols differing from their 64-bit variant.  */
- #include <sys/procfs.h>
-+#ifdef __ANDROID__
-+struct elf_siginfo {
-+      int si_signo;
-+      int si_code;
-+      int si_errno;
-+};
-+#define ELF_PRARGSZ (80)
-+#endif
-+
- #ifdef HAVE_STDINT_H
- #include <stdint.h>
- #else