mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 00:03:43 +00:00
use gnu ld for m68k target
This commit is contained in:
parent
583b25d8d1
commit
d3768ea81f
@ -1,5 +1,5 @@
|
||||
use crate::abi::Endian;
|
||||
use crate::spec::{Target, TargetOptions, base};
|
||||
use crate::spec::{LinkSelfContainedDefault, Target, TargetOptions, base};
|
||||
|
||||
pub(crate) fn target() -> Target {
|
||||
let mut base = base::linux_gnu::opts();
|
||||
@ -17,6 +17,13 @@ pub(crate) fn target() -> Target {
|
||||
pointer_width: 32,
|
||||
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(),
|
||||
arch: "m68k".into(),
|
||||
options: TargetOptions { endian: Endian::Big, mcount: "_mcount".into(), ..base },
|
||||
options: TargetOptions {
|
||||
endian: Endian::Big,
|
||||
mcount: "_mcount".into(),
|
||||
|
||||
// LLD currently does not have support for M68k
|
||||
link_self_contained: LinkSelfContainedDefault::False,
|
||||
..base
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user