]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_target/spec/powerpc64_unknown_linux_gnu.rs
Auto merge of #68414 - michaelwoerister:share-drop-glue, r=alexcrichton
[rust.git] / src / librustc_target / spec / powerpc64_unknown_linux_gnu.rs
index c16db7583f32bb14fe4c6dc98e2af6a4b6fdb202..5306d905c5d7bc92ea08e8e3f2fa141ba642d130 100644 (file)
@@ -1,4 +1,4 @@
-use crate::spec::{LinkerFlavor, Target, TargetResult, RelroLevel};
+use crate::spec::{LinkerFlavor, RelroLevel, Target, TargetOptions, TargetResult};
 
 pub fn target() -> TargetResult {
     let mut base = super::linux_base::opts();
@@ -21,6 +21,6 @@ pub fn target() -> TargetResult {
         target_env: "gnu".to_string(),
         target_vendor: "unknown".to_string(),
         linker_flavor: LinkerFlavor::Gcc,
-        options: base,
+        options: TargetOptions { target_mcount: "_mcount".to_string(), ..base },
     })
 }