Skip to main content

Module abi

Module abi 

Source
Expand description

PowerPC64 ELFv2 ABI (Linux ppc64le).

§Calling Convention Summary

  • Integer arguments: r3–r10 (8 registers). Overflow args go on the stack.
  • Integer return value: r3.
  • Float arguments: f1–f13. Float return value: f1.
  • Caller-saved: r0, r3–r12, f0–f13, lr.
  • Callee-saved: r14–r31, f14–f31, cr2–cr4.
  • Stack pointer: r1 (must be 16-byte aligned at call sites).
  • TOC pointer: r2 (do not clobber).

Structs§

Ppc64Abi