mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
greenhills: fix the pow() function calculate error
Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
@@ -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})
|
||||
|
||||
@@ -46,6 +46,6 @@ void __gh_fputs_stdout(void)
|
||||
{
|
||||
}
|
||||
|
||||
void exp2(void)
|
||||
void __gh_set_errno(int errno)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user