]> oss.titaniummirror.com Git - msp430-libc.git/blobdiff - src/stdlib/__jump_to_main.S
Imported msp430-libc-20100207
[msp430-libc.git] / src / stdlib / __jump_to_main.S
diff --git a/src/stdlib/__jump_to_main.S b/src/stdlib/__jump_to_main.S
new file mode 100644 (file)
index 0000000..2f05d9a
--- /dev/null
@@ -0,0 +1,14 @@
+#include    "../core_common.inc"
+/*****************************************************************
+ * jump to main.
+ * can be overwriten by user function with the same name
+ *****************************************************************/
+        .section .init9, "ax", @progbits
+
+        .weak   __jump_to_main
+        .func   __jump_to_main
+
+__jump_to_main:
+        XBR      #main
+
+        .endfunc