Merge "Revert "Reference __dso_handle in PIC way""

This commit is contained in:
Kenny Root 2012-03-05 10:46:01 -08:00 committed by Android (Google) Code Review
commit 4597687335

View File

@ -34,13 +34,12 @@
# 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) 0:
.long __dso_handle
.section .init_array, "aw" .section .init_array, "aw"
.globl __INIT_ARRAY__ .globl __INIT_ARRAY__