Index: libc/arch-nacl/bionic/crtbegin.c |
diff --git a/libc/arch-nacl/bionic/crtbegin.c b/libc/arch-nacl/bionic/crtbegin.c |
index 08a96e618022e258be40f6b4491ded23c1743c96..512772d48069cf87dc1332bf5757bc2eb346c549 100644 |
--- a/libc/arch-nacl/bionic/crtbegin.c |
+++ b/libc/arch-nacl/bionic/crtbegin.c |
@@ -40,8 +40,10 @@ void *__dso_handle; |
// Include ctors and dtors. |
typedef void (*structor_fn)(void); |
+#ifndef CRT_SO |
__attribute__ ((section (".preinit_array"))) |
structor_fn __PREINIT__[1] = { (void (*)(void)) -1}; |
+#endif |
__attribute__ ((section (".init_array"))) |
structor_fn __INIT__[1] = { (void (*)(void)) -1}; |