We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a8e87d commit f7c886bCopy full SHA for f7c886b
1 file changed
cranelift/object/src/backend.rs
@@ -1030,6 +1030,16 @@ impl ObjectModule {
1030
r_type: object::elf::R_RISCV_GOT_HI20,
1031
}
1032
1033
+ Reloc::RiscvPCRelHi20 => {
1034
+ assert_eq!(
1035
+ self.object.format(),
1036
+ object::BinaryFormat::Elf,
1037
+ "RiscvPCRelHi20 is not supported for this file format"
1038
+ );
1039
+ RelocationFlags::Elf {
1040
+ r_type: object::elf::R_RISCV_PCREL_HI20,
1041
+ }
1042
1043
// FIXME
1044
reloc => unimplemented!("{:?}", reloc),
1045
};
0 commit comments