mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
Use +secure-plt for powerpc-unknown-linux-gnu{,spe}
This commit is contained in:
@@ -18,6 +18,11 @@ pub(crate) fn target() -> Target {
|
||||
pointer_width: 32,
|
||||
data_layout: "E-m:e-p:32:32-Fn32-i64:64-n32".into(),
|
||||
arch: "powerpc".into(),
|
||||
options: TargetOptions { endian: Endian::Big, mcount: "_mcount".into(), ..base },
|
||||
options: TargetOptions {
|
||||
endian: Endian::Big,
|
||||
features: "+secure-plt".into(),
|
||||
mcount: "_mcount".into(),
|
||||
..base
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
@@ -21,6 +21,7 @@ pub(crate) fn target() -> Target {
|
||||
options: TargetOptions {
|
||||
abi: "spe".into(),
|
||||
endian: Endian::Big,
|
||||
features: "+secure-plt".into(),
|
||||
mcount: "_mcount".into(),
|
||||
..base
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user