diff options
-rw-r--r-- | config/user.ld | 2 | ||||
-rw-r--r-- | user/Makefile | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config/user.ld b/config/user.ld index da1f8b5..de9adb1 100644 --- a/config/user.ld +++ b/config/user.ld @@ -9,7 +9,7 @@ PHDRS SECTIONS { - . = 1024M; + . = 2048M; user_start = .; diff --git a/user/Makefile b/user/Makefile index a01d950..2e57dc8 100644 --- a/user/Makefile +++ b/user/Makefile @@ -14,9 +14,9 @@ CPPFLAGS += -Iinclude CFLAGS += -O2 CFLAGS += -std=c11 CFLAGS += -Wall -Wextra -pedantic -CFLAGS += -fno-pie -fno-stack-protector +CFLAGS += -no-pie -fPIC -fno-stack-protector CFLAGS += -fno-omit-frame-pointer -ffreestanding -CFLAGS += -fno-builtin +CFLAGS += -fno-builtin -mcmodel=large CFLAGS += -D DEBUG -g CFLAGS += $(CPPFLAGS) |