feat: lunadbg GDB plugin to ease kernel debugging process.
[lunaix-os.git] / lunaix-os / usr / link-usr.ld
index 49fb4c9b4b38066ffb3796bd55f2d58b420b25b2..ab77bb42f0c1b9f24aa16a473ebec4a6160fceb4 100644 (file)
@@ -1,5 +1,21 @@
-ENTRY(_u_start)
+ENTRY(_start)
 
 SECTIONS {
     . = 0x400000;
-}
\ No newline at end of file
+
+    .text BLOCK(4K) : {
+        *(.text)
+    }
+
+    .data BLOCK(4K) : {
+        *(.data)
+    }
+
+    .ro.data BLOCK(4K) : {
+        *(.ro.data)
+    }
+
+    .bss BLOCK(4K) : {
+        *(.bss)
+    }
+}