summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/cbb-musl-pe.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/libc/cbb-musl-pe.h b/libc/cbb-musl-pe.h
index 213ea42e5..f84ccf17f 100644
--- a/libc/cbb-musl-pe.h
+++ b/libc/cbb-musl-pe.h
@@ -91,12 +91,10 @@ extern "C" {
"%{!shared:%{!mldso:%{!mvrfs:%{!midata:" \
"%R/lib/%{static:S}crtldso.o}}}} " \
"%{shared:%R/lib/crte.o} " \
- "%{static:crtbeginT.o%s;" \
- "shared|pie:crtbeginS.o%s;" \
- ":crtbegin.o%s} "
+ "crtbegin.o%s "
#undef ENDFILE_SPEC
-#define ENDFILE_SPEC "%{shared|pie:crtendS.o%s;:crtend.o%s} " \
+#define ENDFILE_SPEC "crtend.o%s " \
"%R/lib/crtn.o " LIB_SPEC
#undef LINK_GCC_C_SEQUENCE_SPEC