Remove .ret from libem and inline the code.
authorGeorge Koehler <xkernigh@netscape.net>
Fri, 17 Feb 2017 02:18:39 +0000 (21:18 -0500)
committerGeorge Koehler <xkernigh@netscape.net>
Fri, 17 Feb 2017 02:18:39 +0000 (21:18 -0500)
commit736c45453c173f48229293f8a431628864019b0c
tree2d725d068038d9b5ae4e8a9d2a670d9a99d32781
parente6df553ebf6280e0821c32077bf02c6651c4ab46
Remove .ret from libem and inline the code.

This removes a wrong-way dependency of libsys on libem.  The C
functions in libsys called .ret, but libsys is after libem in the
linker arguments, so the linker didn't find .ret unless something else
had called .ret.  Almost everything called .ret, but I got a linker
error when I wrote an assembly program using the EM runtime, because
my assembly program didn't call .ret.

Add a dummy comment to build.lua, so git checkout touches that file,
the build system reconfigures itself, and the *.s glob sees that ret.s
has gone.
mach/powerpc/libem/build.lua
mach/powerpc/libem/ret.s [deleted file]
mach/powerpc/ncg/table