rust/compiler/rustc_codegen_ssa/src/back
Matthias Krüger 9415c67ae5
Rollup merge of #92029 - nikic:section-flags-fix, r=davidtwco
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.

I checked with `objdump -h` that this produces the right flags for ELF.

Fixes #92013.
2021-12-19 17:38:35 +01:00
..
rpath Remove LibSource 2021-07-05 10:49:07 +02:00
archive.rs Move rustc_middle::middle::cstore to rustc_session. 2021-10-03 16:08:51 +02:00
command.rs Remove unnecessary sigils around Symbol::as_str() calls. 2021-12-15 17:32:14 +11:00
link.rs Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obk 2021-12-19 09:31:37 +00:00
linker.rs Only use the -dynamiclib flag when the linker is not ld 2021-11-14 18:49:18 +11:00
lto.rs Support -C passes in NewPM 2021-05-08 10:58:08 +02:00
metadata.rs Explicitly set no ELF flags for .rustc section 2021-12-18 18:44:03 +01:00
mod.rs Use the object crate for metadata reading 2021-05-07 18:48:58 +02:00
rpath.rs pass -Wl,-z,origin to set DF_ORIGIN when using rpath 2021-12-17 11:27:14 +00:00
symbol_export.rs Remove in_band_lifetimes from rustc_codegen_ssa 2021-12-15 00:41:41 -05:00
write.rs Remove redundant [..]s 2021-12-09 00:01:29 +01:00