diff options
author | Alexey Neyman <stilor@att.net> | 2016-12-06 19:33:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-06 19:33:44 (GMT) |
commit | da3f8c4ec5345b709a330eebab01cd62c574295d (patch) | |
tree | 4ad81b0fed8e92dc49061d11d1f67ff7be0b1b2d /patches/linux/4.7.10/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch | |
parent | ee4446c7aea3a9ec0d431377324e8615b61c4ba3 (diff) | |
parent | 7e44983388a85ba2ef721b302f97b8accad23ba6 (diff) |
Merge pull request #494 from stilor/cygwin-fixes
Cygwin fixes
Diffstat (limited to 'patches/linux/4.7.10/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch')
-rw-r--r-- | patches/linux/4.7.10/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch | 16 |
1 files changed, 16 insertions, 0 deletions
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 new file mode 100644 index 0000000..7b6ee5a --- /dev/null +++ b/patches/linux/4.7.10/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[] = { |