about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2021-12-17 11:26:39 +0100
committerNikita Popov <nikita.ppv@gmail.com>2021-12-18 18:44:03 +0100
commit79d53096041c05db5f54a0fdf0b0dae4fe48ccec (patch)
treec38a090371cf3c3d23a67c5fd7114277d396b6d1 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent16d8a91d511b0e90391bcb20b8c67036071d9392 (diff)
downloadrust-79d53096041c05db5f54a0fdf0b0dae4fe48ccec.tar.gz
rust-79d53096041c05db5f54a0fdf0b0dae4fe48ccec.zip
Explicitly set no ELF flags for .rustc section
For a data section, the object crate will set the SHF_ALLOC by
default, which is exactly what we don't want. Explicitly set
sh_flags to zero to avoid this.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions