[apps] switch to the __start __stop section linker magic
This commit is contained in:
@@ -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 };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user