Fri Jan 25 13:18:24 CET 2013

Loadable modules in Pd

To work around limitations of libld, the main_bin.c together with
rai.ld  defines a binary format used for dynamic loading of code.  The
rai code itself does not have any undefined references, so a simple
mechanism is possible.  See [1] for some more info.

This required mprotect() to enable code execution, which required
page-algined memory allocated with posix_memalign().

[1] entry://../c/20130124-232227