Use +secure-plt for powerpc-unknown-linux-gnu{,spe}
This commit is contained in:
parent
55459598c2
commit
56c6ffbbda
2 changed files with 7 additions and 1 deletions
|
@ -18,6 +18,11 @@ pub(crate) fn target() -> Target {
|
||||||
pointer_width: 32,
|
pointer_width: 32,
|
||||||
data_layout: "E-m:e-p:32:32-Fn32-i64:64-n32".into(),
|
data_layout: "E-m:e-p:32:32-Fn32-i64:64-n32".into(),
|
||||||
arch: "powerpc".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 {
|
options: TargetOptions {
|
||||||
abi: "spe".into(),
|
abi: "spe".into(),
|
||||||
endian: Endian::Big,
|
endian: Endian::Big,
|
||||||
|
features: "+secure-plt".into(),
|
||||||
mcount: "_mcount".into(),
|
mcount: "_mcount".into(),
|
||||||
..base
|
..base
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue