]> git.saurik.com Git - apple/ld64.git/blame - unit-tests/test-cases/large-bss/test.s
ld64-123.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / large-bss / test.s
CommitLineData
a645023d
A
1
2#if __x86_64__
3
4
5.lcomm _mediumarray1,4000,5
6.lcomm _bigarray1,2000000000,5
7.lcomm _bigarray2,2000000000,5
8.lcomm _bigarray3,2000000000,5
9.lcomm _small1,4,2
10.lcomm _small2,4,2
11.lcomm _small3,4,2
12
13
14 .text
15.globl _test
16_test:
17 pushq %rbp
18 movq %rsp, %rbp
19 movq _bigarray1@GOTPCREL(%rip), %rax
20 movq _bigarray2@GOTPCREL(%rip), %rax
21 movq _bigarray3@GOTPCREL(%rip), %rax
22 leaq _small1(%rip),%rax
23 leaq _small2(%rip),%rax
24 leaq _small3(%rip),%rax
25 leaq _mediumarray1(%rip),%rax
26 leave
27 ret
28
29
30#endif
31
32
33