BarryServer : Git

All the code for all my projects
// BarryServer : Git / Orion / commit / d41a53cbc7d055b1c00cf0a339dbed6925f4f02c / linker.ld

// Related

Orion

Barry Importing existing Orion kernel d41a53c (2 years, 4 months ago)
diff --git a/linker.ld b/linker.ld
new file mode 100644
index 0000000..ac4b5cd
--- /dev/null
+++ b/linker.ld
@@ -0,0 +1,35 @@
+ENTRY(_start)
+
+SECTIONS {
+
+	.text 1M :
+	{
+		KEEP(*(.multiboot))
+		_code = .;
+		*(.text*)
+		. = ALIGN(4096);
+	}
+
+	.data :
+	{
+		_data = .;
+		*(.rodata*)
+		*(.data*)
+		. = ALIGN(4096);
+	}
+
+	.bss :
+	{
+		_bss = .;
+		*(.bss)
+		*(COMMON)
+		. = ALIGN(4096);
+	}
+
+	_end = .;
+
+	/DISCARD/ :
+	{
+		*(.comment)
+	}
+}