Skip to content

Commit 9f5e8ca

Browse files
committed
Fix link failure on sparc-unknown-linux-gnu
1 parent ea5573a commit 9f5e8ca

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

compiler/rustc_codegen_ssa/src/back/metadata.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ pub(super) fn elf_e_flags(architecture: Architecture, sess: &Session) -> u32 {
401401
_ => EF_PPC64_ABI_UNKNOWN,
402402
}
403403
}
404+
Architecture::Sparc32Plus => elf::EF_SPARC_32PLUS,
404405
_ => 0,
405406
}
406407
}

0 commit comments

Comments
 (0)