--- /dev/null
+/*****************************************************************
+ * return from main.
+ * can be overwriten by user function with the same name
+ *****************************************************************/
+ .section .fini9, "ax", @progbits
+
+ .weak __stop_progExec__
+ .func __stop_progExec__
+
+__stop_progExec__:
+
+ .endfunc
+
+/*****************************************************************
+ * endless loop
+ * can be overwriten by user together with __stop_progExec__
+ * this function always linked together with __stop_progExec__,
+ * because both are located in single source file.
+ *****************************************************************/
+ .section .fini0, "ax", @progbits
+
+ .func _endless_loop__
+_endless_loop__:
+ jmp _endless_loop__
+
+ .endfunc