diff --git a/cranelift/object/src/backend.rs b/cranelift/object/src/backend.rs index 13240db1c760..b0f12198e9f5 100644 --- a/cranelift/object/src/backend.rs +++ b/cranelift/object/src/backend.rs @@ -457,7 +457,7 @@ impl Module for ObjectModule { } else if relocs.is_empty() { SectionKind::ReadOnlyData } else { - SectionKind::Data + SectionKind::ReadOnlyDataWithRel }, ) };