diff --git a/samples/subsys/llext/edk/ext1/src/main.c b/samples/subsys/llext/edk/ext1/src/main.c index d7f9c6aa71b..a2d98a93784 100644 --- a/samples/subsys/llext/edk/ext1/src/main.c +++ b/samples/subsys/llext/edk/ext1/src/main.c @@ -31,4 +31,4 @@ int start(void) return 0; } -LL_EXTENSION_SYMBOL(start); +EXPORT_SYMBOL(start); diff --git a/samples/subsys/llext/edk/ext2/src/main.c b/samples/subsys/llext/edk/ext2/src/main.c index 38a054a5ccb..f6fd7822f4d 100644 --- a/samples/subsys/llext/edk/ext2/src/main.c +++ b/samples/subsys/llext/edk/ext2/src/main.c @@ -23,4 +23,4 @@ int start(void) return 0; } -LL_EXTENSION_SYMBOL(start); +EXPORT_SYMBOL(start); diff --git a/samples/subsys/llext/edk/ext3/src/main.c b/samples/subsys/llext/edk/ext3/src/main.c index 19aff8352d9..fcaf40186c4 100644 --- a/samples/subsys/llext/edk/ext3/src/main.c +++ b/samples/subsys/llext/edk/ext3/src/main.c @@ -62,4 +62,4 @@ int start(void) return 0; } -LL_EXTENSION_SYMBOL(start); +EXPORT_SYMBOL(start); diff --git a/samples/subsys/llext/edk/k-ext1/src/main.c b/samples/subsys/llext/edk/k-ext1/src/main.c index 34dedc63728..121cc2568a8 100644 --- a/samples/subsys/llext/edk/k-ext1/src/main.c +++ b/samples/subsys/llext/edk/k-ext1/src/main.c @@ -61,4 +61,4 @@ int start(void) return 0; } -LL_EXTENSION_SYMBOL(start); +EXPORT_SYMBOL(start); diff --git a/samples/subsys/llext/modules/src/hello_world_ext.c b/samples/subsys/llext/modules/src/hello_world_ext.c index 41220b02725..b7251d6917d 100644 --- a/samples/subsys/llext/modules/src/hello_world_ext.c +++ b/samples/subsys/llext/modules/src/hello_world_ext.c @@ -24,4 +24,4 @@ void hello_world(void) printk("Hello, world, from an llext!\n"); #endif } -LL_EXTENSION_SYMBOL(hello_world); +EXPORT_SYMBOL(hello_world); diff --git a/tests/misc/llext-edk/extension/src/main.c b/tests/misc/llext-edk/extension/src/main.c index 59038de2cdf..235504f5f8c 100644 --- a/tests/misc/llext-edk/extension/src/main.c +++ b/tests/misc/llext-edk/extension/src/main.c @@ -14,4 +14,4 @@ int start(int bar) printk("foo(%d) is %d\n", bar, foo(bar)); return 0; } -LL_EXTENSION_SYMBOL(start); +EXPORT_SYMBOL(start); diff --git a/tests/subsys/llext/simple/src/find_section_ext.c b/tests/subsys/llext/simple/src/find_section_ext.c index fcbe5c92a4d..5d947914ef4 100644 --- a/tests/subsys/llext/simple/src/find_section_ext.c +++ b/tests/subsys/llext/simple/src/find_section_ext.c @@ -22,4 +22,4 @@ void test_entry(void) /* unused */ } -LL_EXTENSION_SYMBOL(number); +EXPORT_SYMBOL(number); diff --git a/tests/subsys/llext/simple/src/hello_world_ext.c b/tests/subsys/llext/simple/src/hello_world_ext.c index 2a8bdf56c95..4cd2713cd93 100644 --- a/tests/subsys/llext/simple/src/hello_world_ext.c +++ b/tests/subsys/llext/simple/src/hello_world_ext.c @@ -24,4 +24,4 @@ void test_entry(void) printk("A number is %u\n", number); zassert_equal(number, 42); } -LL_EXTENSION_SYMBOL(test_entry); +EXPORT_SYMBOL(test_entry); diff --git a/tests/subsys/llext/simple/src/logging_ext.c b/tests/subsys/llext/simple/src/logging_ext.c index 94298ce2f15..75a6428ebcf 100644 --- a/tests/subsys/llext/simple/src/logging_ext.c +++ b/tests/subsys/llext/simple/src/logging_ext.c @@ -23,4 +23,4 @@ void test_entry(void) LOG_INF("hello world"); LOG_INF("A number is %" PRIu32, number); } -LL_EXTENSION_SYMBOL(test_entry); +EXPORT_SYMBOL(test_entry); diff --git a/tests/subsys/llext/simple/src/movwmovt_ext.c b/tests/subsys/llext/simple/src/movwmovt_ext.c index 21633228778..aecaf029ddc 100644 --- a/tests/subsys/llext/simple/src/movwmovt_ext.c +++ b/tests/subsys/llext/simple/src/movwmovt_ext.c @@ -32,4 +32,4 @@ void test_entry(void) __asm volatile ("blx r0"); zassert_equal(test_var, 1, "mov.w and mov.t test failed"); } -LL_EXTENSION_SYMBOL(test_entry); +EXPORT_SYMBOL(test_entry); diff --git a/tests/subsys/llext/simple/src/multi_file_ext1.c b/tests/subsys/llext/simple/src/multi_file_ext1.c index bdc8bccaaa1..8aa9092ee28 100644 --- a/tests/subsys/llext/simple/src/multi_file_ext1.c +++ b/tests/subsys/llext/simple/src/multi_file_ext1.c @@ -50,4 +50,4 @@ void test_entry(void) run_id += 1; } -LL_EXTENSION_SYMBOL(test_entry); +EXPORT_SYMBOL(test_entry); diff --git a/tests/subsys/llext/simple/src/object_ext.c b/tests/subsys/llext/simple/src/object_ext.c index 7efe1a916d6..1a4ea53158e 100644 --- a/tests/subsys/llext/simple/src/object_ext.c +++ b/tests/subsys/llext/simple/src/object_ext.c @@ -45,4 +45,4 @@ void test_entry(void) run_id += 1; } -LL_EXTENSION_SYMBOL(test_entry); +EXPORT_SYMBOL(test_entry); diff --git a/tests/subsys/llext/simple/src/pre_located_ext.c b/tests/subsys/llext/simple/src/pre_located_ext.c index 1308c8d662f..99d4b77ca57 100644 --- a/tests/subsys/llext/simple/src/pre_located_ext.c +++ b/tests/subsys/llext/simple/src/pre_located_ext.c @@ -16,4 +16,4 @@ void test_entry(void) { /* This function is never called */ } -LL_EXTENSION_SYMBOL(test_entry); +EXPORT_SYMBOL(test_entry); diff --git a/tests/subsys/llext/simple/src/relative_jump_ext.c b/tests/subsys/llext/simple/src/relative_jump_ext.c index e7f67469b83..8153d84903c 100644 --- a/tests/subsys/llext/simple/src/relative_jump_ext.c +++ b/tests/subsys/llext/simple/src/relative_jump_ext.c @@ -62,4 +62,4 @@ void test_entry(void) printk("exit\n"); zassert_equal(test_var, 1, "relative jump test failed"); } -LL_EXTENSION_SYMBOL(test_entry); +EXPORT_SYMBOL(test_entry); diff --git a/tests/subsys/llext/simple/src/syscalls_ext.c b/tests/subsys/llext/simple/src/syscalls_ext.c index f8f073fb6f9..d8e6449ee2f 100644 --- a/tests/subsys/llext/simple/src/syscalls_ext.c +++ b/tests/subsys/llext/simple/src/syscalls_ext.c @@ -23,4 +23,4 @@ void test_entry(void) input, input + 1, output); zassert_equal(output, input + 1); } -LL_EXTENSION_SYMBOL(test_entry); +EXPORT_SYMBOL(test_entry); diff --git a/tests/subsys/llext/simple/src/threads_kernel_objects_ext.c b/tests/subsys/llext/simple/src/threads_kernel_objects_ext.c index fd6b9673c95..ab9763b9121 100644 --- a/tests/subsys/llext/simple/src/threads_kernel_objects_ext.c +++ b/tests/subsys/llext/simple/src/threads_kernel_objects_ext.c @@ -42,4 +42,4 @@ void test_entry(void) k_thread_join(&my_thread, K_FOREVER); printk("Test thread joined\n"); } -LL_EXTENSION_SYMBOL(test_entry); +EXPORT_SYMBOL(test_entry);