This is a short series of patches to support non-ELF targets in the jit tests where these use target-specific capabilities (e.g. alias support, or scanning for assembler directives.)
An alternative would be to skip these tests for Darwin. Tested on x86_64 Darwin, and about to test Linux, OK for trunk if testing is also sucessful on Linux? thanks Iain