aboutsummaryrefslogtreecommitdiff
path: root/sys/rt/amd64/crti.s
diff options
context:
space:
mode:
Diffstat (limited to 'sys/rt/amd64/crti.s')
-rw-r--r--sys/rt/amd64/crti.s17
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/rt/amd64/crti.s b/sys/rt/amd64/crti.s
deleted file mode 100644
index eeba8b1..0000000
--- a/sys/rt/amd64/crti.s
+++ /dev/null
@@ -1,17 +0,0 @@
-global _init
-global _fini
-
-section .init
-_init:
- ; call pushes an 8 byte return address on the stack
- ; 64 bit ABI requires stack to be aligned to 16 bytes
- ; we realign with another 8 byte address
- push rbp
- mov rbp, rsp
- ;; compiler inserts the rest here
-
-section .fini
-_fini:
- push rbp ; see above
- mov rbp, rsp
- ;; compiler inserts the rest here