Change related spec files to use the new enum
This commit is contained in:
parent
fa4d8bc878
commit
8ee804dc2b
25 changed files with 50 additions and 37 deletions
|
@ -1,3 +1,4 @@
|
|||
use crate::abi::Endian;
|
||||
use crate::spec::{LinkerFlavor, Target, TargetOptions};
|
||||
|
||||
pub fn target() -> Target {
|
||||
|
@ -10,6 +11,6 @@ pub fn target() -> Target {
|
|||
pointer_width: 32,
|
||||
data_layout: "E-m:e-p:32:32-i64:64-n32".to_string(),
|
||||
arch: "powerpc".to_string(),
|
||||
options: TargetOptions { endian: "big".to_string(), mcount: "_mcount".to_string(), ..base },
|
||||
options: TargetOptions { endian: Endian::Big, mcount: "_mcount".to_string(), ..base },
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue