mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 21:27:39 +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;
|