BarryServer : Git

All the code for all my projects
// BarryServer : Git / Nucleus / commit / c629653991780509799e2e00d3b074dc0e0ef313 / linker.ld

// Related

Nucleus

Barry Initial commit c629653 (3 years, 3 months ago)
diff --git a/linker.ld b/linker.ld
new file mode 100644
index 0000000..0f10da6
--- /dev/null
+++ b/linker.ld
@@ -0,0 +1,34 @@
+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)
+	}
+}