From: Duje Mihanović Date: Fri, 1 Jul 2022 19:51:23 +0000 (+0200) Subject: kernel: Don't put entry.o at beginning of binary X-Git-Url: http://git.dujemihanovic.xyz/%7B%7B%20%24.Site.BaseURL%20%7D%7Dposts/index.xml?a=commitdiff_plain;h=514355628065b6bffcd9172b196b91ddea7b7087;p=nameless-os.git kernel: Don't put entry.o at beginning of binary Since we can now parse ELF headers (which will specify the start address of the entry function), this can be safely done away with. --- diff --git a/kernel/linker.ld b/kernel/linker.ld index 73fd822..98ee468 100644 --- a/kernel/linker.ld +++ b/kernel/linker.ld @@ -7,7 +7,6 @@ SECTIONS .text : ALIGN(4K) { __TEXT_BASE__ = .; - entry.o (.text) *(.text) __TEXT_END__ = .; }