feat: lunadbg GDB plugin to ease kernel debugging process.
[lunaix-os.git] / lunaix-os / usr / link-usr.ld
index c0699391d79cb6558e47b64e1e76f7d016c30c84..ab77bb42f0c1b9f24aa16a473ebec4a6160fceb4 100644 (file)
@@ -2,4 +2,20 @@ 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)
+    }
+}