summaryrefslogtreecommitdiff
path: root/components/libc
diff options
context:
space:
mode:
Diffstat (limited to 'components/libc')
-rw-r--r--components/libc/posix/libdl/dlelf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/libc/posix/libdl/dlelf.c b/components/libc/posix/libdl/dlelf.c
index 24d82d73b4..6490b32633 100644
--- a/components/libc/posix/libdl/dlelf.c
+++ b/components/libc/posix/libdl/dlelf.c
@@ -205,7 +205,10 @@ rt_err_t dlmodule_load_shared_object(struct rt_dlmodule* module, void *module_pt
}
if (unsolved)
+ {
+ unsolved = RT_FALSE;
return -RT_ERROR;
+ }
}
/* construct module symbol table */