diff options
author | Alexey Neyman <stilor@att.net> | 2016-12-05 00:16:58 (GMT) |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2016-12-06 18:33:20 (GMT) |
commit | 25f5b82d2e76971aa1c679c347fb3d3493f426b8 (patch) | |
tree | fa54e698cce9a56bf70c33af7f7c9cfb68657e17 /patches/linux/4.8.8/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch | |
parent | f6ea9a68b26830f72f8f5242aba9b950f2e4da78 (diff) |
Update Linux kernel patches.
3.0.9/100-headers-install-fix*.patch picked up upstream.
The Cygwin fix is needed for Cygwin on all kernel versions.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'patches/linux/4.8.8/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch')
-rw-r--r-- | patches/linux/4.8.8/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch | 16 |
1 files changed, 16 insertions, 0 deletions
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 new file mode 100644 index 0000000..7b6ee5a --- /dev/null +++ b/patches/linux/4.8.8/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch @@ -0,0 +1,16 @@ +--- 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[] = { |