diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-09-10 07:09:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-10 07:09:19 +0200 |
| commit | 857a43d2c8fedc0bcb7c51d64b1b7b29d754d16a (patch) | |
| tree | 9dc1ea510a664d5b1bc6bcd30149d032ff68bff2 /src/test/codegen | |
| parent | 87eb3e2dfad244025bd5ee3161be66c271f691d8 (diff) | |
| parent | 54d9ba8239f12db556426db19fca4c4a6e9730e8 (diff) | |
| download | rust-857a43d2c8fedc0bcb7c51d64b1b7b29d754d16a.tar.gz rust-857a43d2c8fedc0bcb7c51d64b1b7b29d754d16a.zip | |
Rollup merge of #101413 - nicholasbishop:bishop-remove-uefi-static-reloc, r=petrochenkov
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 'src/test/codegen')
| -rw-r--r-- | src/test/codegen/abi-efiapi.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/codegen/abi-efiapi.rs b/src/test/codegen/abi-efiapi.rs index 4dc9d183b0b..b4fda5f8c84 100644 --- a/src/test/codegen/abi-efiapi.rs +++ b/src/test/codegen/abi-efiapi.rs @@ -24,7 +24,7 @@ trait Freeze { } #[lang="copy"] trait Copy { } -//x86_64: define dso_local win64cc void @has_efiapi +//x86_64: define win64cc void @has_efiapi //i686: define void @has_efiapi //aarch64: define dso_local void @has_efiapi //arm: define dso_local void @has_efiapi |
