Revert "Reference __dso_handle in PIC way"
This reverts commit 93cb30813764b140f0adbaa620dcdbb1cae56dd8
This commit is contained in:
parent
fa944c190c
commit
fa3f72ee53
@ -34,18 +34,17 @@
|
|||||||
# standard.
|
# standard.
|
||||||
#
|
#
|
||||||
__on_dlclose:
|
__on_dlclose:
|
||||||
ldr r0, .L1
|
adr r0, 0f
|
||||||
.LPIC0:
|
|
||||||
add r0, pc
|
|
||||||
ldr r0, [r0]
|
ldr r0, [r0]
|
||||||
b __cxa_finalize
|
b __cxa_finalize
|
||||||
.L1:
|
|
||||||
.word __dso_handle-(.LPIC0+4)
|
|
||||||
|
|
||||||
.section .init_array, "aw"
|
0:
|
||||||
.globl __INIT_ARRAY__
|
.long __dso_handle
|
||||||
|
|
||||||
|
.section .init_array, "aw"
|
||||||
|
.globl __INIT_ARRAY__
|
||||||
__INIT_ARRAY__:
|
__INIT_ARRAY__:
|
||||||
.long -1
|
.long -1
|
||||||
|
|
||||||
.section .fini_array, "aw"
|
.section .fini_array, "aw"
|
||||||
.globl __FINI_ARRAY__
|
.globl __FINI_ARRAY__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user