mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-28 04:25:27 +00:00
d3d28f0623
Credits: @yujincheng08 Close #5193
13 lines
313 B
Plaintext
13 lines
313 B
Plaintext
SECTIONS {
|
|
.init_array : {
|
|
*(SORT_BY_INIT_PRIORITY(.init_array.*))
|
|
*(EXCLUDE_FILE(*crtend_android.o) .init_array)
|
|
}
|
|
} INSERT AFTER .fini_array;
|
|
SECTIONS {
|
|
.fini_array : {
|
|
*(SORT_BY_INIT_PRIORITY(.fini_array.*))
|
|
*(EXCLUDE_FILE(*crtend_android.o) .fini_array)
|
|
}
|
|
} INSERT BEFORE .init_array;
|