I don't even know what to write at this point

This commit is contained in:
Jozef Nagy 2025-03-10 17:10:35 +01:00
parent df0ebbbbcd
commit 72a46bc7ce
Signed by untrusted user who does not match committer: crz
GPG key ID: 459A4811CEAC7068
12 changed files with 235 additions and 96 deletions

View file

@ -47,14 +47,15 @@ KERNEL_CFLAGS := $(foreach d, $(INCLUDE_DIRS), -I$d) \
-fno-omit-frame-pointer \
-fno-stack-protector \
-fno-stack-check \
-fno-pie \
-fpic \
-fpie \
-MMD \
-MP
KERNEL_LDFLAGS := -Tarch/$(ARCH)/linker.ld \
-nostdlib \
-static \
-no-pie
#-no-pie
ifeq ($(BUILD_TYPE),debug)
KERNEL_CFLAGS += -O0 -g3

View file

@ -31,8 +31,8 @@ PHDRS
SECTIONS
{
/* AxBoot remaps this to 0xffffffff80000000 for us */
. = 0x1000;
/* TODO: 0xffffffff80000000 */
. = 0xffffffff80000000;
_linker_start_text = .;