forked from Piraterna/aurix
I don't even know what to write at this point
This commit is contained in:
parent
df0ebbbbcd
commit
72a46bc7ce
12 changed files with 235 additions and 96 deletions
|
@ -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
|
||||
|
|
|
@ -31,8 +31,8 @@ PHDRS
|
|||
|
||||
SECTIONS
|
||||
{
|
||||
/* AxBoot remaps this to 0xffffffff80000000 for us */
|
||||
. = 0x1000;
|
||||
/* TODO: 0xffffffff80000000 */
|
||||
. = 0xffffffff80000000;
|
||||
|
||||
_linker_start_text = .;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue