about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2020-07-22 16:34:48 -0700
committerGitHub <noreply@github.com>2020-07-22 16:34:48 -0700
commit7b28e7bf6bd209b76639748b1ab15ac65b586e22 (patch)
tree89b06396749dc670079d4ee47b6274710aa0a18a /src/rustllvm/RustWrapper.cpp
parent9ac2af1dfc3bac5cce7c731548ec8504bca283c5 (diff)
parent49b9a6486ab0814f4c7d57c22c75216fdc1ebf14 (diff)
downloadrust-7b28e7bf6bd209b76639748b1ab15ac65b586e22.tar.gz
rust-7b28e7bf6bd209b76639748b1ab15ac65b586e22.zip
Rollup merge of #74631 - petrochenkov:ehdr2, r=jonas-schievink
rustc_target: Add a target spec option for disabling `--eh-frame-hdr`

Disable `--eh-frame-hdr` for targets that use an `ld`-like linker, but don't support that option.
Do it through a target spec option rather than through hard-coding in `linker.rs`.
The option is still enabled by default though.

cc https://github.com/rust-lang/rust/pull/73564
Fixes https://github.com/rust-lang/rust/pull/73564#issuecomment-657011004
Fixes https://github.com/rust-lang/rust/pull/74625
Fixes https://github.com/rust-embedded/msp430-rt/issues/12
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions