From e14a65df735ce1b00533c73533ce91f8e591ea68 Mon Sep 17 00:00:00 2001 From: Nic Gaffney Date: Mon, 6 Nov 2023 02:00:07 -0600 Subject: global constructors --- src/header/crti.s | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/header/crti.s (limited to 'src/header/crti.s') diff --git a/src/header/crti.s b/src/header/crti.s new file mode 100644 index 0000000..91e86fa --- /dev/null +++ b/src/header/crti.s @@ -0,0 +1,12 @@ +.section .init +.global _init +.type _init @function +_init: + push %ebp + movl %esp, %ebp + +.section .fini +.global _fini +_fini: + push %ebp + movl %esp, %ebp -- cgit v1.2.3