aboutsummaryrefslogtreecommitdiff
path: root/linker.ld
diff options
context:
space:
mode:
authorczjstmax <jstmaxlol@disroot.org>2026-02-23 23:18:48 +0100
committerczjstmax <jstmaxlol@disroot.org>2026-02-23 23:18:48 +0100
commit2420e3f52b62580af9cdd661fb441733e437daf9 (patch)
treea2854d70e7297e9bff879c5dc358dfb95d263fab /linker.ld
parent6fc0fd2fd64388e32c4ec1cefa2ad8e1e43fdb5a (diff)
lots of changes. restructured repository. switched to limine.
Signed-off-by: czjstmax <jstmaxlol@disroot.org>
Diffstat (limited to 'linker.ld')
-rw-r--r--linker.ld23
1 files changed, 23 insertions, 0 deletions
diff --git a/linker.ld b/linker.ld
new file mode 100644
index 0000000..7b6a5b4
--- /dev/null
+++ b/linker.ld
@@ -0,0 +1,23 @@
+ENTRY(_start)
+
+SECTIONS
+{
+ . = 0xffffffff80000000;
+
+ .text : {
+ *(.text*)
+ }
+
+ .rodata : {
+ *(.rodata*)
+ }
+
+ .data : {
+ *(.data*)
+ }
+
+ .bss : {
+ *(COMMON)
+ *(.bss*)
+ }
+}