about summary refs log tree commit diff
path: root/src/librustc_target/spec/linux_musl_base.rs
AgeCommit message (Collapse)AuthorLines
2020-08-30mv compiler to compiler/mark-17/+0
2020-06-27linker: Create GNU_EH_FRAME header by default when producing ELFsVadim Petrochenkov-7/+1
2020-05-14linker: More systematic handling of CRT objectsVadim Petrochenkov-15/+4
2019-02-08librustc_target => 2018Taiki Endo-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-11-03rustc: Delete grouping logic from the musl targetAlex Crichton-25/+0
This commit deletes the injection of `-(` and `-)` options to the linker for the musl targets. This actually causes problems today on nightly if you execute: $ echo 'fn main() {}' >> foo.rs $ rustc --target x86_64-unknown-linux-musl -C panic=abort you get a linker error about "cannot nest groups". This comes about because rustc injects its own `--start-group` and `--end-group` variables which clash with the outer `-(` and `-)` variables. It's not entirely clear to me why this doesn't affect the musl target by default (in `-C panic=unwind` mode). The compiler's own injection of `--start-group` and `--end-group` should solve the issues mentioned in the comment for injecting `-(` and `-)` as well.
2018-05-31musl: don't use the included startfiles with -crt-staticJohannes Nixdorf-4/+5
This fixes (only for -crt-static) #36710.
2018-05-17Revert "musl: don't use the included startfiles with -crt-static"Alex Crichton-5/+4
This reverts commit a5a875d17b34b61326d803eb2edea526d3bd6914.
2018-05-17Revert "musl: link crt{begin,end}.o from the system compiler"Alex Crichton-2/+0
This reverts commit 6d9154a830dd9773fe8a4e34e1fc3dfb1ca6f935.
2018-05-01musl: link crt{begin,end}.o from the system compilerJohannes Nixdorf-0/+2
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.
2018-04-29musl: don't use the included startfiles with -crt-staticJohannes Nixdorf-4/+5
This fixes #36710 with -crt-static.
2018-04-26Rename rustc_back::target to rustc_target::spec.Irina Popa-0/+68