summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/init/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/init/main.c b/src/init/main.c
index 78576aa..fa4fda7 100644
--- a/src/init/main.c
+++ b/src/init/main.c
@@ -13,6 +13,7 @@ int tty_fd;
void fs_test(void);
+__attribute__((section(".text.startup")))
int main(void) {
// allocate bss
_syscall_memflag(&_bss_start, &_bss_end - &_bss_start, MEMFLAG_PRESENT);