From 837022c5cdb3d4c9a2f4e99d12e5ad77f59888dc Mon Sep 17 00:00:00 2001 From: midipix Date: Thu, 2 Jun 2016 19:33:45 -0400 Subject: midipix targets: so_entry_point: protect 32-bit name-space (adds underscore). --- libc/cbb-musl-pe.h | 4 ++-- 1 file 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 -- cgit v1.2.3