greenhills: fix the pow() function calculate error

Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
guoshichao
2024-09-02 15:16:26 +08:00
committed by Xiang Xiao
parent 0e2bf8ce2c
commit 415bd57c50
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -91,4 +91,8 @@ if(CONFIG_ARCH_HAVE_FETCHADD)
list(APPEND SRCS ${ARCH_TOOLCHAIN_PATH}/arm_fetchadd.S)
endif()
if(CONFIG_ARCH_TOOLCHAIN_GHS)
list(APPEND SRCS ghs/lib_dummy.c)
endif()
target_sources(arch PRIVATE ${SRCS})
+1 -1
View File
@@ -46,6 +46,6 @@ void __gh_fputs_stdout(void)
{
}
void exp2(void)
void __gh_set_errno(int errno)
{
}