From 26e14f4143ec690a120e197a3adf547145e4ce59 Mon Sep 17 00:00:00 2001 From: midipix Date: Tue, 20 Dec 2016 20:53:41 +0000 Subject: create free-standing, libpsxscl-based project skeleton. --- src/internal/nolibc/nt32/ntux_compiler.asm | 20 ++++++++++++++++++++ src/internal/nolibc/nt32/ntux_compiler.s | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 src/internal/nolibc/nt32/ntux_compiler.asm create mode 100644 src/internal/nolibc/nt32/ntux_compiler.s (limited to 'src/internal/nolibc/nt32') diff --git a/src/internal/nolibc/nt32/ntux_compiler.asm b/src/internal/nolibc/nt32/ntux_compiler.asm new file mode 100644 index 0000000..fa1e9da --- /dev/null +++ b/src/internal/nolibc/nt32/ntux_compiler.asm @@ -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. + +TITLE __psx_compiler + +.model flat +.code + +___chkstk PROC EXPORT + ret +___chkstk ENDP + +END diff --git a/src/internal/nolibc/nt32/ntux_compiler.s b/src/internal/nolibc/nt32/ntux_compiler.s new file mode 100644 index 0000000..89e2840 --- /dev/null +++ b/src/internal/nolibc/nt32/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 -- cgit v1.2.3