summaryrefslogtreecommitdiffhomepage
path: root/musl.lzy
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-09-17 20:06:49 -0400
committermidipix <writeonce@midipix.org>2015-09-17 20:06:49 -0400
commit7d14e0bf3f303c3cd2b3732dc78f8cee77411339 (patch)
treee1a4f32b93cf042b7dcfbb29e0c0382edeef3a47 /musl.lzy
parentc4da963f1e65c4837285bc6e99f0551e9a793d40 (diff)
downloadmmglue-7d14e0bf3f303c3cd2b3732dc78f8cee77411339.tar.bz2
mmglue-7d14e0bf3f303c3cd2b3732dc78f8cee77411339.tar.xz
elf targets: update dynamic linker entry point from _start to _dlstart.
Diffstat (limited to 'musl.lzy')
-rw-r--r--musl.lzy2
1 files changed, 1 insertions, 1 deletions
diff --git a/musl.lzy b/musl.lzy
index 33058d7..5ab977e 100644
--- a/musl.lzy
+++ b/musl.lzy
@@ -38,7 +38,7 @@ lz_project_definitions()
--out-implib $lz_build_dir/lib/libc.lib.a \
--exclude-symbols=$pe_excluded_symbols"
else
- musl_libc_so_ldflags="-shared -e _start -Bsymbolic-functions"
+ musl_libc_so_ldflags="-shared -e _dlstart -Bsymbolic-functions"
musl_cflags_shared="$musl_cflags_shared -DSHARED"
fi