mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-13 18:34:45 +00:00
20 lines
212 B
ArmAsm
20 lines
212 B
ArmAsm
|
.text
|
||
|
.globl _start
|
||
|
_start:
|
||
|
bl foo
|
||
|
bl bar
|
||
|
nop
|
||
|
|
||
|
.globl foo
|
||
|
.type foo,@function
|
||
|
foo:
|
||
|
addis 2,12,.TOC.-foo@ha
|
||
|
addi 2,2,.TOC.-foo@l
|
||
|
.localentry foo,.-foo
|
||
|
blr
|
||
|
.size foo,.-foo
|
||
|
|
||
|
.data
|
||
|
.dc.a foo
|
||
|
.dc.a bar
|