]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/crt-custom/mystart.s
dyld-97.1.tar.gz
[apple/dyld.git] / unit-tests / test-cases / crt-custom / mystart.s
1
2
3
4 .text
5 .globl _mystart
6 _mystart:
7 #if __i386__
8 movl $2, _flag
9 jmp start
10 #elif __x86_64__
11 movl $2, _flag(%rip)
12 jmp start
13 #elif __ppc__ || __ppc64__
14 li r0,2
15 lis r2,ha16(_flag)
16 stw r0,lo16(_flag)(r2)
17 b start
18 #endif
19
20