diff options
| author | Bernard Xiong <[email protected]> | 2015-09-20 14:51:22 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2015-09-20 14:51:22 +0800 |
| commit | 72f79d8eef64ebec31722511e8a8c34cf0085b6d (patch) | |
| tree | eb8098fa092c76dfae0b06fd221e89363a440db6 /include/rtm.h | |
| parent | 9ad05db536b9f178e0142664a30da3477fd15a4d (diff) | |
| parent | 7dfac0f78e546842b276806538a36066d61bd974 (diff) | |
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Diffstat (limited to 'include/rtm.h')
| -rw-r--r-- | include/rtm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtm.h b/include/rtm.h index e888153a14..05419e4420 100644 --- a/include/rtm.h +++ b/include/rtm.h @@ -42,7 +42,7 @@ __declspec(allocate("RTMSymTab$f"))const char __rtmsym_##symbol##_name[] = "__vs #else #define RTM_EXPORT(symbol) \ -const char __rtmsym_##symbol##_name[] SECTION(".name") = #symbol; \ +const char __rtmsym_##symbol##_name[] SECTION(".rodata.name") = #symbol; \ const struct rt_module_symtab __rtmsym_##symbol SECTION("RTMSymTab")= \ { \ (void *)&symbol, \ |
