diff options
author | midipix <writeonce@midipix.org> | 2015-03-08 13:23:20 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2015-03-08 13:23:20 -0400 |
commit | 86062740f1e8eeb4c554055cf304dc1e0e87ea43 (patch) | |
tree | 35d8309221f4fd2050fefbc1b3b3957a1099ce8a /src/internal | |
parent | 41058bd82ed2ae880c463d61e5702aef07681bf0 (diff) | |
download | mmglue-86062740f1e8eeb4c554055cf304dc1e0e87ea43.tar.bz2 mmglue-86062740f1e8eeb4c554055cf304dc1e0e87ea43.tar.xz |
initial commit of core port files.
signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/nt64/libc.c | 7 | ||||
-rw-r--r-- | src/internal/nt64/syscall.s | 5 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/internal/nt64/libc.c b/src/internal/nt64/libc.c new file mode 100644 index 0000000..43face8 --- /dev/null +++ b/src/internal/nt64/libc.c @@ -0,0 +1,7 @@ +#include "../libc.h" + +/* todo: teach the linker to export weak symbols */ +#undef weak_alias +#define weak_alias(old,new) extern __typeof(old) new __attribute__((alias(#old))) + +#include "../libc.c" diff --git a/src/internal/nt64/syscall.s b/src/internal/nt64/syscall.s new file mode 100644 index 0000000..ce3827b --- /dev/null +++ b/src/internal/nt64/syscall.s @@ -0,0 +1,5 @@ +.text +.global __syscall + +__syscall: + jmp __syscall_disp |