diff --git a/src/Makefile b/src/Makefile index fe78fe8..9ff80e0 100644 --- a/src/Makefile +++ b/src/Makefile @@ -33,7 +33,7 @@ ifdef release endif ifeq (${ARCH},x86_64) - RSCFLAGS := ${RSCFLAGS} -C target-feature=-sse,-avx + RSCFLAGS := ${RSCFLAGS} -C target-feature=-sse endif RUSTLIB_PATH = ../rustlib/${ARCH}/lib @@ -54,6 +54,7 @@ metaverse.elf: kernel libk rust metaverse.lds @echo -e "\e[1;33mld\e[0m \e[1;32m$@\e[0m \e[34m<--\e[0m \e[32m${SUBOBJS}\e[0m" @ld -T metaverse.lds -Map=metaverse.map -unresolved-symbols=ignore-all -o $@ ${SUBOBJS} ${RUST_LIBS} \ 2>&1 | "${SOURCE}/colorize" "warning:=yellow" "error:=red" "ld=lyellow" + @strip $@ .PHONY: kernel libk all clear postproc rust diff --git a/src/kernel/arch/x86_64/entry.s b/src/kernel/arch/x86_64/entry.s index c259f4a..04f86fd 100644 --- a/src/kernel/arch/x86_64/entry.s +++ b/src/kernel/arch/x86_64/entry.s @@ -39,10 +39,6 @@ multiboot2_header: dd 8 multiboot2_header_end: - section .kstack -kstack: - resb 0x1000000 - 0x400000 - section .kend global kend kend: diff --git a/src/metaverse.lds b/src/metaverse.lds index c1e7568..3ef868d 100644 --- a/src/metaverse.lds +++ b/src/metaverse.lds @@ -17,12 +17,6 @@ SECTIONS { { *(.cpumeta) } - . = 4M; - ..kstack : - { - kstack = .; - *(.kstack) - } . = 16M; .text : {