about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorNicholas Bishop <nbishop@nbishop.net>2022-09-04 12:42:03 -0400
committerNicholas Bishop <nicholasbishop@google.com>2022-09-09 15:26:19 -0400
commit54d9ba8239f12db556426db19fca4c4a6e9730e8 (patch)
treec8555a6f55fe815a7ce3ae7bfab44031676083f8 /compiler/rustc_codegen_llvm/src
parent98f3001eecbe4cbd091c10ffab45b4c164bb507b (diff)
downloadrust-54d9ba8239f12db556426db19fca4c4a6e9730e8.tar.gz
rust-54d9ba8239f12db556426db19fca4c4a6e9730e8.zip
Use RelocModel::Pic for UEFI targets
In https://github.com/rust-lang/rust/pull/100537, the relocation model
for UEFI targets was changed from PIC (the default value) to
static. There was some dicussion of this change here:
https://github.com/rust-lang/rust/pull/100537#discussion_r952363012

It turns out that this can cause compilation to fail as described in
https://github.com/rust-lang/rust/issues/101377, so switch back to PIC.

Fixes https://github.com/rust-lang/rust/issues/101377
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions