summaryrefslogtreecommitdiffhomepage
path: root/src/seh/nt32
diff options
context:
space:
mode:
Diffstat (limited to 'src/seh/nt32')
-rw-r--r--src/seh/nt32/ntapi_tt_seh_frame.s21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/seh/nt32/ntapi_tt_seh_frame.s b/src/seh/nt32/ntapi_tt_seh_frame.s
new file mode 100644
index 0000000..d301217
--- /dev/null
+++ b/src/seh/nt32/ntapi_tt_seh_frame.s
@@ -0,0 +1,21 @@
+##########################################################
+## ntapi: Native API core library ##
+## Copyright (C) 2013--2017 Z. Gilboa ##
+## Released under GPLv2 and GPLv3; see COPYING.NTAPI. ##
+##########################################################
+
+.section .text
+
+.global ___ntapi_tt_seh_frame
+
+ .def ___ntapi_tt_seh_frame; .scl 3; .type 32; .endef
+
+___ntapi_tt_seh_frame:
+ movl 16(%esp),%eax
+ jmp *%eax
+
+ .section .got$___ntapi_tt_seh_frame,"r"
+ .global __imp____ntapi_tt_seh_frame
+__imp____ntapi_tt_seh_frame:
+ .long ___ntapi_tt_seh_frame
+ .linkonce discard