Function plan9Ext [src]
0c spim little-endian MIPS 3000 family
1c 68000 Motorola MC68000
2c 68020 Motorola MC68020
5c arm little-endian ARM
6c amd64 AMD64 and compatibles (e.g., Intel EM64T)
7c arm64 ARM64 (ARMv8)
8c 386 Intel x86, i486, Pentium, etc.
kc sparc Sun SPARC
qc power Power PC
vc mips big-endian MIPS 3000 family
Prototype
pub fn plan9Ext(arch: Cpu.Arch) [:0]const u8
Parameters
arch: Cpu.Arch
Source
pub fn plan9Ext(arch: Cpu.Arch) [:0]const u8 {
return switch (arch) {
.arm => ".5",
.x86_64 => ".6",
.aarch64 => ".7",
.x86 => ".8",
.sparc => ".k",
.powerpc, .powerpcle => ".q",
.mips, .mipsel => ".v",
// ISAs without designated characters get 'X' for lack of a better option.
else => ".X",
};
}