diff options
| author | Nicholas Bishop <nbishop@nbishop.net> | 2022-11-06 17:29:46 -0500 |
|---|---|---|
| committer | Nicholas Bishop <nbishop@nbishop.net> | 2022-11-06 18:05:24 -0500 |
| commit | 42cbb401574b494c5da7a58cb2485be54992babd (patch) | |
| tree | e70a231523d49fd421723474e13459cafa0a6245 /compiler/rustc_parse/src | |
| parent | 7eef946fc0e0eff40e588eab77b09b287accbec3 (diff) | |
| download | rust-42cbb401574b494c5da7a58cb2485be54992babd.tar.gz rust-42cbb401574b494c5da7a58cb2485be54992babd.zip | |
Use aapcs for efiapi calling convention on arm
On arm, llvm treats the C calling convention as `aapcs` on soft-float targets and `aapcs-vfp` on hard-float targets [1]. UEFI specifies in the arm calling convention that floating point extensions aren't used [2], so always translate `efiapi` to `aapcs` on arm. [1]: https://github.com/rust-lang/compiler-builtins/issues/116#issuecomment-261057422 [2]: https://uefi.org/specs/UEFI/2.10/02_Overview.html#detailed-calling-convention https://github.com/rust-lang/rust/issues/65815
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions
