diff options
author | dzwdz | 2023-08-14 18:51:07 +0200 |
---|---|---|
committer | dzwdz | 2023-08-14 18:51:07 +0200 |
commit | 642b5fb0007b64c77d186fcb018d571152ee1d47 (patch) | |
tree | 1c466461f3602d306be309a053edae558ef2568e /src/user/lib/elfload.S | |
parent | 8050069c57b729c18c19b1a03ab6e4bf63b4735e (diff) |
reorganization: first steps
Diffstat (limited to 'src/user/lib/elfload.S')
-rw-r--r-- | src/user/lib/elfload.S | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/user/lib/elfload.S b/src/user/lib/elfload.S deleted file mode 100644 index 78d5b3c..0000000 --- a/src/user/lib/elfload.S +++ /dev/null @@ -1,20 +0,0 @@ -#define ASM_FILE 1 -#include <camellia/syscalls.h> - -.section .text -.global _freejmp_chstack -.type _freejmp_chstack, @function -// void _freejmp_chstack(void *entry, void *low, size_t len, char **argv, char **envp, void *stack); -_freejmp_chstack: - mov %r9, %rsp - jmp _freejmp - -.section .text -.global execbuf_chstack -.type execbuf_chstack, @function -// _Noreturn void execbuf_chstack(void *stack, void __user *buf, size_t len); -execbuf_chstack: - mov %rdi, %rsp - mov $_SYS_EXECBUF, %rdi - syscall - hlt // if execbuf failed we might as well crash |