summaryrefslogtreecommitdiff
path: root/src/kernel/link.ld
diff options
context:
space:
mode:
authorBenji Dial <Benji3.141@gmail.com>2019-12-23 01:33:26 -0500
committerBenji Dial <Benji3.141@gmail.com>2019-12-23 01:33:26 -0500
commite520b52cd58f70af9a17f330fe1ce98ce059762c (patch)
treea4d8ec52453b0a8f872aea1ab3c4c5867543c90c /src/kernel/link.ld
parent4edc0cb2313541e74026c25b52a8f9685d953a14 (diff)
downloadportland-os-e520b52cd58f70af9a17f330fe1ce98ce059762c.tar.gz
small changes, part 1
Diffstat (limited to 'src/kernel/link.ld')
-rw-r--r--src/kernel/link.ld11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/kernel/link.ld b/src/kernel/link.ld
new file mode 100644
index 0000000..64dd0be
--- /dev/null
+++ b/src/kernel/link.ld
@@ -0,0 +1,11 @@
+OUTPUT_FORMAT(binary)
+SECTIONS {
+ . = 0x01000000;
+ .text : {
+ main = .;
+ *(.text)
+ }
+ .rodata : { *(.rodata) }
+ .data : { *(.data) }
+ .bss : { *(.bss) }
+} \ No newline at end of file