summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/config/i386/midipix.opt4
-rw-r--r--libc/cbb-musl-pe.h4
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/i386/midipix.opt b/gcc/config/i386/midipix.opt
index 91ffdc2c3..4cf16dca4 100644
--- a/gcc/config/i386/midipix.opt
+++ b/gcc/config/i386/midipix.opt
@@ -43,6 +43,10 @@ mdinga
Target
debug process initialization using a ding alarm
+midata
+Target
+do not use a custom dynamic loader for process initialization
+
mldso
Target
use a dynamic loader
diff --git a/libc/cbb-musl-pe.h b/libc/cbb-musl-pe.h
index 4495da880..44ba5da4f 100644
--- a/libc/cbb-musl-pe.h
+++ b/libc/cbb-musl-pe.h
@@ -90,7 +90,11 @@ extern "C" {
"%{!shared:%{mdinga:%R/lib/crtdinga.o}} " \
"%{!shared:%{mldso:%R/lib/crtldso.o}} " \
"%{!shared:%{mvrfs:%R/lib/crtvrfs.o}} " \
+ "%{!shared:%{!static:%{midata" \
+ ":%R/lib/crtidata.o}}} " \
"%{!shared:%R/lib/%{static:S}crt1.o} " \
+ "%{!shared:%{!mldso:%{!mvrfs:%{!midata" \
+ ":%{!static:%R/lib/crtidata.o}}}}} " \
"%{shared:%R/lib/crte.o} " \
"%{static:crtbeginT.o%s;" \
"shared|pie:crtbeginS.o%s;" \