mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 21:49:33 +00:00
16 lines
217 B
ArmAsm
16 lines
217 B
ArmAsm
|
.text
|
||
|
.globl _start
|
||
|
_start:
|
||
|
.byte 0x66
|
||
|
leaq foo@TLSGD(%rip), %rdi
|
||
|
.word 0x6666
|
||
|
rex64
|
||
|
call __tls_get_addr
|
||
|
.globl foo
|
||
|
.section .tdata,"awT",@progbits
|
||
|
.align 4
|
||
|
.type foo, @object
|
||
|
.size foo, 4
|
||
|
foo:
|
||
|
.long 100
|