mirror of
https://github.com/golang/sys.git
synced 2026-02-09 04:06:04 +03:00
Add system call definitions for 32-bit PowerPC (ppc). These are expected to be used with gccgo, as gc does not have a suitable code generator. These definitions are largely copied from ppc64x, with some 32-bit specific wrappers copied from arm. The glibc definitions of epoll_event and sockaddr_un structures need to be overridden on ppc, similarly to some other architectures.