summaryrefslogtreecommitdiffhomepage
path: root/src/thread/nt32
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-09-09 22:47:52 -0400
committermidipix <writeonce@midipix.org>2015-09-13 22:04:38 -0400
commitfa55cc4bd37a06c67231368a7bbc6d2fa45616bd (patch)
tree9fcfed5e3168e50c6ba1a3f4a3b3156515473dbb /src/thread/nt32
parent3621ff77f635085921ba0181399600ed50be302b (diff)
downloadmmglue-fa55cc4bd37a06c67231368a7bbc6d2fa45616bd.tar.bz2
mmglue-fa55cc4bd37a06c67231368a7bbc6d2fa45616bd.tar.xz
nt32: add GOT support to assembly files.
Diffstat (limited to 'src/thread/nt32')
-rw-r--r--src/thread/nt32/syscall_cp.s18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/thread/nt32/syscall_cp.s b/src/thread/nt32/syscall_cp.s
index c52731f..1b3f672 100644
--- a/src/thread/nt32/syscall_cp.s
+++ b/src/thread/nt32/syscall_cp.s
@@ -13,3 +13,21 @@ ___cp_begin:
___cp_end:
ret
+
+ .section .got$___syscall_cp_asm
+ .global __imp____syscall_cp_asm
+__imp____syscall_cp_asm:
+ .long ___syscall_cp_asm
+ .linkonce discard
+
+ .section .got$___cp_begin
+ .global __imp____cp_begin
+__imp____cp_begin:
+ .long ___cp_begin
+ .linkonce discard
+
+ .section .got$___cp_end
+ .global __imp____cp_end
+__imp____cp_end:
+ .long ___cp_end
+ .linkonce discard