summaryrefslogtreecommitdiffhomepage
path: root/src/internal/nolibc/nt64
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-20 20:53:41 +0000
committermidipix <writeonce@midipix.org>2016-12-27 04:40:56 -0500
commit26e14f4143ec690a120e197a3adf547145e4ce59 (patch)
treee9e8b522de5abb14230c5f8e0825452f0c7ccb4b /src/internal/nolibc/nt64
parent70c49fc4ed3b2c3db68537f828c286241eeeee98 (diff)
downloadntux-26e14f4143ec690a120e197a3adf547145e4ce59.tar.bz2
ntux-26e14f4143ec690a120e197a3adf547145e4ce59.tar.xz
create free-standing, libpsxscl-based project skeleton.
Diffstat (limited to 'src/internal/nolibc/nt64')
-rw-r--r--src/internal/nolibc/nt64/ntux_compiler.asm19
-rw-r--r--src/internal/nolibc/nt64/ntux_compiler.s20
2 files changed, 39 insertions, 0 deletions
diff --git a/src/internal/nolibc/nt64/ntux_compiler.asm b/src/internal/nolibc/nt64/ntux_compiler.asm
new file mode 100644
index 0000000..d6011bd
--- /dev/null
+++ b/src/internal/nolibc/nt64/ntux_compiler.asm
@@ -0,0 +1,19 @@
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+;; ntux: native translation und extension ;;
+;; Copyright (C) 2016 Z. Gilboa ;;
+;; Released under GPLv2 and GPLv3; see COPYING.NTUX. ;;
+;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+
+; ___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
diff --git a/src/internal/nolibc/nt64/ntux_compiler.s b/src/internal/nolibc/nt64/ntux_compiler.s
new file mode 100644
index 0000000..89e2840
--- /dev/null
+++ b/src/internal/nolibc/nt64/ntux_compiler.s
@@ -0,0 +1,20 @@
+############################################################
+## ntux: native translation und extension ##
+## Copyright (C) 2016 Z. Gilboa ##
+## Released under GPLv2 and GPLv3; see COPYING.NTUX. ##
+############################################################
+
+# ___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.
+
+.section .text
+
+.global _pei386_runtime_relocator
+.global ___chkstk_ms
+
+_pei386_runtime_relocatorr:
+ ret
+
+___chkstk_ms:
+ ret