summaryrefslogtreecommitdiffhomepage
path: root/crt/nt32/crtn.s
diff options
context:
space:
mode:
Diffstat (limited to 'crt/nt32/crtn.s')
-rw-r--r--crt/nt32/crtn.s19
1 files changed, 8 insertions, 11 deletions
diff --git a/crt/nt32/crtn.s b/crt/nt32/crtn.s
index 2d0295e..8658d23 100644
--- a/crt/nt32/crtn.s
+++ b/crt/nt32/crtn.s
@@ -1,13 +1,10 @@
-.section .init
- pop %edx
- pop %ecx
- pop %ebx
- or %ebx,%eax
+.text
+.globl _pei386_runtime_relocator
+_pei386_runtime_relocator:
ret
-.section .fini
- pop %edx
- pop %ecx
- pop %ebx
- or %ebx,%eax
- ret
+ .section .got$_pei386_runtime_relocator,"r"
+ .global __imp__pei386_runtime_relocator
+__imp__pei386_runtime_relocator:
+ .long _pei386_runtime_relocator
+ .linkonce discard