define startup stack in linker script, not assembly

This commit is contained in:
josh committed 2020-10-19 22:23:39 -04:00
1 parent 05de14800b
commit b202eca0cc
3 files changed
+15 -42

No files matched your search

+1
View File
@@ -97,6 +97,7 @@ EOF
env["LIBS"] += %w[gcc]
env["OBJDUMP"] = "i686-elf-objdump"
env.Program("^/hos.elf", glob("src/**/*.{S,c}"))
env.depends("#{env.build_root}/hos.elf", "src/link.ld")
env.Disassemble("^/hos.elf.txt", "^/hos.elf")
env.EfiImage("build/hos-efi.img", %w[^/hos.elf])
env.BiosImage("build/hos-bios.img", %w[^/hos.elf])