about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-05-20 05:47:10 +0000
committerbors <bors@rust-lang.org>2020-05-20 05:47:10 +0000
commit64ad709ad4d2863b7995d8b9e90a1bedb7d0ccf1 (patch)
tree72dbfc627b26a19d36533a927c38fc6b094abe92 /src/rustllvm/RustWrapper.cpp
parent692a26e8d727a79340937565cf77c573d3a2294f (diff)
parent49eb35c05e8bff6197ed0ea7437e0c0fb03c62c5 (diff)
downloadrust-64ad709ad4d2863b7995d8b9e90a1bedb7d0ccf1.tar.gz
rust-64ad709ad4d2863b7995d8b9e90a1bedb7d0ccf1.zip
Auto merge of #71769 - petrochenkov:crto, r=cuviper
linker: More systematic handling of CRT objects

Document which kinds of `crt0.o`-like objects we link and in which cases, discovering bugs in process.
`src/librustc_target/spec/crt_objects.rs` is the place to start reading from.

This PR also automatically contains half of the `-static-pie` support (https://github.com/rust-lang/rust/pull/70740), because that's one of the six cases that we need to consider when linking CRT objects.

This is a breaking change for custom target specifications that specify CRT objects.

Closes https://github.com/rust-lang/rust/issues/30868
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions