about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-05-29 21:58:24 +0200
committerGitHub <noreply@github.com>2020-05-29 21:58:24 +0200
commit7aef3a0f6f8c86cc90b4a6b209b7167d2ac34e12 (patch)
treeb34777f56cd32709880200dd6833c70394606db1 /src/rustllvm/RustWrapper.cpp
parent1cfe0e9c635c41309ec852c5f296f7e77fec6940 (diff)
parent96a466c3128945627c2f81ec13b8ae98be7c3749 (diff)
downloadrust-7aef3a0f6f8c86cc90b4a6b209b7167d2ac34e12.tar.gz
rust-7aef3a0f6f8c86cc90b4a6b209b7167d2ac34e12.zip
Rollup merge of #71804 - petrochenkov:static-pie, r=cuviper
linker: Support `-static-pie` and `-static -shared`

This PR adds support for passing linker arguments for creating statically linked position-independent executables and "statically linked" shared libraries.

Therefore it incorporates the majority of https://github.com/rust-lang/rust/pull/70740 except for the linker rerun hack and actually flipping the "`static-pie` is supported" switch for musl targets.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions