diff options
| author | Meco Jianting Man <[email protected]> | 2021-02-16 06:54:02 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-16 06:54:02 -0600 |
| commit | e19873db6d6947f02e0b093251adf3c73daabdd8 (patch) | |
| tree | a10b63a5ce4157ad2e232f70382702fe1af24946 /include/rtm.h | |
| parent | f0805a7973ffe62e459da7748cbada62bccf98b9 (diff) | |
| parent | 06f47dafd25e396787dffaecc777fe1210b4a82b (diff) | |
Merge pull request #17 from RT-Thread/master
pr
Diffstat (limited to 'include/rtm.h')
| -rw-r--r-- | include/rtm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/rtm.h b/include/rtm.h index 7e07a2239c..9da3a6b8b2 100644 --- a/include/rtm.h +++ b/include/rtm.h @@ -28,8 +28,8 @@ __declspec(allocate("RTMSymTab$f"))const char __rtmsym_##symbol##_name[] = "__vs #else #define RTM_EXPORT(symbol) \ -const char __rtmsym_##symbol##_name[] SECTION(".rodata.name") = #symbol; \ -const struct rt_module_symtab __rtmsym_##symbol SECTION("RTMSymTab")= \ +const char __rtmsym_##symbol##_name[] RT_SECTION(".rodata.name") = #symbol; \ +const struct rt_module_symtab __rtmsym_##symbol RT_SECTION("RTMSymTab")= \ { \ (void *)&symbol, \ __rtmsym_##symbol##_name \ |
