PowerPC
The PowerPC port is complete, although less supported than other architectures.
It works on macOS, Linux, IBM AIX, IBM i, Nintendo Wii and Sony PlayStation 3.
The port owner is Bernhard Urban.
Documentation
PowerPC architecture
-
PowerPC Programming environments manual, (errata document).
-
G4 (7410) User’s manual, (errata document).
A nice introduction to PowerPC assembly language at http://www.ibm.com/developerworks/linux/library/l-ppc/
Calling conventions
- On macOS, the conventions are documented in the Mach-O Runtime Architecture.
- On AIX and i, the conventions are documented in the AIX assembler language reference.
Linux
- Linux on PPC32 uses the The PowerPC SystemV ABI specification.
- On 64-bit PowerPC, there are two calling conventions. One is the ELF v1 ABI used on almost all big-endian systems, which are similar to AIX and use function descriptors.
- The other 64-bit PowerPC calling convention is the ELF v2 ABI, used by little-endian systems and a few big-endian systems. This ABI has no function desxcriptors and is closer to the PPC32 ABI.