Commit a preview of osx386 and osxppc as new platforms.
authorGeorge Koehler <xkernigh@netscape.net>
Sun, 2 Oct 2016 18:58:05 +0000 (14:58 -0400)
committerGeorge Koehler <xkernigh@netscape.net>
Sun, 2 Oct 2016 18:58:05 +0000 (14:58 -0400)
commit02fb48021773ae40a9781a45649ded39d02d1089
tree517fbd06e255b8ffa07755cb7d3f95da6f70e6c3
parent9017ba9deacfdfa6863416e83f1a418300bbd0e2
Commit a preview of osx386 and osxppc as new platforms.

These produce Mach-o executables for Mac OS X on Intel or PowerPC
processors.  Our code generator for PowerPC (mach/powerpc) still has
bugs.  Some examples seem to run, but startrek crashes.  Our code
generator for Intel (mach/i386) is better.

There is a problem with job control.  If you run paranoia or startrek,
then suspend the job (^Z) and resume it ('fg' in bash), then read(2)
might fail with EINTR.

The larger files in this commit are
 - plat/osx/cvmach/cvmach.c
 - plat/osx/libsys/brk.c
 - plat/osx386/libsys/sigaction.s
 - plat/osxppc/libsys/sigaction.s
51 files changed:
build.lua
plat/osx/cvmach/build.lua [new file with mode: 0644]
plat/osx/cvmach/cvmach.c [new file with mode: 0644]
plat/osx/include/ack/config.h [new file with mode: 0644]
plat/osx/include/sys/mman.h [new file with mode: 0644]
plat/osx/include/sys/types.h [new file with mode: 0644]
plat/osx/include/unistd.h [new file with mode: 0644]
plat/osx/libsys/brk.c [new file with mode: 0644]
plat/osx/libsys/creat.c [new file with mode: 0644]
plat/osx/libsys/isatty.c [new file with mode: 0644]
plat/osx/libsys/signal.c [new file with mode: 0644]
plat/osx386/boot.s [new file with mode: 0644]
plat/osx386/build-pkg.lua [new file with mode: 0644]
plat/osx386/build-tools.lua [new file with mode: 0644]
plat/osx386/descr [new file with mode: 0644]
plat/osx386/include/build.lua [new file with mode: 0644]
plat/osx386/libsys/_exit.s [new file with mode: 0644]
plat/osx386/libsys/build.lua [new file with mode: 0644]
plat/osx386/libsys/close.s [new file with mode: 0644]
plat/osx386/libsys/getpid.s [new file with mode: 0644]
plat/osx386/libsys/gettimeofday.s [new file with mode: 0644]
plat/osx386/libsys/ioctl.s [new file with mode: 0644]
plat/osx386/libsys/kill.s [new file with mode: 0644]
plat/osx386/libsys/lseek.s [new file with mode: 0644]
plat/osx386/libsys/mmap.s [new file with mode: 0644]
plat/osx386/libsys/mprotect.s [new file with mode: 0644]
plat/osx386/libsys/open.s [new file with mode: 0644]
plat/osx386/libsys/read.s [new file with mode: 0644]
plat/osx386/libsys/set_errno.s [new file with mode: 0644]
plat/osx386/libsys/sigaction.s [new file with mode: 0644]
plat/osx386/libsys/write.s [new file with mode: 0644]
plat/osxppc/boot.s [new file with mode: 0644]
plat/osxppc/build-pkg.lua [new file with mode: 0644]
plat/osxppc/build-tools.lua [new file with mode: 0644]
plat/osxppc/descr [new file with mode: 0644]
plat/osxppc/include/build.lua [new file with mode: 0644]
plat/osxppc/libsys/_exit.s [new file with mode: 0644]
plat/osxppc/libsys/build.lua [new file with mode: 0644]
plat/osxppc/libsys/close.s [new file with mode: 0644]
plat/osxppc/libsys/getpid.s [new file with mode: 0644]
plat/osxppc/libsys/gettimeofday.s [new file with mode: 0644]
plat/osxppc/libsys/ioctl.s [new file with mode: 0644]
plat/osxppc/libsys/kill.s [new file with mode: 0644]
plat/osxppc/libsys/lseek.s [new file with mode: 0644]
plat/osxppc/libsys/mmap.s [new file with mode: 0644]
plat/osxppc/libsys/mprotect.s [new file with mode: 0644]
plat/osxppc/libsys/open.s [new file with mode: 0644]
plat/osxppc/libsys/read.s [new file with mode: 0644]
plat/osxppc/libsys/set_errno.s [new file with mode: 0644]
plat/osxppc/libsys/sigaction.s [new file with mode: 0644]
plat/osxppc/libsys/write.s [new file with mode: 0644]