mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-22 17:08:12 +08:00
Sync from master (fc5cfe0a5e
)
This commit is contained in:
@@ -14,7 +14,7 @@ if GetDepend('RT_USING_DFS') == False:
|
||||
if GetDepend('RT_USING_MODULE') == False:
|
||||
SrcRemove(src, ['libc_syms.c'])
|
||||
|
||||
if rtconfig.PLATFORM == 'armcc':
|
||||
if rtconfig.PLATFORM == 'armcc' or rtconfig.PLATFORM == 'armclang':
|
||||
group = DefineGroup('libc', src, depend = ['RT_USING_LIBC'],
|
||||
CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
|
||||
|
||||
|
@@ -251,7 +251,7 @@ void _ttywrch(int ch)
|
||||
#endif
|
||||
}
|
||||
|
||||
void _sys_exit(int return_code)
|
||||
RT_WEAK void _sys_exit(int return_code)
|
||||
{
|
||||
/* TODO: perhaps exit the thread which is invoking this function */
|
||||
while (1);
|
||||
|
@@ -12,9 +12,7 @@
|
||||
#include "dlelf.h"
|
||||
|
||||
#define DBG_SECTION_NAME "DLMD"
|
||||
#define DBG_ENABLE // enable debug macro
|
||||
#define DBG_LEVEL DBG_INFO
|
||||
#define DBG_COLOR
|
||||
#include <rtdbg.h> // must after of DEBUG_ENABLE or some other options
|
||||
|
||||
rt_err_t dlmodule_load_shared_object(struct rt_dlmodule* module, void *module_ptr)
|
||||
|
@@ -17,9 +17,7 @@
|
||||
#include <dfs_posix.h>
|
||||
|
||||
#define DBG_SECTION_NAME "DLMD"
|
||||
#define DBG_ENABLE // enable debug macro
|
||||
#define DBG_LEVEL DBG_INFO
|
||||
#define DBG_COLOR
|
||||
#include <rtdbg.h> // must after of DEBUG_ENABLE or some other options
|
||||
|
||||
static struct rt_module_symtab *_rt_module_symtab_begin = RT_NULL;
|
||||
|
Reference in New Issue
Block a user