42 lines
1.3 KiB
Diff
42 lines
1.3 KiB
Diff
--- a/target-lexicon/src/targets.rs
|
|
+++ b/target-lexicon/src/targets.rs
|
|
@@ -29,6 +29,7 @@
|
|
Msp430,
|
|
Nvptx64,
|
|
Powerpc,
|
|
+ PowerpcLe,
|
|
Powerpc64,
|
|
Powerpc64le,
|
|
Riscv32(Riscv32Architecture),
|
|
@@ -533,6 +534,7 @@
|
|
| Mips64(Mips64Architecture::Mipsisa64r6el)
|
|
| Msp430
|
|
| Nvptx64
|
|
+ | PowerpcLe
|
|
| Powerpc64le
|
|
| Riscv32(_)
|
|
| Riscv64(_)
|
|
@@ -574,6 +576,7 @@
|
|
| M68k
|
|
| Mips32(_)
|
|
| Powerpc
|
|
+ | PowerpcLe
|
|
| XTensa => Ok(PointerWidth::U32),
|
|
AmdGcn
|
|
| Bpfeb
|
|
@@ -763,6 +766,7 @@
|
|
Msp430 => f.write_str("msp430"),
|
|
Nvptx64 => f.write_str("nvptx64"),
|
|
Powerpc => f.write_str("powerpc"),
|
|
+ PowerpcLe => f.write_str("powerpcle"),
|
|
Powerpc64 => f.write_str("powerpc64"),
|
|
Powerpc64le => f.write_str("powerpc64le"),
|
|
Riscv32(riscv32) => riscv32.fmt(f),
|
|
@@ -943,6 +947,7 @@
|
|
"msp430" => Msp430,
|
|
"nvptx64" => Nvptx64,
|
|
"powerpc" => Powerpc,
|
|
+ "powerpcle" => PowerpcLe,
|
|
"powerpc64" => Powerpc64,
|
|
"powerpc64le" => Powerpc64le,
|
|
"s390x" => S390x,
|