diff options
Diffstat (limited to 'src/kernel/link.ld')
-rw-r--r-- | src/kernel/link.ld | 4 |
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 |