1 use crate::spec
::{LinkerFlavor, StackProbeType, Target, TargetOptions}
;
3 pub fn target() -> Target
{
4 let mut base
= super::netbsd_base
::opts();
5 base
.cpu
= "pentium4".to_string();
6 base
.max_atomic_width
= Some(64);
7 base
.pre_link_args
.get_mut(&LinkerFlavor
::Gcc
).unwrap().push("-m32".to_string());
8 // don't use probe-stack=inline-asm until rust#83139 and rust#84667 are resolved
9 base
.stack_probes
= StackProbeType
::Call
;
12 llvm_target
: "i686-unknown-netbsdelf".to_string(),
14 data_layout
: "e-m:e-p:32:32-p270:32:32-p271:32:32-p272:64:64-\
15 f64:32:64-f80:32-n8:16:32-S128"
17 arch
: "x86".to_string(),
18 options
: TargetOptions { mcount: "__mcount".to_string(), ..base }
,