feat: basic flag challenge working + fix elf loading
This commit is contained in:
2
Makefile
2
Makefile
@@ -49,7 +49,7 @@ build/%.riscv.o: src/emulated/%.c $(GENERATED) | build
|
||||
$(RISCV_CC) $(RISCV_ARCH_FLAGS) -I $(dir $(GENERATED)) -I src/emulated -c $< -o $@
|
||||
|
||||
$(EMU_OBJ): $(EMU_OBJ_FILES) | build
|
||||
$(RISCV_CC) $(RISCV_ARCH_FLAGS) -nostdlib -Wl,-e,entry -Wl,-Ttext=0 $(EMU_OBJ_FILES) -o $@
|
||||
$(RISCV_CC) $(RISCV_ARCH_FLAGS) -nostdlib -Wl,-e,entry -Wl,-Ttext=0 -Wl,--emit-relocs $(EMU_OBJ_FILES) -o $@
|
||||
|
||||
|
||||
.FORCE:
|
||||
|
||||
Reference in New Issue
Block a user