summaryrefslogtreecommitdiffhomepage
path: root/crt
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-06-08 01:06:59 -0400
committermidipix <writeonce@midipix.org>2015-07-18 20:11:03 -0400
commitc00c94a763b256f7ff8c0e6ae568119cb11995e6 (patch)
treefedad971fefa3962e29f78e6267df5a987a9cbfe /crt
parent51d2a078cef514252bd12a1dd16dcfa456b1f296 (diff)
downloadmmglue-c00c94a763b256f7ff8c0e6ae568119cb11995e6.tar.bz2
mmglue-c00c94a763b256f7ff8c0e6ae568119cb11995e6.tar.xz
add manual .got entries to assembly files.
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
Diffstat (limited to 'crt')
-rw-r--r--crt/nt64/crtn.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/crt/nt64/crtn.s b/crt/nt64/crtn.s
index b2c7790..6e28aac 100644
--- a/crt/nt64/crtn.s
+++ b/crt/nt64/crtn.s
@@ -11,3 +11,9 @@
pop %r10
or %r10,%rax
ret
+
+ .section .got$_pei386_runtime_relocator,"r"
+ .global __imp__pei386_runtime_relocator
+__imp__pei386_runtime_relocator:
+ .quad _pei386_runtime_relocator
+ .linkonce discard