diff options
| author | Nicholas Bishop <nbishop@nbishop.net> | 2022-09-04 12:42:03 -0400 |
|---|---|---|
| committer | Nicholas Bishop <nicholasbishop@google.com> | 2022-09-09 15:26:19 -0400 |
| commit | 54d9ba8239f12db556426db19fca4c4a6e9730e8 (patch) | |
| tree | c8555a6f55fe815a7ce3ae7bfab44031676083f8 /compiler/rustc_codegen_llvm/src | |
| parent | 98f3001eecbe4cbd091c10ffab45b4c164bb507b (diff) | |
| download | rust-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
