!969 [Bug]: 初始化函数放在 so 的位置

Merge pull request !969 from ZhangJianxin/startup
This commit is contained in:
openharmony_ci 2024-09-29 12:18:35 +00:00 committed by Gitee
commit bd789155b2
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -152,7 +152,7 @@ impl Ability for RequestAbility {
#[used]
#[link_section = ".init_array"]
static A: extern "C" fn() = {
#[link_section = "..text.startup"]
#[link_section = ".text.startup"]
extern "C" fn init() {
info!("begin request service init");
let system_ability = RequestAbility::new()