diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-13 05:50:31 (GMT) |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-13 05:50:31 (GMT) |
commit | 57de8dcf22d5ddddee6a44f87f45f2c279fdb1ac (patch) | |
tree | 9477fd0a23bbe297fd11178b7ed6cd8c3c8a268a /patches/linux/4.2.3 | |
parent | 4c9218d51dc3c6c84a8d5c488f234ed7575107c6 (diff) | |
parent | 5f3774cd656ba54200cb192fc1454c5232347b70 (diff) |
Merge pull request #239 from diorcety-ctng/cc-cygwin-mingw-linux
Canadian cross build = x86_64 Cygwin host = x86_64 MinGW_W64 target = x86_64 GNU/Linux
Diffstat (limited to 'patches/linux/4.2.3')
-rwxr-xr-x | patches/linux/4.2.3/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/patches/linux/4.2.3/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch b/patches/linux/4.2.3/100-Define-R_X86_64_JUMP_SLOT-for-Cygwin.patch new file mode 100755 index 0000000..7b6ee5a --- /dev/null +++ b/patches/linux/4.2.3/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[] = { |