Use `u{1}` instead of `01`
This commit is contained in:
parent
aec518addd
commit
7b26a43ae5
|
@ -17,7 +17,7 @@ pub fn target() -> TargetResult {
|
||||||
linker_flavor: LinkerFlavor::Gcc,
|
linker_flavor: LinkerFlavor::Gcc,
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
abi_blacklist: super::arm_base::abi_blacklist(),
|
abi_blacklist: super::arm_base::abi_blacklist(),
|
||||||
target_mcount: "\01_mcount".to_string(),
|
target_mcount: "\u{1}_mcount".to_string(),
|
||||||
.. base
|
.. base
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -17,7 +17,7 @@ pub fn target() -> TargetResult {
|
||||||
linker_flavor: LinkerFlavor::Gcc,
|
linker_flavor: LinkerFlavor::Gcc,
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
abi_blacklist: super::arm_base::abi_blacklist(),
|
abi_blacklist: super::arm_base::abi_blacklist(),
|
||||||
target_mcount: "\01_mcount".to_string(),
|
target_mcount: "\u{1}_mcount".to_string(),
|
||||||
.. base
|
.. base
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -18,7 +18,7 @@ pub fn target() -> TargetResult {
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
features: "+strict-align,+v6".to_string(),
|
features: "+strict-align,+v6".to_string(),
|
||||||
abi_blacklist: super::arm_base::abi_blacklist(),
|
abi_blacklist: super::arm_base::abi_blacklist(),
|
||||||
target_mcount: "\01__gnu_mcount_nc".to_string(),
|
target_mcount: "\u{1}__gnu_mcount_nc".to_string(),
|
||||||
.. base
|
.. base
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -18,7 +18,7 @@ pub fn target() -> TargetResult {
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
features: "+strict-align,+v6,+vfp2".to_string(),
|
features: "+strict-align,+v6,+vfp2".to_string(),
|
||||||
abi_blacklist: super::arm_base::abi_blacklist(),
|
abi_blacklist: super::arm_base::abi_blacklist(),
|
||||||
target_mcount: "\01__gnu_mcount_nc".to_string(),
|
target_mcount: "\u{1}__gnu_mcount_nc".to_string(),
|
||||||
.. base
|
.. base
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -23,7 +23,7 @@ pub fn target() -> TargetResult {
|
||||||
linker_flavor: LinkerFlavor::Gcc,
|
linker_flavor: LinkerFlavor::Gcc,
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
abi_blacklist: super::arm_base::abi_blacklist(),
|
abi_blacklist: super::arm_base::abi_blacklist(),
|
||||||
target_mcount: "\01mcount".to_string(),
|
target_mcount: "\u{1}mcount".to_string(),
|
||||||
.. base
|
.. base
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -23,7 +23,7 @@ pub fn target() -> TargetResult {
|
||||||
linker_flavor: LinkerFlavor::Gcc,
|
linker_flavor: LinkerFlavor::Gcc,
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
abi_blacklist: super::arm_base::abi_blacklist(),
|
abi_blacklist: super::arm_base::abi_blacklist(),
|
||||||
target_mcount: "\01mcount".to_string(),
|
target_mcount: "\u{1}mcount".to_string(),
|
||||||
.. base
|
.. base
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -19,7 +19,7 @@ pub fn target() -> TargetResult {
|
||||||
// Atomic operations provided by compiler-builtins
|
// Atomic operations provided by compiler-builtins
|
||||||
max_atomic_width: Some(32),
|
max_atomic_width: Some(32),
|
||||||
abi_blacklist: super::arm_base::abi_blacklist(),
|
abi_blacklist: super::arm_base::abi_blacklist(),
|
||||||
target_mcount: "\01__gnu_mcount_nc".to_string(),
|
target_mcount: "\u{1}__gnu_mcount_nc".to_string(),
|
||||||
.. base
|
.. base
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -19,7 +19,7 @@ pub fn target() -> TargetResult {
|
||||||
// Atomic operations provided by compiler-builtins
|
// Atomic operations provided by compiler-builtins
|
||||||
max_atomic_width: Some(32),
|
max_atomic_width: Some(32),
|
||||||
abi_blacklist: super::arm_base::abi_blacklist(),
|
abi_blacklist: super::arm_base::abi_blacklist(),
|
||||||
target_mcount: "\01__gnu_mcount_nc".to_string(),
|
target_mcount: "\u{1}__gnu_mcount_nc".to_string(),
|
||||||
.. base
|
.. base
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -22,7 +22,7 @@ pub fn target() -> TargetResult {
|
||||||
// Atomic operations provided by compiler-builtins
|
// Atomic operations provided by compiler-builtins
|
||||||
max_atomic_width: Some(32),
|
max_atomic_width: Some(32),
|
||||||
abi_blacklist: super::arm_base::abi_blacklist(),
|
abi_blacklist: super::arm_base::abi_blacklist(),
|
||||||
target_mcount: "\01mcount".to_string(),
|
target_mcount: "\u{1}mcount".to_string(),
|
||||||
.. base
|
.. base
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -18,7 +18,7 @@ pub fn target() -> TargetResult {
|
||||||
features: "+v6,+vfp2".to_string(),
|
features: "+v6,+vfp2".to_string(),
|
||||||
max_atomic_width: Some(64),
|
max_atomic_width: Some(64),
|
||||||
abi_blacklist: super::arm_base::abi_blacklist(),
|
abi_blacklist: super::arm_base::abi_blacklist(),
|
||||||
target_mcount: "\01__gnu_mcount_nc".to_string(),
|
target_mcount: "\u{1}__gnu_mcount_nc".to_string(),
|
||||||
.. base
|
.. base
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -20,7 +20,7 @@ pub fn target() -> TargetResult {
|
||||||
target_vendor: "unknown".to_string(),
|
target_vendor: "unknown".to_string(),
|
||||||
linker_flavor: LinkerFlavor::Gcc,
|
linker_flavor: LinkerFlavor::Gcc,
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
target_mcount: "\01mcount".to_string(),
|
target_mcount: "\u{1}mcount".to_string(),
|
||||||
.. base
|
.. base
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -18,7 +18,7 @@ pub fn target() -> TargetResult {
|
||||||
features: "+v7,+vfp3,+d16,+thumb2,-neon".to_string(),
|
features: "+v7,+vfp3,+d16,+thumb2,-neon".to_string(),
|
||||||
max_atomic_width: Some(64),
|
max_atomic_width: Some(64),
|
||||||
abi_blacklist: super::arm_base::abi_blacklist(),
|
abi_blacklist: super::arm_base::abi_blacklist(),
|
||||||
target_mcount: "\01__gnu_mcount_nc".to_string(),
|
target_mcount: "\u{1}__gnu_mcount_nc".to_string(),
|
||||||
.. base
|
.. base
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -23,7 +23,7 @@ pub fn target() -> TargetResult {
|
||||||
cpu: "generic".to_string(),
|
cpu: "generic".to_string(),
|
||||||
max_atomic_width: Some(64),
|
max_atomic_width: Some(64),
|
||||||
abi_blacklist: super::arm_base::abi_blacklist(),
|
abi_blacklist: super::arm_base::abi_blacklist(),
|
||||||
target_mcount: "\01__gnu_mcount_nc".to_string(),
|
target_mcount: "\u{1}__gnu_mcount_nc".to_string(),
|
||||||
.. base
|
.. base
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -26,7 +26,7 @@ pub fn target() -> TargetResult {
|
||||||
cpu: "generic".to_string(),
|
cpu: "generic".to_string(),
|
||||||
max_atomic_width: Some(64),
|
max_atomic_width: Some(64),
|
||||||
abi_blacklist: super::arm_base::abi_blacklist(),
|
abi_blacklist: super::arm_base::abi_blacklist(),
|
||||||
target_mcount: "\01mcount".to_string(),
|
target_mcount: "\u{1}mcount".to_string(),
|
||||||
.. base
|
.. base
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -20,7 +20,7 @@ pub fn target() -> TargetResult {
|
||||||
target_vendor: "apple".to_string(),
|
target_vendor: "apple".to_string(),
|
||||||
linker_flavor: LinkerFlavor::Gcc,
|
linker_flavor: LinkerFlavor::Gcc,
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
target_mcount: "\01mcount".to_string(),
|
target_mcount: "\u{1}mcount".to_string(),
|
||||||
.. base
|
.. base
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
|
@ -20,7 +20,7 @@ pub fn target() -> TargetResult {
|
||||||
target_vendor: "apple".to_string(),
|
target_vendor: "apple".to_string(),
|
||||||
linker_flavor: LinkerFlavor::Gcc,
|
linker_flavor: LinkerFlavor::Gcc,
|
||||||
options: TargetOptions {
|
options: TargetOptions {
|
||||||
target_mcount: "\01mcount".to_string(),
|
target_mcount: "\u{1}mcount".to_string(),
|
||||||
.. base
|
.. base
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue