[apps] switch to the __start __stop section linker magic

This commit is contained in:
Travis Geiselbrecht
2020-05-14 23:57:42 -07:00
parent f10d9baadb
commit 243975bbce
4 changed files with 5 additions and 15 deletions

View File

@@ -33,7 +33,7 @@ struct app_descriptor {
size_t stack_size;
};
#define APP_START(appname) const struct app_descriptor _app_##appname __ALIGNED(sizeof(void *)) __SECTION(".apps") = { .name = #appname,
#define APP_START(appname) const struct app_descriptor _app_##appname __ALIGNED(sizeof(void *)) __SECTION("apps") = { .name = #appname,
#define APP_END };