aboutsummaryrefslogtreecommitdiff
path: root/src/header/crtn.s
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2023-11-06 02:00:07 -0600
committerNic Gaffney <gaffney_nic@protonmail.com>2023-11-06 02:00:07 -0600
commite14a65df735ce1b00533c73533ce91f8e591ea68 (patch)
tree6105dc57bbbdd88b6c6b1cec5da87e930cdd9dc8 /src/header/crtn.s
parent036398ab051f2df5b70303e03f4f6506d36cb6eb (diff)
downloadgftos-e14a65df735ce1b00533c73533ce91f8e591ea68.tar.gz
global constructors
Diffstat (limited to 'src/header/crtn.s')
-rw-r--r--src/header/crtn.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/header/crtn.s b/src/header/crtn.s
new file mode 100644
index 0000000..4874122
--- /dev/null
+++ b/src/header/crtn.s
@@ -0,0 +1,7 @@
+.section .init
+ popl %ebp
+ ret
+
+.section .fini
+ popl %ebp
+ ret