Last change
on this file since 444 was 444, checked in by coas-nagasima, 4 years ago |
muslのソースコードを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-chdr;charset=UTF-8
|
File size:
324 bytes
|
Line | |
---|
1 | __asm__(
|
---|
2 | ".text \n"
|
---|
3 | ".global " START " \n"
|
---|
4 | ".type " START ",%function \n"
|
---|
5 | START ": \n"
|
---|
6 | " mov fp, #0 \n"
|
---|
7 | " mov lr, #0 \n"
|
---|
8 | " ldr a2, 1f \n"
|
---|
9 | " add a2, pc, a2 \n"
|
---|
10 | " mov a1, sp \n"
|
---|
11 | "2: and ip, a1, #-16 \n"
|
---|
12 | " mov sp, ip \n"
|
---|
13 | " bl " START "_c \n"
|
---|
14 | ".weak _DYNAMIC \n"
|
---|
15 | ".hidden _DYNAMIC \n"
|
---|
16 | ".align 2 \n"
|
---|
17 | "1: .word _DYNAMIC-2b \n"
|
---|
18 | );
|
---|
Note:
See
TracBrowser
for help on using the repository browser.