Skip to content

Commit 7cd4639

Browse files
committed
wip
1 parent f8436db commit 7cd4639

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

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

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use crate::spec::{base, Cc, LinkerFlavor, Target, TargetOptions};
1+
use crate::spec::{base, Cc, LinkerFlavor, Lld, Target, TargetOptions};
22

33
pub fn target() -> Target {
44
Target {
@@ -22,18 +22,12 @@ pub fn target() -> Target {
2222
data_layout: "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32".into(),
2323
arch: "aarch64".into(),
2424
options: TargetOptions {
25-
// TODO: need?
26-
linker: Some("qcc".into()),
27-
// TODO: need?
28-
linker_flavor: LinkerFlavor::Unix(Cc::Yes),
2925
features: "+v8a".into(),
3026
max_atomic_width: Some(128),
3127
pre_link_args: TargetOptions::link_args(
32-
// TODO: Unix or Gnu(Yes,No)?
33-
LinkerFlavor::Unix(Cc::Yes),
28+
LinkerFlavor::Gnu(Cc::Yes, Lld::No),
3429
&["-Vgcc_ntoaarch64le_cxx"],
3530
),
36-
// relocation_model: crate::spec::RelocModel::Pie,
3731
env: "nto70".into(),
3832
..base::nto_qnx::opts()
3933
},

0 commit comments

Comments
 (0)