summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2019-03-12 16:46:29 -0400
committermidipix <writeonce@midipix.org>2019-03-13 03:36:33 -0400
commit955c8d5c35908a4307bc17ecfb8f7b471d806554 (patch)
treeb95f32a2add94ba62e584a449621f862c8af83b8
parent504090d18863480ef00c2d0e4807e34bd6103294 (diff)
downloadcbb-gcc-4.6.4-955c8d5c35908a4307bc17ecfb8f7b471d806554.tar.bz2
cbb-gcc-4.6.4-955c8d5c35908a4307bc17ecfb8f7b471d806554.tar.xz
midipix (musl-pe) targets: revise crtbegin & crtend object linking specs.
-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