rust/compiler/rustc_target/src
Fangrui Song f3d81917fc Default relax_elf_relocations to true
This option tells LLVM to emit relaxable relocation types
R_X86_64_GOTPCRELX/R_X86_64_REX_GOTPCRELX/R_386_GOT32X in applicable cases. True
matches Clang's CMake default since 2020-08 [1] and latest LLVM default[2].

This also works around a GNU ld<2.41 issue[3] when using
general-dynamic/local-dynamic TLS models in `-Z plt=no` mode with latest LLVM.

[1]: c41a18cf61
[2]: 2aedfdd9b8
[3]: https://sourceware.org/bugzilla/show_bug.cgi?id=24784
2023-08-23 11:12:30 -07:00
..
abi Update compiler/rustc_target/src/abi/call/csky.rs 2023-08-14 23:02:36 +08:00
asm add details for csky-unknown-linux-gnuabiv2 and add docs 2023-08-14 23:02:37 +08:00
spec Default relax_elf_relocations to true 2023-08-23 11:12:30 -07:00
json.rs feat: riscv-interrupt-{m,s} calling conventions 2023-08-08 18:09:56 -07:00
lib.rs Add internal_features lint 2023-08-03 14:50:50 +02:00
tests.rs Use serde_json for target spec json 2022-06-03 16:46:19 +00:00