summaryrefslogtreecommitdiff
path: root/src/kernel/link.ld
diff options
context:
space:
mode:
authorBenji Dial <benji3.141@gmail.com>2020-05-24 11:02:43 -0400
committerBenji Dial <benji3.141@gmail.com>2020-05-24 11:02:43 -0400
commit02f14113cbf14c6f842fb43ecbc68d0c851ef3b0 (patch)
tree75d2d943d9822b3f945fd947e9b91eec1d68e900 /src/kernel/link.ld
parent31d8ae388a7ded576abd3e3d99c3d9193ea6d704 (diff)
downloadportland-os-02f14113cbf14c6f842fb43ecbc68d0c851ef3b0.tar.gz
very basic vga, ata, serial drivers. start of fat and fs drivers
Diffstat (limited to 'src/kernel/link.ld')
-rw-r--r--src/kernel/link.ld4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/kernel/link.ld b/src/kernel/link.ld
index 1fcff40..1fc64fd 100644
--- a/src/kernel/link.ld
+++ b/src/kernel/link.ld
@@ -1,4 +1,4 @@
-OUTPUT_FORMAT(binary)
+OUTPUT_FORMAT(elf32-i386)
OUTPUT_ARCH(i386)
SECTIONS {
@@ -10,6 +10,8 @@ SECTIONS {
*(.text)
*(.rodata)
*(.data)
+ }
+ /DISCARD/ : {
*(.bss)
}
} \ No newline at end of file