From 4eb7b3561767b864549bb2dcd17fbae6b7f1825c Mon Sep 17 00:00:00 2001 From: Yatis Date: Wed, 14 Oct 2020 12:24:57 +0200 Subject: [PATCH] fix compilation error (casio-fx9860) --- configure | 2 +- make/Makefile.default | 4 ++-- src/unistd/arch/fx9860g/close.S | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 204f120..f27e49a 100755 --- a/configure +++ b/configure @@ -205,7 +205,7 @@ generate_config() # ABI support [ $support_vhex_kernel = true ] && echo 'CONFIG.TARGET += fxlibc-vhex' - [ $support_casio_abi_fx9860 = true ] && echo 'CONFIG.TARGET += fxlibc-fx9860' + [ $support_casio_abi_fx9860 = true ] && echo 'CONFIG.TARGET += fxlibc-fx9860g' [ $support_casio_abi_fxcg50 = true ] && echo 'CONFIG.TARGET += fxlibc-fxcg50' # formats diff --git a/make/Makefile.default b/make/Makefile.default index 213f304..2fb0efe 100644 --- a/make/Makefile.default +++ b/make/Makefile.default @@ -34,7 +34,7 @@ #--- MAJOR := 0 MINOR := 2 -PATCH := 2 +PATCH := 3 EXTRAVERSION := -alpha @@ -152,7 +152,7 @@ generated-libs += $$(lib-name) # add custom flags based on the target ABI ifeq ($1,fxlibc-vhex) lib-cflags += -D __SUPPORT_VHEX_KERNEL -else ifeq ($1,fxlibc-casio-abi-fx9860) +else ifeq ($1,fxlibc-casio-abi-fx9860g) lib-cflags += -D __SUPPORT_CASIO_ABI_FX9860G else ifeq ($1,fxlibc-casio-abi-fxcf50) lib-cflags += -D __SUPPORT_CASIO_ABI_FXCG50 diff --git a/src/unistd/arch/fx9860g/close.S b/src/unistd/arch/fx9860g/close.S index cc31bba..9b3308a 100644 --- a/src/unistd/arch/fx9860g/close.S +++ b/src/unistd/arch/fx9860g/close.S @@ -13,7 +13,7 @@ ** and may be reused. */ _close: - casio_trapa(__NR_close) + casio_trapa(__NR_Bfile_CloseFile) rts nop .end