llext: use EXPORT_SYMBOL() universally

Replace LL_EXTENSION_SYMBOL() with EXPORT_SYMBOL() in all tests and
samples.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
This commit is contained in:
Guennadi Liakhovetski 2024-08-28 15:23:50 +02:00 committed by Anas Nashif
parent bd09a5c739
commit 19ccec6a03
16 changed files with 16 additions and 16 deletions

View File

@ -31,4 +31,4 @@ int start(void)
return 0;
}
LL_EXTENSION_SYMBOL(start);
EXPORT_SYMBOL(start);

View File

@ -23,4 +23,4 @@ int start(void)
return 0;
}
LL_EXTENSION_SYMBOL(start);
EXPORT_SYMBOL(start);

View File

@ -62,4 +62,4 @@ int start(void)
return 0;
}
LL_EXTENSION_SYMBOL(start);
EXPORT_SYMBOL(start);

View File

@ -61,4 +61,4 @@ int start(void)
return 0;
}
LL_EXTENSION_SYMBOL(start);
EXPORT_SYMBOL(start);

View File

@ -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);

View File

@ -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);

View File

@ -22,4 +22,4 @@ void test_entry(void)
/* unused */
}
LL_EXTENSION_SYMBOL(number);
EXPORT_SYMBOL(number);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -50,4 +50,4 @@ void test_entry(void)
run_id += 1;
}
LL_EXTENSION_SYMBOL(test_entry);
EXPORT_SYMBOL(test_entry);

View File

@ -45,4 +45,4 @@ void test_entry(void)
run_id += 1;
}
LL_EXTENSION_SYMBOL(test_entry);
EXPORT_SYMBOL(test_entry);

View File

@ -16,4 +16,4 @@ void test_entry(void)
{
/* This function is never called */
}
LL_EXTENSION_SYMBOL(test_entry);
EXPORT_SYMBOL(test_entry);

View File

@ -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);

View File

@ -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);

View File

@ -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);