]> git.saurik.com Git - apple/ld64.git/blob - unit-tests/test-cases/label-on-end-of-section-order/foo.s
ld64-241.9.tar.gz
[apple/ld64.git] / unit-tests / test-cases / label-on-end-of-section-order / foo.s
1 .lcomm _mybss ,4, 2
2
3 .text
4 .align 4
5 .globl _main
6 _main:
7 #if __x86_64__
8 movl $0, _mybss(%rip)
9 #elif __i386__
10 movl $0, _mybss
11 #elif __arm__
12 .long _mybss
13 #endif
14
15 .section __DATA, _stuff
16 .align 4
17 _start_stuff:
18 .long 0x0
19 .long 0x0
20 _end_stuff:
21
22
23 .subsections_via_symbols
24