]> git.dujemihanovic.xyz Git - nameless-os.git/commitdiff
kernel: Don't put entry.o at beginning of binary
authorDuje Mihanović <duje.mihanovic@skole.hr>
Fri, 1 Jul 2022 19:51:23 +0000 (21:51 +0200)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Fri, 1 Jul 2022 19:51:23 +0000 (21:51 +0200)
Since we can now parse ELF headers (which will specify the start address of the
entry function), this can be safely done away with.

kernel/linker.ld

index 73fd822e18f1981778f897955a3ff9f149b00504..98ee468fac7eb46536fb0fe07e18480995a8c435 100644 (file)
@@ -7,7 +7,6 @@ SECTIONS
 
        .text : ALIGN(4K) {
                __TEXT_BASE__ = .;
-               entry.o (.text)
                *(.text)
                __TEXT_END__ = .;
        }