From fa55cc4bd37a06c67231368a7bbc6d2fa45616bd Mon Sep 17 00:00:00 2001 From: midipix Date: Wed, 9 Sep 2015 22:47:52 -0400 Subject: nt32: add GOT support to assembly files. --- src/thread/nt32/syscall_cp.s | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/thread') 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 -- cgit v1.2.3