fix regression that made shared libs crash on arm
This commit is contained in:
parent
a47ad3ebce
commit
d432b2c057
2 changed files with 4 additions and 0 deletions
|
|
@ -5,6 +5,8 @@ _init:
|
|||
|
||||
.weak __fini_array_start
|
||||
.weak __fini_array_end
|
||||
.hidden __fini_array_start
|
||||
.hidden __fini_array_end
|
||||
|
||||
.section .fini
|
||||
.global _fini
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
.weak __init_array_start
|
||||
.weak __init_array_end
|
||||
.hidden __init_array_start
|
||||
.hidden __init_array_end
|
||||
|
||||
.section .init
|
||||
adr lr, 1f
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue