rust/compiler/rustc_codegen_ssa/src/back
Benjamin Lamowski 660d993c64 adapt L4Bender implementation
- Fix style errors.

- L4-bender does not yet support dynamic linking.

- Stack unwinding is not yet supported for x86_64-unknown-l4re-uclibc.
  For now, just abort on panics.

- Use GNU-style linker options where possible. As suggested by review:
    - Use standard GNU-style ld syntax for relro flags.
    - Use standard GNU-style optimization flags and logic.
    - Use standard GNU-style ld syntax for --subsystem.

- Don't read environment variables in L4Bender linker. Thanks to
  CARGO_ENCODED_RUSTFLAGS introduced in #9601, l4-bender's arguments can
  now be passed from the L4Re build system without resorting to custom
  parsing of environment variables.
2022-01-21 16:50:33 +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 Add L4Bender as linker variant 2022-01-21 16:28:33 +01:00
linker.rs adapt L4Bender implementation 2022-01-21 16:50:33 +01:00
lto.rs Support -C passes in NewPM 2021-05-08 10:58:08 +02:00
metadata.rs rustc_codegen_ssa: set static lifetime for object::write::Object 2022-01-07 10:47:40 +08: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 Reduce use of local_def_id_to_hir_id. 2022-01-15 21:26:25 +01:00
write.rs Remove LLVMRustMarkAllFunctionsNounwind 2022-01-14 00:36:12 +00:00