Index: libc/arch-nacl/bionic/crtend.c |
diff --git a/libc/arch-nacl/bionic/crtend.c b/libc/arch-nacl/bionic/crtend.c |
index 536fa575fea65fadb65c89d920e35297dadf4886..54930678f1a98c78619b3f49848e98a129dbe92e 100644 |
--- a/libc/arch-nacl/bionic/crtend.c |
+++ b/libc/arch-nacl/bionic/crtend.c |
@@ -9,8 +9,10 @@ |
// Include ctors and dtors. |
typedef void (*structor_fn)(void); |
+#ifndef CRT_SO |
__attribute__ ((section (".preinit_array"))) |
structor_fn __PREINIT_END__[] = { (void (*)(void)) 0}; |
+#endif |
__attribute__ ((section (".init_array"))) |
structor_fn __INIT_END__[] = { (void (*)(void)) 0}; |