Add loongarch64 to fn create_object_file

This commit is contained in:
zhaixiaojuan 2023-02-03 11:37:31 +08:00 committed by wangrui
parent ca8cad7896
commit b7c5323d42

View File

@ -128,6 +128,7 @@ pub(crate) fn create_object_file(sess: &Session) -> Option<write::Object<'static
"msp430" => Architecture::Msp430,
"hexagon" => Architecture::Hexagon,
"bpf" => Architecture::Bpf,
"loongarch64" => Architecture::LoongArch64,
// Unsupported architecture.
_ => return None,
};