Russ, Here's the updated patch. I made the elfdotout function more general so that it could handle cracking ELF headers for any architecture and added in support for POWER and MIPS (since ql and vl both generate ELF32 for -H5). This works with ql and vl emitted ELFs. The section search could be stricter (ie. right now the data section can have the X bit set), but the ql elf code spits out data with RWX.