Skip to content

Commit ff7f818

Browse files
committed
change to static relocation model
1 parent 139ca10 commit ff7f818

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

compiler/rustc_target/src/spec/targets/m68k_unknown_none_elf.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use crate::abi::Endian;
2-
use crate::spec::{CodeModel, PanicStrategy, Target, TargetOptions};
2+
use crate::spec::{CodeModel, PanicStrategy, RelocModel, Target, TargetOptions};
33

44
pub(crate) fn target() -> Target {
55
let options = TargetOptions {
@@ -13,6 +13,7 @@ pub(crate) fn target() -> Target {
1313
has_rpath: false,
1414
// should be soft-float
1515
llvm_floatabi: None,
16+
relocation_model: RelocModel::Static,
1617
..Default::default()
1718
};
1819

0 commit comments

Comments
 (0)