There is now support in ARM Compiler 5.04 for building applications for execute-only memory.
http://infocenter.arm.com/help/topic/com.arm.doc.dui0471j/chr1368698593511.html
This is available when building for Cortex-M3 or Cortex-M4.