diff options
author | Ard Biesheuvel <ard.biesheuvel@gmail.com> | 2012-08-21 14:47:58 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@gmail.com> | 2012-08-22 20:45:26 +0200 |
commit | 0a150ead18019c0e4e59417ae3c5e8e0d7d2e4f4 (patch) | |
tree | 0eb50d447d6cc6f5d8084e4f0dc452c8bc2d74d8 /libc/arch-mips/bionic | |
parent | 404e28ff8c3352a4fa290ae7769922db0172008e (diff) | |
download | bionic-0a150ead18019c0e4e59417ae3c5e8e0d7d2e4f4.zip bionic-0a150ead18019c0e4e59417ae3c5e8e0d7d2e4f4.tar.gz bionic-0a150ead18019c0e4e59417ae3c5e8e0d7d2e4f4.tar.bz2 |
libc: remove ctors/dtors sections
None of the supported ARCHs actually populate these sections,
so there is no point in keeping them in the binaries.
Change-Id: I21a364f510118ac1114e1b49c53ec8c895c6bc6b
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@gmail.com>
Diffstat (limited to 'libc/arch-mips/bionic')
-rw-r--r-- | libc/arch-mips/bionic/crtbegin.S | 14 | ||||
-rw-r--r-- | libc/arch-mips/bionic/crtend.S | 10 |
2 files changed, 0 insertions, 24 deletions
diff --git a/libc/arch-mips/bionic/crtbegin.S b/libc/arch-mips/bionic/crtbegin.S index d85d52c..40b689e 100644 --- a/libc/arch-mips/bionic/crtbegin.S +++ b/libc/arch-mips/bionic/crtbegin.S @@ -70,8 +70,6 @@ _start: 1: .long __PREINIT_ARRAY__ .long __INIT_ARRAY__ .long __FINI_ARRAY__ - .long __CTOR_LIST__ - .long __DTOR_LIST__ .section .preinit_array, "aw" .type __PREINIT_ARRAY__, @object @@ -92,18 +90,6 @@ __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 .text .align 2 diff --git a/libc/arch-mips/bionic/crtend.S b/libc/arch-mips/bionic/crtend.S index 7a319be..6984d0e 100644 --- a/libc/arch-mips/bionic/crtend.S +++ b/libc/arch-mips/bionic/crtend.S @@ -35,13 +35,3 @@ .section .fini_array, "aw" .long 0 - .section .ctors, "aw" - .type __CTOR_END__, @object -__CTOR_END__: - .long 0 - - .section .dtors, "aw" - .type __DTOR_END__, @object -__DTOR_END__: - .long 0 - |