diff options
Diffstat (limited to 'libc-top-half/musl/crt/x86_64')
-rw-r--r-- | libc-top-half/musl/crt/x86_64/crti.s | 9 | ||||
-rw-r--r-- | libc-top-half/musl/crt/x86_64/crtn.s | 7 |
2 files changed, 16 insertions, 0 deletions
diff --git a/libc-top-half/musl/crt/x86_64/crti.s b/libc-top-half/musl/crt/x86_64/crti.s new file mode 100644 index 0000000..4788968 --- /dev/null +++ b/libc-top-half/musl/crt/x86_64/crti.s @@ -0,0 +1,9 @@ +.section .init +.global _init +_init: + push %rax + +.section .fini +.global _fini +_fini: + push %rax diff --git a/libc-top-half/musl/crt/x86_64/crtn.s b/libc-top-half/musl/crt/x86_64/crtn.s new file mode 100644 index 0000000..29198b7 --- /dev/null +++ b/libc-top-half/musl/crt/x86_64/crtn.s @@ -0,0 +1,7 @@ +.section .init + pop %rax + ret + +.section .fini + pop %rax + ret |