summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-26 06:22:11 +0000
committermidipix <writeonce@midipix.org>2016-12-26 03:47:38 -0500
commitdcdb2740de79b44f822183e8b986b364cebd68f6 (patch)
tree54647da3586c116237a42448db2c8c67a933e806 /src/internal
parente16d3bc96487787bcef61b08f7044c6b08ebe14f (diff)
downloadptycon-dcdb2740de79b44f822183e8b986b364cebd68f6.tar.bz2
ptycon-dcdb2740de79b44f822183e8b986b364cebd68f6.tar.xz
foreign compiler support: nt32/nt64: added ptyc_compiler.asm.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/nolibc/nt32/ptyc_compiler.asm20
-rw-r--r--src/internal/nolibc/nt64/ptyc_compiler.asm19
2 files changed, 39 insertions, 0 deletions
diff --git a/src/internal/nolibc/nt32/ptyc_compiler.asm b/src/internal/nolibc/nt32/ptyc_compiler.asm
new file mode 100644
index 0000000..68cd871
--- /dev/null
+++ b/src/internal/nolibc/nt32/ptyc_compiler.asm
@@ -0,0 +1,20 @@
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; ptycon: a pty-console bridge ;;
+;; Copyright (C) 2016 Z. Gilboa ;;
+;; Released under GPLv2 and GPLv3; see COPYING.PTYCON. ;;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+; ___chkstk_ms and _pei386_runtime_relocator are not needed by the framework
+; and are provided here in the form of no-op functions in order to satisfy
+; compiler-generated dependencies.
+
+TITLE __psx_compiler
+
+.model flat
+.code
+
+___chkstk PROC EXPORT
+ ret
+___chkstk ENDP
+
+END
diff --git a/src/internal/nolibc/nt64/ptyc_compiler.asm b/src/internal/nolibc/nt64/ptyc_compiler.asm
new file mode 100644
index 0000000..c5beb77
--- /dev/null
+++ b/src/internal/nolibc/nt64/ptyc_compiler.asm
@@ -0,0 +1,19 @@
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; ptycon: a pty-console bridge ;;
+;; Copyright (C) 2016 Z. Gilboa ;;
+;; Released under GPLv2 and GPLv3; see COPYING.PTYCON. ;;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+; ___chkstk_ms and _pei386_runtime_relocator are not needed by the framework
+; and are provided here in the form of no-op functions in order to satisfy
+; compiler-generated dependencies.
+
+TITLE __psx_compiler
+
+.code
+
+__chkstk PROC EXPORT
+ ret
+__chkstk ENDP
+
+END