diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-01-13 19:16:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-13 19:16:45 +0100 |
| commit | 278e02a5b614d8a50a6549bbeb5b10ed4a42b6f8 (patch) | |
| tree | f40babed7e7ee98d89d07b1eb4eb7dbc9c6beec6 /compiler/rustc_mir_transform/src/coverage/counters.rs | |
| parent | e0f6840bb663e68064cd4737e6dded2cc91f8fce (diff) | |
| parent | 138a1d26b53cab16066b0faa3846722358a2c09f (diff) | |
| download | rust-278e02a5b614d8a50a6549bbeb5b10ed4a42b6f8.tar.gz rust-278e02a5b614d8a50a6549bbeb5b10ed4a42b6f8.zip | |
Rollup merge of #106797 - FawazTirmizi:dev/issues/104284, r=bjorn3
riscv: Fix ELF header flags The previous version added both `EF_RISCV_FLOAT_ABI_DOUBLE` and `EF_RISCV_RVC` if the "D" extension was enabled on riscv64 targets. riscv32 targets were not accounted for. This patch changes this so that: - Only add `EF_RISCV_RVC` if the "C" extension is enabled - Add `EF_RISCV_FLOAT_ABI_SINGLE` if the "F" extension is enabled and the "D" extension is not - Add these ELF flags for riscv32 as well Fixes #104284 r? rust-lang/risc-v
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/counters.rs')
0 files changed, 0 insertions, 0 deletions
