diff options
Diffstat (limited to 'gcc/config/mxp/demo/mxp-start.S')
-rw-r--r-- | gcc/config/mxp/demo/mxp-start.S | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gcc/config/mxp/demo/mxp-start.S b/gcc/config/mxp/demo/mxp-start.S new file mode 100644 index 00000000000..f2f3a5d9679 --- /dev/null +++ b/gcc/config/mxp/demo/mxp-start.S @@ -0,0 +1,13 @@ +/* Load a single overlay at program startup. */ + .text +load_overlay: +#include DMA_S +#if 0 + vrec SCM_START; start recording overlay +#else + mov_s r12, SCM_START + vrec r12; start recording overlay +#endif + .section .ctors,"aw",@progbits + .align 4 + .word load_overlay |