]> git.saurik.com Git - apple/ld64.git/blob - unit-tests/test-cases/branch-distance/foo.s
ld64-409.12.tar.gz
[apple/ld64.git] / unit-tests / test-cases / branch-distance / foo.s
1
2
3 .text
4 .align 4
5
6 #if __thumb__
7 .thumb_func _foo
8 .code 16
9 #endif
10 .globl _foo
11 _foo:
12 nop
13 #if __arm__
14 bl _bar
15 blx _bar
16 // b _bar
17
18 .align 4
19 _space1:
20
21 #if __thumb2__
22 .space 16*1024*1024 -100
23 #elif __thumb__
24 .space 4*1024*1024 -100
25 #else
26 .space 16*1024*1024 -100
27 #endif
28
29 #endif // __arm__
30
31
32
33 .subsections_via_symbols
34