Skip to content

Commit

Permalink
ld.so: Link for 4K pages
Browse files Browse the repository at this point in the history
  • Loading branch information
klange committed Sep 27, 2021
1 parent d051aa4 commit d98070a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ $(BASE)/lib/libkuroko.so: $(KRK_SRC) | $(LC)
$(CC) -O2 -shared -fPIC -Ikuroko/src -o $@ $(filter-out kuroko/src/kuroko.c,$(KRK_SRC))

$(BASE)/lib/ld.so: linker/linker.c $(BASE)/lib/libc.a | dirs $(LC)
$(CC) -g -static -Wl,-static $(CFLAGS) -o $@ -Os -T linker/link.ld $<
$(CC) -g -static -Wl,-static $(CFLAGS) -z max-page-size=0x1000 -o $@ -Os -T linker/link.ld $<

run: system
${EMU} ${EMU_ARGS} -cdrom image.iso
Expand Down

0 comments on commit d98070a

Please sign in to comment.