Remove linker_is_gnu: true cases as that is now the default.
This commit is contained in:
parent
0188664425
commit
3221a5e65b
20 changed files with 0 additions and 20 deletions
|
@ -16,7 +16,6 @@ pub fn target() -> Target {
|
||||||
executables: true,
|
executables: true,
|
||||||
relocation_model: RelocModel::Static,
|
relocation_model: RelocModel::Static,
|
||||||
disable_redzone: true,
|
disable_redzone: true,
|
||||||
linker_is_gnu: true,
|
|
||||||
max_atomic_width: Some(128),
|
max_atomic_width: Some(128),
|
||||||
panic_strategy: PanicStrategy::Abort,
|
panic_strategy: PanicStrategy::Abort,
|
||||||
unsupported_abis: super::arm_base::unsupported_abis(),
|
unsupported_abis: super::arm_base::unsupported_abis(),
|
||||||
|
|
|
@ -16,7 +16,6 @@ pub fn target() -> Target {
|
||||||
executables: true,
|
executables: true,
|
||||||
relocation_model: RelocModel::Static,
|
relocation_model: RelocModel::Static,
|
||||||
disable_redzone: true,
|
disable_redzone: true,
|
||||||
linker_is_gnu: true,
|
|
||||||
max_atomic_width: Some(128),
|
max_atomic_width: Some(128),
|
||||||
panic_strategy: PanicStrategy::Abort,
|
panic_strategy: PanicStrategy::Abort,
|
||||||
unsupported_abis: super::arm_base::unsupported_abis(),
|
unsupported_abis: super::arm_base::unsupported_abis(),
|
||||||
|
|
|
@ -16,7 +16,6 @@ pub fn target(target_cpu: String) -> Target {
|
||||||
|
|
||||||
linker: Some("avr-gcc".to_owned()),
|
linker: Some("avr-gcc".to_owned()),
|
||||||
executables: true,
|
executables: true,
|
||||||
linker_is_gnu: true,
|
|
||||||
eh_frame_header: false,
|
eh_frame_header: false,
|
||||||
pre_link_args: vec![(LinkerFlavor::Gcc, vec![format!("-mmcu={}", target_cpu)])]
|
pre_link_args: vec![(LinkerFlavor::Gcc, vec![format!("-mmcu={}", target_cpu)])]
|
||||||
.into_iter()
|
.into_iter()
|
||||||
|
|
|
@ -6,7 +6,6 @@ pub fn opts() -> TargetOptions {
|
||||||
dynamic_linking: true,
|
dynamic_linking: true,
|
||||||
executables: true,
|
executables: true,
|
||||||
families: vec!["unix".to_string()],
|
families: vec!["unix".to_string()],
|
||||||
linker_is_gnu: true,
|
|
||||||
has_rpath: true,
|
has_rpath: true,
|
||||||
position_independent_executables: true,
|
position_independent_executables: true,
|
||||||
relro_level: RelroLevel::Full,
|
relro_level: RelroLevel::Full,
|
||||||
|
|
|
@ -6,7 +6,6 @@ pub fn opts() -> TargetOptions {
|
||||||
dynamic_linking: true,
|
dynamic_linking: true,
|
||||||
executables: true,
|
executables: true,
|
||||||
families: vec!["unix".to_string()],
|
families: vec!["unix".to_string()],
|
||||||
linker_is_gnu: true,
|
|
||||||
has_rpath: true,
|
has_rpath: true,
|
||||||
position_independent_executables: true,
|
position_independent_executables: true,
|
||||||
eliminate_frame_pointer: false, // FIXME 43575
|
eliminate_frame_pointer: false, // FIXME 43575
|
||||||
|
|
|
@ -27,7 +27,6 @@ pub fn opts() -> TargetOptions {
|
||||||
executables: true,
|
executables: true,
|
||||||
families: vec!["unix".to_string()],
|
families: vec!["unix".to_string()],
|
||||||
is_like_fuchsia: true,
|
is_like_fuchsia: true,
|
||||||
linker_is_gnu: true,
|
|
||||||
pre_link_args,
|
pre_link_args,
|
||||||
pre_link_objects: crt_objects::new(&[
|
pre_link_objects: crt_objects::new(&[
|
||||||
(LinkOutputKind::DynamicNoPicExe, &["Scrt1.o"]),
|
(LinkOutputKind::DynamicNoPicExe, &["Scrt1.o"]),
|
||||||
|
|
|
@ -7,7 +7,6 @@ pub fn opts() -> TargetOptions {
|
||||||
executables: true,
|
executables: true,
|
||||||
families: vec!["unix".to_string()],
|
families: vec!["unix".to_string()],
|
||||||
relro_level: RelroLevel::Full,
|
relro_level: RelroLevel::Full,
|
||||||
linker_is_gnu: true,
|
|
||||||
..Default::default()
|
..Default::default()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,7 +13,6 @@ pub fn opts() -> TargetOptions {
|
||||||
linker: Some("rust-lld".to_owned()),
|
linker: Some("rust-lld".to_owned()),
|
||||||
executables: true,
|
executables: true,
|
||||||
has_elf_tls: true,
|
has_elf_tls: true,
|
||||||
linker_is_gnu: true,
|
|
||||||
pre_link_args,
|
pre_link_args,
|
||||||
panic_strategy: PanicStrategy::Abort,
|
panic_strategy: PanicStrategy::Abort,
|
||||||
position_independent_executables: true,
|
position_independent_executables: true,
|
||||||
|
|
|
@ -14,7 +14,6 @@ pub fn opts() -> TargetOptions {
|
||||||
linker: Some("rust-lld".to_owned()),
|
linker: Some("rust-lld".to_owned()),
|
||||||
executables: true,
|
executables: true,
|
||||||
has_elf_tls: true,
|
has_elf_tls: true,
|
||||||
linker_is_gnu: true,
|
|
||||||
pre_link_args,
|
pre_link_args,
|
||||||
panic_strategy: PanicStrategy::Abort,
|
panic_strategy: PanicStrategy::Abort,
|
||||||
position_independent_executables: true,
|
position_independent_executables: true,
|
||||||
|
|
|
@ -6,7 +6,6 @@ pub fn opts() -> TargetOptions {
|
||||||
dynamic_linking: true,
|
dynamic_linking: true,
|
||||||
executables: true,
|
executables: true,
|
||||||
families: vec!["unix".to_string()],
|
families: vec!["unix".to_string()],
|
||||||
linker_is_gnu: true,
|
|
||||||
has_rpath: true,
|
has_rpath: true,
|
||||||
position_independent_executables: true,
|
position_independent_executables: true,
|
||||||
relro_level: RelroLevel::Full,
|
relro_level: RelroLevel::Full,
|
||||||
|
|
|
@ -8,7 +8,6 @@ pub fn opts() -> TargetOptions {
|
||||||
// don't use probe-stack=inline-asm until rust#83139 and rust#84667 are resolved
|
// don't use probe-stack=inline-asm until rust#83139 and rust#84667 are resolved
|
||||||
stack_probes: StackProbeType::Call,
|
stack_probes: StackProbeType::Call,
|
||||||
eliminate_frame_pointer: false,
|
eliminate_frame_pointer: false,
|
||||||
linker_is_gnu: true,
|
|
||||||
position_independent_executables: true,
|
position_independent_executables: true,
|
||||||
needs_plt: true,
|
needs_plt: true,
|
||||||
relro_level: RelroLevel::Full,
|
relro_level: RelroLevel::Full,
|
||||||
|
|
|
@ -21,7 +21,6 @@ pub fn target() -> Target {
|
||||||
cpu: "mips2".to_string(),
|
cpu: "mips2".to_string(),
|
||||||
executables: true,
|
executables: true,
|
||||||
linker: Some("rust-lld".to_owned()),
|
linker: Some("rust-lld".to_owned()),
|
||||||
linker_is_gnu: true,
|
|
||||||
relocation_model: RelocModel::Static,
|
relocation_model: RelocModel::Static,
|
||||||
|
|
||||||
// PSP FPU only supports single precision floats.
|
// PSP FPU only supports single precision floats.
|
||||||
|
|
|
@ -6,7 +6,6 @@ pub fn opts() -> TargetOptions {
|
||||||
dynamic_linking: true,
|
dynamic_linking: true,
|
||||||
executables: true,
|
executables: true,
|
||||||
families: vec!["unix".to_string()],
|
families: vec!["unix".to_string()],
|
||||||
linker_is_gnu: true,
|
|
||||||
no_default_libraries: false,
|
no_default_libraries: false,
|
||||||
has_rpath: true,
|
has_rpath: true,
|
||||||
position_independent_executables: true,
|
position_independent_executables: true,
|
||||||
|
|
|
@ -6,7 +6,6 @@ pub fn opts() -> TargetOptions {
|
||||||
dynamic_linking: true,
|
dynamic_linking: true,
|
||||||
executables: true,
|
executables: true,
|
||||||
families: vec!["unix".to_string()],
|
families: vec!["unix".to_string()],
|
||||||
linker_is_gnu: true,
|
|
||||||
has_rpath: true,
|
has_rpath: true,
|
||||||
abi_return_struct_as_int: true,
|
abi_return_struct_as_int: true,
|
||||||
position_independent_executables: true,
|
position_independent_executables: true,
|
||||||
|
|
|
@ -7,7 +7,6 @@ pub fn opts() -> TargetOptions {
|
||||||
dynamic_linking: true,
|
dynamic_linking: true,
|
||||||
executables: true,
|
executables: true,
|
||||||
families: vec!["unix".to_string()],
|
families: vec!["unix".to_string()],
|
||||||
linker_is_gnu: true,
|
|
||||||
has_rpath: true,
|
has_rpath: true,
|
||||||
position_independent_executables: true,
|
position_independent_executables: true,
|
||||||
relro_level: RelroLevel::Full,
|
relro_level: RelroLevel::Full,
|
||||||
|
|
|
@ -28,7 +28,6 @@ pub fn target() -> Target {
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
linker_flavor: LinkerFlavor::Ld,
|
linker_flavor: LinkerFlavor::Ld,
|
||||||
linker: Some("arm-none-eabi-ld".to_string()),
|
linker: Some("arm-none-eabi-ld".to_string()),
|
||||||
linker_is_gnu: true,
|
|
||||||
|
|
||||||
// extra args passed to the external assembler (assuming `arm-none-eabi-as`):
|
// extra args passed to the external assembler (assuming `arm-none-eabi-as`):
|
||||||
// * activate t32/a32 interworking
|
// * activate t32/a32 interworking
|
||||||
|
|
|
@ -10,7 +10,6 @@ pub fn opts() -> TargetOptions {
|
||||||
dynamic_linking: true,
|
dynamic_linking: true,
|
||||||
executables: true,
|
executables: true,
|
||||||
families: vec!["unix".to_string()],
|
families: vec!["unix".to_string()],
|
||||||
linker_is_gnu: true,
|
|
||||||
has_rpath: true,
|
has_rpath: true,
|
||||||
has_elf_tls: true,
|
has_elf_tls: true,
|
||||||
crt_static_default: true,
|
crt_static_default: true,
|
||||||
|
|
|
@ -34,7 +34,6 @@ pub fn target() -> Target {
|
||||||
// functionality, and a .wasm file.
|
// functionality, and a .wasm file.
|
||||||
exe_suffix: ".js".to_string(),
|
exe_suffix: ".js".to_string(),
|
||||||
linker: None,
|
linker: None,
|
||||||
linker_is_gnu: true,
|
|
||||||
is_like_emscripten: true,
|
is_like_emscripten: true,
|
||||||
panic_strategy: PanicStrategy::Unwind,
|
panic_strategy: PanicStrategy::Unwind,
|
||||||
post_link_args,
|
post_link_args,
|
||||||
|
|
|
@ -66,7 +66,6 @@ pub fn opts() -> TargetOptions {
|
||||||
// FIXME(#13846) this should be enabled for windows
|
// FIXME(#13846) this should be enabled for windows
|
||||||
function_sections: false,
|
function_sections: false,
|
||||||
linker: Some("gcc".to_string()),
|
linker: Some("gcc".to_string()),
|
||||||
linker_is_gnu: true,
|
|
||||||
dynamic_linking: true,
|
dynamic_linking: true,
|
||||||
executables: true,
|
executables: true,
|
||||||
dll_prefix: String::new(),
|
dll_prefix: String::new(),
|
||||||
|
|
|
@ -57,7 +57,6 @@ pub fn target() -> Target {
|
||||||
vendor: "fortanix".into(),
|
vendor: "fortanix".into(),
|
||||||
linker_flavor: LinkerFlavor::Lld(LldFlavor::Ld),
|
linker_flavor: LinkerFlavor::Lld(LldFlavor::Ld),
|
||||||
executables: true,
|
executables: true,
|
||||||
linker_is_gnu: true,
|
|
||||||
linker: Some("rust-lld".to_owned()),
|
linker: Some("rust-lld".to_owned()),
|
||||||
max_atomic_width: Some(64),
|
max_atomic_width: Some(64),
|
||||||
cpu: "x86-64".into(),
|
cpu: "x86-64".into(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue