mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-03 10:49:58 +00:00
16 lines
243 B
ArmAsm
16 lines
243 B
ArmAsm
|
.text
|
||
|
.globl _start
|
||
|
_start:
|
||
|
leal foo@TLSGD(,%ebx,1), %eax
|
||
|
call ___tls_get_addr
|
||
|
leal foo@TLSGD(%ebx), %eax
|
||
|
call ___tls_get_addr
|
||
|
nop
|
||
|
.globl foo
|
||
|
.section .tdata,"awT",@progbits
|
||
|
.align 4
|
||
|
.type foo, @object
|
||
|
.size foo, 4
|
||
|
foo:
|
||
|
.long 100
|