summaryrefslogtreecommitdiffstats
path: root/compiler/rustc_target/src/spec/powerpc_wrs_vxworks.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-07 05:48:48 +0000
commitef24de24a82fe681581cc130f342363c47c0969a (patch)
tree0d494f7e1a38b95c92426f58fe6eaa877303a86c /compiler/rustc_target/src/spec/powerpc_wrs_vxworks.rs
parentReleasing progress-linux version 1.74.1+dfsg1-1~progress7.99u1. (diff)
downloadrustc-ef24de24a82fe681581cc130f342363c47c0969a.tar.xz
rustc-ef24de24a82fe681581cc130f342363c47c0969a.zip
Merging upstream version 1.75.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'compiler/rustc_target/src/spec/powerpc_wrs_vxworks.rs')
-rw-r--r--compiler/rustc_target/src/spec/powerpc_wrs_vxworks.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/compiler/rustc_target/src/spec/powerpc_wrs_vxworks.rs b/compiler/rustc_target/src/spec/powerpc_wrs_vxworks.rs
deleted file mode 100644
index 6f245e6ab..000000000
--- a/compiler/rustc_target/src/spec/powerpc_wrs_vxworks.rs
+++ /dev/null
@@ -1,17 +0,0 @@
-use crate::abi::Endian;
-use crate::spec::{Cc, LinkerFlavor, Lld, StackProbeType, Target, TargetOptions};
-
-pub fn target() -> Target {
- let mut base = super::vxworks_base::opts();
- base.add_pre_link_args(LinkerFlavor::Gnu(Cc::Yes, Lld::No), &["-m32", "--secure-plt"]);
- base.max_atomic_width = Some(32);
- base.stack_probes = StackProbeType::Inline;
-
- Target {
- llvm_target: "powerpc-unknown-linux-gnu".into(),
- pointer_width: 32,
- data_layout: "E-m:e-p:32:32-Fn32-i64:64-n32".into(),
- arch: "powerpc".into(),
- options: TargetOptions { endian: Endian::Big, features: "+secure-plt".into(), ..base },
- }
-}