aboutsummaryrefslogtreecommitdiffstats
path: root/testing/libucontext/0002-x86-trampoline-kill-textrel.patch
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2018-02-14 03:38:39 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2018-02-14 03:38:39 +0000
commit304fa238dc482489954c4107c5b8413bc2a7740d (patch)
tree57953c44583ebcf6f2e8bfa00b672d56bfde587a /testing/libucontext/0002-x86-trampoline-kill-textrel.patch
parent498d4de2545ce405010d14a88f9f360a48968ad3 (diff)
downloadaports-304fa238dc482489954c4107c5b8413bc2a7740d.tar.bz2
aports-304fa238dc482489954c4107c5b8413bc2a7740d.tar.xz
testing/libucontext: kill x86 textrel, reenable tests there
Diffstat (limited to 'testing/libucontext/0002-x86-trampoline-kill-textrel.patch')
-rw-r--r--testing/libucontext/0002-x86-trampoline-kill-textrel.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/testing/libucontext/0002-x86-trampoline-kill-textrel.patch b/testing/libucontext/0002-x86-trampoline-kill-textrel.patch
new file mode 100644
index 0000000000..af60558ba4
--- /dev/null
+++ b/testing/libucontext/0002-x86-trampoline-kill-textrel.patch
@@ -0,0 +1,25 @@
+From 0143bbac98dfd55c4a42652bd1cce8d35047a861 Mon Sep 17 00:00:00 2001
+From: William Pitcock <nenolod@dereferenced.org>
+Date: Wed, 14 Feb 2018 03:37:25 +0000
+Subject: [PATCH 2/2] x86: trampoline: kill textrel
+
+---
+ arch/x86/startcontext.S | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/arch/x86/startcontext.S b/arch/x86/startcontext.S
+index 165804d..2bb87ee 100644
+--- a/arch/x86/startcontext.S
++++ b/arch/x86/startcontext.S
+@@ -18,7 +18,7 @@ __start_context:
+ je hosed
+
+ /* call setcontext to switch to the linked context */
+- call __setcontext
++ call __setcontext@plt
+ movl %eax, (%esp)
+
+ hosed:
+--
+2.16.1
+