summaryrefslogtreecommitdiff
path: root/stage3.ld
diff options
context:
space:
mode:
authorLizzy Fleckenstein <eliasfleckenstein@web.de>2022-10-06 16:45:17 +0200
committerLizzy Fleckenstein <eliasfleckenstein@web.de>2022-10-06 16:45:17 +0200
commitf8397815545adb7d0da36614e0065aa68453a2e4 (patch)
treea771f526970c6724b2511577dceece8783450a49 /stage3.ld
downloadcuddles-f8397815545adb7d0da36614e0065aa68453a2e4.tar.xz
Initial commit
Diffstat (limited to 'stage3.ld')
-rw-r--r--stage3.ld10
1 files changed, 10 insertions, 0 deletions
diff --git a/stage3.ld b/stage3.ld
new file mode 100644
index 0000000..da72329
--- /dev/null
+++ b/stage3.ld
@@ -0,0 +1,10 @@
+OUTPUT(stage3.out)
+OUTPUT_FORMAT(binary)
+ENTRY(kmain)
+
+SECTIONS
+{
+ . = 0x9000;
+ .text : { *(.text) }
+ .data : { *(.bss .data .rodata) }
+}