| ... | ... | @@ -733,7 +733,14 @@ enum FloatAbi { |
| 733 | 733 | }; |
| 734 | 734 | |
| 735 | 735 | static FloatAbi get_float_abi(const Triple &triple) { |
| 736 | | zig_panic("TODO implement get_float_abi for ARM"); |
| 736 | if (triple.getEnvironment() == Triple::GNUEABIHF || |
| 737 | triple.getEnvironment() == Triple::EABIHF || |
| 738 | triple.getEnvironment() == Triple::MuslEABIHF) |
| 739 | { |
| 740 | return FloatAbiHard; |
| 741 | } else { |
| 742 | zig_panic("TODO: user needs to input if they want hard or soft floating point"); |
| 743 | } |
| 737 | 744 | } |
| 738 | 745 | |
| 739 | 746 | Buf *get_dynamic_linker(LLVMTargetMachineRef target_machine_ref) { |