From 75f8d8217e9a85f766db09e6c4d5c77817100359 Mon Sep 17 00:00:00 2001 From: Chao-Ying Fu Date: Tue, 28 Aug 2012 13:21:42 -0700 Subject: [PATCH] Remove unused .ctors, .dtors, and .eh_frame in MIPS crt*_so.S. Change-Id: I9b2d28c7c189d0f3a2ded694fadd0380cfd8e6e5 --- .../android-9/arch-mips/src/crtbegin_so.S | 19 ------------------- .../android-9/arch-mips/src/crtend_so.S | 18 ------------------ 2 files changed, 37 deletions(-) diff --git a/ndk/platforms/android-9/arch-mips/src/crtbegin_so.S b/ndk/platforms/android-9/arch-mips/src/crtbegin_so.S index f4fc9b834..68dddfe3c 100644 --- a/ndk/platforms/android-9/arch-mips/src/crtbegin_so.S +++ b/ndk/platforms/android-9/arch-mips/src/crtbegin_so.S @@ -38,24 +38,7 @@ __FINI_ARRAY__: .long -1 .long __do_global_dtors_aux - .section .ctors, "aw" - .type __CTOR_LIST__, @object - .globl __CTOR_LIST__ -__CTOR_LIST__: - .long -1 - - .section .dtors, "aw" - .type __DTOR_LIST__, @object - .globl __DTOR_LIST__ -__DTOR_LIST__: - .long -1 - .abicalls - .section .eh_frame,"a",@progbits - .align 2 - .type __EH_FRAME_BEGIN__, @object - .size __EH_FRAME_BEGIN__, 0 -__EH_FRAME_BEGIN__: .text .align 2 .set nomips16 @@ -105,8 +88,6 @@ $L8: .size __do_global_dtors_aux, .-__do_global_dtors_aux .local completed.1269 .comm completed.1269,1,1 - .local object.1265 - .comm object.1265,24,4 .weak __cxa_finalize .include "__dso_handle.S" diff --git a/ndk/platforms/android-9/arch-mips/src/crtend_so.S b/ndk/platforms/android-9/arch-mips/src/crtend_so.S index d0bb0900f..f09c42708 100644 --- a/ndk/platforms/android-9/arch-mips/src/crtend_so.S +++ b/ndk/platforms/android-9/arch-mips/src/crtend_so.S @@ -3,21 +3,3 @@ .section .fini_array, "aw" .long 0 - - .section .ctors, "aw", @progbits - .type __CTOR_END__, @object -__CTOR_END__: - .long 0 - - .section .dtors, "aw", @progbits - .type __DTOR_END__, @object -__DTOR_END__: - .long 0 - - .section .eh_frame,"a",@progbits - .align 4 - .type __FRAME_END__, @object - .size __FRAME_END__, 4 -__FRAME_END__: - .zero 4 -