summaryrefslogtreecommitdiffhomepage
path: root/src/internal/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/internal/nt32
parent3621ff77f635085921ba0181399600ed50be302b (diff)
downloadmmglue-fa55cc4bd37a06c67231368a7bbc6d2fa45616bd.tar.bz2
mmglue-fa55cc4bd37a06c67231368a7bbc6d2fa45616bd.tar.xz
nt32: add GOT support to assembly files.
Diffstat (limited to 'src/internal/nt32')
-rw-r--r--src/internal/nt32/syscall.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/internal/nt32/syscall.s b/src/internal/nt32/syscall.s
index bf90d04..29fe032 100644
--- a/src/internal/nt32/syscall.s
+++ b/src/internal/nt32/syscall.s
@@ -4,3 +4,10 @@
___syscall:
jmp ___syscall_disp
+
+ .section .got$___syscall
+ .global __imp____syscall
+__imp____syscall:
+ .long ___syscall
+ .linkonce discard
+