repo.or.cz
/
darwin-xtools.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
134-9
[darwin-xtools.git]
/
ld64
/
unit-tests
/
test-cases
/
tlv-dylib
/
foo.s
blob
fd2f23d2fdf4342d2b90ec4a3b0847f09f146371
1
2
//
_foo is an exported thread local variable
3
//
_bar is an exported regular variable
4
5
# _a is zerofill global TLV
6
.tbss _a$tlv$init,4,2
7
8
#if __x86_64__
9
.tlv
10
.globl _foo
11
_foo
:
.quad __tlv_bootstrap
12
.quad 0
13
.quad _a$tlv$init
14
15
16
#endif
17
18
#if __i386__
19
.tlv
20
.globl _foo
21
_foo
:
.long __tlv_bootstrap
22
.long 0
23
.long _a$tlv$init
24
#endif
25
26
27
.data
28
.globl _bar
29
_bar
:
.long 0
30
31
32
33
.subsections_via_symbols