summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/cbb-musl-pe.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/cbb-musl-pe.h b/libc/cbb-musl-pe.h
index 1bb8a2171..17716651f 100644
--- a/libc/cbb-musl-pe.h
+++ b/libc/cbb-musl-pe.h
@@ -127,7 +127,7 @@ extern "C" {
"__EH_FRAME_BEGIN__," \
"__dso_handle," \
"_init,_fini," \
- "_so_entry_point," \
+ "__so_entry_point," \
"dso_main_routine "
#undef LINK_SPEC
@@ -141,7 +141,7 @@ extern "C" {
"--out-implib %{o*:%.lib.a%*}}} " \
"%{!shared:--entry _start} " \
"%{!shared:--image-base 0x1920000} " \
- "%{shared:--entry _so_entry_point} " \
+ "%{shared:--entry __so_entry_point} " \
"%{shared:--enable-auto-image-base} " \
"--subsystem windows " \
LINK_DSO_SYM_SPEC