From b620a5faae3a769c27dd755da7af5185a7c9af49 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Sat, 11 Feb 2017 16:21:54 -0800 Subject: Remove linux patches for R_X86_64_JUMP_SLOT 'relocs' is no longer built when installing the headers. Signed-off-by: Alexey Neyman diff --git a/patches/linux/3.10.104/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch b/patches/linux/3.10.104/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch deleted file mode 100644 index 7b6ee5a..0000000 --- a/patches/linux/3.10.104/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- linux-4.2/arch/x86/tools/relocs.c.orig 2015-10-20 22:36:03.075546600 +0100 -+++ linux-4.2/arch/x86/tools/relocs.c 2015-10-20 22:36:04.934950000 +0100 -@@ -187,6 +187,13 @@ - return name; - } - -+/* Hack for Cygwin */ -+#if ELF_BITS == 64 -+#if !defined(R_X86_64_JUMP_SLOT) && defined(R_X86_64_JMP_SLOT) -+#define R_X86_64_JUMP_SLOT R_X86_64_JMP_SLOT -+#endif -+#endif -+ - static const char *rel_type(unsigned type) - { - static const char *type_name[] = { diff --git a/patches/linux/3.12.67/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch b/patches/linux/3.12.67/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch deleted file mode 100644 index 7b6ee5a..0000000 --- a/patches/linux/3.12.67/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- linux-4.2/arch/x86/tools/relocs.c.orig 2015-10-20 22:36:03.075546600 +0100 -+++ linux-4.2/arch/x86/tools/relocs.c 2015-10-20 22:36:04.934950000 +0100 -@@ -187,6 +187,13 @@ - return name; - } - -+/* Hack for Cygwin */ -+#if ELF_BITS == 64 -+#if !defined(R_X86_64_JUMP_SLOT) && defined(R_X86_64_JMP_SLOT) -+#define R_X86_64_JUMP_SLOT R_X86_64_JMP_SLOT -+#endif -+#endif -+ - static const char *rel_type(unsigned type) - { - static const char *type_name[] = { diff --git a/patches/linux/3.16.38/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch b/patches/linux/3.16.38/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch deleted file mode 100644 index 7b6ee5a..0000000 --- a/patches/linux/3.16.38/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- linux-4.2/arch/x86/tools/relocs.c.orig 2015-10-20 22:36:03.075546600 +0100 -+++ linux-4.2/arch/x86/tools/relocs.c 2015-10-20 22:36:04.934950000 +0100 -@@ -187,6 +187,13 @@ - return name; - } - -+/* Hack for Cygwin */ -+#if ELF_BITS == 64 -+#if !defined(R_X86_64_JUMP_SLOT) && defined(R_X86_64_JMP_SLOT) -+#define R_X86_64_JUMP_SLOT R_X86_64_JMP_SLOT -+#endif -+#endif -+ - static const char *rel_type(unsigned type) - { - static const char *type_name[] = { diff --git a/patches/linux/3.18.44/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch b/patches/linux/3.18.44/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch deleted file mode 100644 index 7b6ee5a..0000000 --- a/patches/linux/3.18.44/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- linux-4.2/arch/x86/tools/relocs.c.orig 2015-10-20 22:36:03.075546600 +0100 -+++ linux-4.2/arch/x86/tools/relocs.c 2015-10-20 22:36:04.934950000 +0100 -@@ -187,6 +187,13 @@ - return name; - } - -+/* Hack for Cygwin */ -+#if ELF_BITS == 64 -+#if !defined(R_X86_64_JUMP_SLOT) && defined(R_X86_64_JMP_SLOT) -+#define R_X86_64_JUMP_SLOT R_X86_64_JMP_SLOT -+#endif -+#endif -+ - static const char *rel_type(unsigned type) - { - static const char *type_name[] = { diff --git a/patches/linux/3.2.83/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch b/patches/linux/3.2.83/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch deleted file mode 100644 index 7b6ee5a..0000000 --- a/patches/linux/3.2.83/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- linux-4.2/arch/x86/tools/relocs.c.orig 2015-10-20 22:36:03.075546600 +0100 -+++ linux-4.2/arch/x86/tools/relocs.c 2015-10-20 22:36:04.934950000 +0100 -@@ -187,6 +187,13 @@ - return name; - } - -+/* Hack for Cygwin */ -+#if ELF_BITS == 64 -+#if !defined(R_X86_64_JUMP_SLOT) && defined(R_X86_64_JMP_SLOT) -+#define R_X86_64_JUMP_SLOT R_X86_64_JMP_SLOT -+#endif -+#endif -+ - static const char *rel_type(unsigned type) - { - static const char *type_name[] = { diff --git a/patches/linux/3.4.113/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch b/patches/linux/3.4.113/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch deleted file mode 100644 index 7b6ee5a..0000000 --- a/patches/linux/3.4.113/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- linux-4.2/arch/x86/tools/relocs.c.orig 2015-10-20 22:36:03.075546600 +0100 -+++ linux-4.2/arch/x86/tools/relocs.c 2015-10-20 22:36:04.934950000 +0100 -@@ -187,6 +187,13 @@ - return name; - } - -+/* Hack for Cygwin */ -+#if ELF_BITS == 64 -+#if !defined(R_X86_64_JUMP_SLOT) && defined(R_X86_64_JMP_SLOT) -+#define R_X86_64_JUMP_SLOT R_X86_64_JMP_SLOT -+#endif -+#endif -+ - static const char *rel_type(unsigned type) - { - static const char *type_name[] = { diff --git a/patches/linux/4.1.35/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch b/patches/linux/4.1.35/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch deleted file mode 100644 index 7b6ee5a..0000000 --- a/patches/linux/4.1.35/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- linux-4.2/arch/x86/tools/relocs.c.orig 2015-10-20 22:36:03.075546600 +0100 -+++ linux-4.2/arch/x86/tools/relocs.c 2015-10-20 22:36:04.934950000 +0100 -@@ -187,6 +187,13 @@ - return name; - } - -+/* Hack for Cygwin */ -+#if ELF_BITS == 64 -+#if !defined(R_X86_64_JUMP_SLOT) && defined(R_X86_64_JMP_SLOT) -+#define R_X86_64_JUMP_SLOT R_X86_64_JMP_SLOT -+#endif -+#endif -+ - static const char *rel_type(unsigned type) - { - static const char *type_name[] = { diff --git a/patches/linux/4.4.32/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch b/patches/linux/4.4.32/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch deleted file mode 100644 index 7b6ee5a..0000000 --- a/patches/linux/4.4.32/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- linux-4.2/arch/x86/tools/relocs.c.orig 2015-10-20 22:36:03.075546600 +0100 -+++ linux-4.2/arch/x86/tools/relocs.c 2015-10-20 22:36:04.934950000 +0100 -@@ -187,6 +187,13 @@ - return name; - } - -+/* Hack for Cygwin */ -+#if ELF_BITS == 64 -+#if !defined(R_X86_64_JUMP_SLOT) && defined(R_X86_64_JMP_SLOT) -+#define R_X86_64_JUMP_SLOT R_X86_64_JMP_SLOT -+#endif -+#endif -+ - static const char *rel_type(unsigned type) - { - static const char *type_name[] = { diff --git a/patches/linux/4.7.10/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch b/patches/linux/4.7.10/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch deleted file mode 100644 index 7b6ee5a..0000000 --- a/patches/linux/4.7.10/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- linux-4.2/arch/x86/tools/relocs.c.orig 2015-10-20 22:36:03.075546600 +0100 -+++ linux-4.2/arch/x86/tools/relocs.c 2015-10-20 22:36:04.934950000 +0100 -@@ -187,6 +187,13 @@ - return name; - } - -+/* Hack for Cygwin */ -+#if ELF_BITS == 64 -+#if !defined(R_X86_64_JUMP_SLOT) && defined(R_X86_64_JMP_SLOT) -+#define R_X86_64_JUMP_SLOT R_X86_64_JMP_SLOT -+#endif -+#endif -+ - static const char *rel_type(unsigned type) - { - static const char *type_name[] = { diff --git a/patches/linux/4.8.8/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch b/patches/linux/4.8.8/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch deleted file mode 100644 index 7b6ee5a..0000000 --- a/patches/linux/4.8.8/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- linux-4.2/arch/x86/tools/relocs.c.orig 2015-10-20 22:36:03.075546600 +0100 -+++ linux-4.2/arch/x86/tools/relocs.c 2015-10-20 22:36:04.934950000 +0100 -@@ -187,6 +187,13 @@ - return name; - } - -+/* Hack for Cygwin */ -+#if ELF_BITS == 64 -+#if !defined(R_X86_64_JUMP_SLOT) && defined(R_X86_64_JMP_SLOT) -+#define R_X86_64_JUMP_SLOT R_X86_64_JMP_SLOT -+#endif -+#endif -+ - static const char *rel_type(unsigned type) - { - static const char *type_name[] = { -- cgit v0.10.2-6-g49f6