Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/sys/sysnec810/crt0.S')
-rw-r--r--newlib/libc/sys/sysnec810/crt0.S22
1 files changed, 0 insertions, 22 deletions
diff --git a/newlib/libc/sys/sysnec810/crt0.S b/newlib/libc/sys/sysnec810/crt0.S
deleted file mode 100644
index 3c7a382ff..000000000
--- a/newlib/libc/sys/sysnec810/crt0.S
+++ /dev/null
@@ -1,22 +0,0 @@
- .set STACKTOP, 0x100000
-
- .extern __tp_TEXT, 4
- .extern __gp_DATA, 4
- .extern _main
- .globl __start
- .globl _exit
- .globl __exit
-
- .text
-__start:
- mov 2, r10 -- set Cache Control Word
- ldsr r10, 24 --
-#
- mov STACKTOP, sp -- set stack pointer
- mov #__tp_TEXT, tp -- set tp register
- mov #__gp_DATA, gp -- set gp register offset
- add tp, gp -- set gp register
- jal _main -- call main function
-__exit:
- halt -- end of the program
-