Skip to content

Commit b6fd461

Browse files
committed
use gnu ld for m68k target
1 parent 583b25d commit b6fd461

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

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

+8-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ pub(crate) fn target() -> Target {
1717
pointer_width: 32,
1818
data_layout: "E-m:e-p:32:16:32-i8:8:8-i16:16:16-i32:16:32-n8:16:32-a:0:16-S16".into(),
1919
arch: "m68k".into(),
20-
options: TargetOptions { endian: Endian::Big, mcount: "_mcount".into(), ..base },
20+
options: TargetOptions {
21+
endian: Endian::Big,
22+
mcount: "_mcount".into(),
23+
24+
// LLD currently does not have support for M68k
25+
linker: Some("m68k-linux-gnu-ld".into()),
26+
..base
27+
},
2128
}
2229
}

0 commit comments

Comments
 (0)