We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b7c5323 commit 737e1d2Copy full SHA for 737e1d2
compiler/rustc_codegen_ssa/src/back/metadata.rs
@@ -192,6 +192,10 @@ pub(crate) fn create_object_file(sess: &Session) -> Option<write::Object<'static
192
}
193
e_flags
194
195
+ Architecture::LoongArch64 => {
196
+ // Source: https://loongson.github.io/LoongArch-Documentation/LoongArch-ELF-ABI-EN.html#_e_flags_identifies_abi_type_and_version
197
+ elf::EF_LARCH_OBJABI_V1 | elf::EF_LARCH_ABI_DOUBLE_FLOAT
198
+ }
199
_ => 0,
200
};
201
// adapted from LLVM's `MCELFObjectTargetWriter::getOSABI`
0 commit comments