Last change
on this file since 352 was 352, checked in by coas-nagasima, 6 years ago |
arm向けASP3版ECNLを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-chdr;charset=UTF-8
|
File size:
449 bytes
|
Rev | Line | |
---|
[352] | 1 | #define main sta_ker
|
---|
| 2 | __asm__(
|
---|
| 3 | ".text \n"
|
---|
| 4 | ".align 4 \n"
|
---|
| 5 | "cmdline: \n"
|
---|
| 6 | ".string \"" START "\" \n"
|
---|
| 7 | "envline: \n"
|
---|
| 8 | ".string \"TZ=JST-9\" \n"
|
---|
| 9 | ".align 4 \n"
|
---|
| 10 | "_args: \n"
|
---|
| 11 | ".long 1 \n"
|
---|
| 12 | ".long cmdline \n"
|
---|
| 13 | ".long 0 \n"
|
---|
| 14 | ".long envline \n"
|
---|
| 15 | ".long 0 \n"
|
---|
| 16 | ".global " START " \n"
|
---|
| 17 | ".type " START ",%function \n"
|
---|
| 18 | ".align 4 \n"
|
---|
| 19 | START ": \n"
|
---|
| 20 | "2: ldr r0, =_args \n"
|
---|
| 21 | " bl " START "_c \n"
|
---|
| 22 | ".weak _DYNAMIC \n"
|
---|
| 23 | ".hidden _DYNAMIC \n"
|
---|
| 24 | ".align 2 \n"
|
---|
| 25 | "1: .word _DYNAMIC-2b \n"
|
---|
| 26 | );
|
---|
Note:
See
TracBrowser
for help on using the repository browser.