summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-09-09 21:29:59 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-09-09 21:29:59 +0200
commit4c5a70e4790698efe57bfdf75866f0236102582d (patch)
tree7087c86b05932c396937114406d44486ebc82657
parentb1e3dac861c0d6c28bdb7768d7f96f19456e9ad0 (diff)
fix: launch/crt0: export _NeMain to avoid linking issues.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
-rw-r--r--dev/launch/src/CRT0.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev/launch/src/CRT0.S b/dev/launch/src/CRT0.S
index ffc7398a..dffbf9c9 100644
--- a/dev/launch/src/CRT0.S
+++ b/dev/launch/src/CRT0.S
@@ -7,7 +7,8 @@
.text
.extern nelaunch_startup_fn
-
+.globl _NeMain
+
_NeMain:
push %rbp
movq %rsp, %rbp