diff options
author | Marvin Borner | 2021-03-20 19:55:51 +0100 |
---|---|---|
committer | GitHub | 2021-03-20 19:55:51 +0100 |
commit | 5132bac014d63331acf61bb60b9254023f76b869 (patch) | |
tree | 8e2946b7a6630da13ee403c787f77270aeb6185d /boot | |
parent | 435231378798819304eef427bad8e77dffea85df (diff) | |
parent | b96c27bba0b242fc860fc9a2fcb63f121312fa7e (diff) |
Merged ELF loading
Diffstat (limited to 'boot')
-rw-r--r-- | boot/Makefile | 2 | ||||
-rw-r--r-- | boot/load.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/boot/Makefile b/boot/Makefile index 714ec22..7ef6cab 100644 --- a/boot/Makefile +++ b/boot/Makefile @@ -5,7 +5,7 @@ LD = ccache ../cross/opt/bin/i686-elf-ld OC = ccache ../cross/opt/bin/i686-elf-objcopy AS = ccache nasm -CFLAGS = $(CFLAGS_DEFAULT) -ffreestanding -fno-stack-protector -fno-sanitize=undefined +CFLAGS = $(CFLAGS_DEFAULT) -ffreestanding -fno-stack-protector -fno-sanitize=undefined -Ofast ASFLAGS = -f elf32 diff --git a/boot/load.c b/boot/load.c index 34c6af8..4a6f3db 100644 --- a/boot/load.c +++ b/boot/load.c @@ -336,7 +336,7 @@ void *read_inode(struct inode *in) if (!num_blocks) return 0; - void *buf = (void *)0x50000; + void *buf = (void *)0x9000; //assert(buf != 0); int indirect; |