about summary refs log tree commit diff
path: root/src/rustllvm/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorJoshua M. Clulow <jmc@oxide.computer>2020-07-08 23:28:16 +0000
committerJoshua M. Clulow <jmc@oxide.computer>2020-07-08 23:36:05 +0000
commit7fb421bd77e37505045bef424b962a0bd9af6c4e (patch)
treef55b504063ad13bc087d5e53bbc9ebc413afd886 /src/rustllvm/CoverageMappingWrapper.cpp
parent1d919c9377f4602d991ca1c7ba852e7555943740 (diff)
downloadrust-7fb421bd77e37505045bef424b962a0bd9af6c4e.tar.gz
rust-7fb421bd77e37505045bef424b962a0bd9af6c4e.zip
linker: illumos ld does not support --eh-frame-hdr
As of rust-lang/rust#73564, the --eh-frame-hdr flag is unconditionally
passed to linkers on many platforms.  The illumos link editor does not
currently support this flag.

The linker machinery in the Rust toolchain currently seems to use the
(potentially cross-compiled) target to choose linker flags, rather than
looking at what might be running on the build system.  Disabling the
flag for all illumos/Solaris targets seems like the best we can do for
now without more serious surgery.
Diffstat (limited to 'src/rustllvm/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions