diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2018-01-03 17:39:24 -0700 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2018-01-03 17:39:24 -0700 |
commit | a6c1ed4716cf02626ea035beb6dd4a921642ba80 (patch) | |
tree | ef582c1b52819e27bdd16097ec03b69799d04ede /newlib/libc/sys/h8300hms/crt0.S | |
parent | f6c9a624fa8a6878a7fb2b02f55e4990a20feb59 (diff) |
Use libc from agbcc instead of standalone newlib\nYou must have AGBCC commit 80d029caec189587f8b9294b6c8a5a489b8f5f88 in order to compile pmd_red.gbalibc
Diffstat (limited to 'newlib/libc/sys/h8300hms/crt0.S')
-rw-r--r-- | newlib/libc/sys/h8300hms/crt0.S | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/newlib/libc/sys/h8300hms/crt0.S b/newlib/libc/sys/h8300hms/crt0.S deleted file mode 100644 index 94a4e29..0000000 --- a/newlib/libc/sys/h8300hms/crt0.S +++ /dev/null @@ -1,69 +0,0 @@ -; h8/300 and h8/300h start up file. - -#ifdef __H8300__ - - .section .text - .global _start -_start: - mov.w #_stack,sp - mov.w #_edata,r0 - mov.w #_end,r1 - mov.w #0,r2 -.loop: mov.w r2,@r0 - adds #2,r0 - cmp r1,r0 - blo .loop - jsr @___main - jsr @_main - jsr @_exit - - .section .stack -_stack: .word 1 - -#endif - -#ifdef __H8300H__ - - .h8300h - .section .text - .global _start -_start: - mov.l #_stack,sp - mov.l #_edata,er0 - mov.l #_end,er1 - mov.w #0,r2 ; not sure about alignment requirements -.loop: mov.w r2,@er0 ; playing it safe for now - adds #2,er0 - cmp.l er1,er0 - blo .loop - jsr @___main - jsr @_main - jsr @_exit - - .section .stack -_stack: .long 1 - -#endif - -#ifdef __H8300S__ - - .h8300s - .section .text - .global _start -_start: - mov.l #_stack,sp - mov.l #_edata,er0 - mov.l #_end,er1 - mov.w #0,r2 ; not sure about alignment requirements -.loop: mov.w r2,@er0 ; playing it safe for now - adds #2,er0 - cmp.l er1,er0 - blo .loop - jsr @___main - jsr @_main - jsr @_exit - - .section .stack -_stack: .long 1 - -#endif |