]> git.lizzy.rs Git - rust.git/commit
musl: link crt{begin,end}.o from the system compiler
authorJohannes Nixdorf <mixi@exherbo.org>
Sun, 29 Apr 2018 09:29:05 +0000 (11:29 +0200)
committerJohannes Nixdorf <mixi@exherbo.org>
Tue, 1 May 2018 13:38:41 +0000 (15:38 +0200)
commit6d9154a830dd9773fe8a4e34e1fc3dfb1ca6f935
tree1310f5e7b4f930b3b4800e3062c129861d16283c
parentec2b861c2f8013e10ab1f6e01c9aed9ad1daaefe
musl: link crt{begin,end}.o from the system compiler

This fixes #36710 with +crt-static. We only need to add crtbegin.o and
crtend.o as we only do static linking with the bundled start files and
there is no static-pie support in rustc yet.
src/librustc_target/spec/linux_musl_base.rs
src/librustc_target/spec/mod.rs
src/librustc_trans/back/link.rs