mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-03 07:07:20 +00:00
15 lines
259 B
ArmAsm
15 lines
259 B
ArmAsm
|
.text
|
||
|
.globl _start
|
||
|
_start:
|
||
|
movq foo@GOTTPOFF(%rip), %rax
|
||
|
addq foo@GOTTPOFF(%rip), %rax
|
||
|
movq foo@GOTTPOFF(%rip), %r12
|
||
|
addq foo@GOTTPOFF(%rip), %r12
|
||
|
.globl foo
|
||
|
.section .tdata,"awT",@progbits
|
||
|
.align 4
|
||
|
.type foo, @object
|
||
|
.size foo, 4
|
||
|
foo:
|
||
|
.long 100
|