adds some consistency fixes for variable ISA settings

This commit is contained in:
2023-12-02 17:41:14 +01:00
parent 8c1c2766e8
commit 6ff0161882
7 changed files with 16 additions and 12 deletions

View File

@ -20,6 +20,5 @@ LDFLAGS := -g -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI) -mcmodel=medlow -Wl,--wrap
TOOL_DIR=$(dir $(compiler))
TRIPLET=riscv32-unknown-elf
BSP_BASE = ../../bare-metal-bsp
include $(BSP_BASE)/env/common-gcc.mk

View File

@ -16,7 +16,7 @@ void __wrap_scanf(const char* fmt, int* n)
extern volatile uint32_t tohost;
void __wrap_exit(int n){
void exit(int n){
tohost = 0x1;
for (;;);
}