mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-04 16:50:57 +00:00
16 lines
323 B
ArmAsm
16 lines
323 B
ArmAsm
.section my_section,"aw",@progbits
|
|
.long 0x12345678
|
|
.text
|
|
.globl foo
|
|
.type foo, @function
|
|
foo:
|
|
ret
|
|
.size foo, .-foo
|
|
.globl _start
|
|
.type _start, @function
|
|
_start:
|
|
movq foo@GOTPCREL+1(%rip), %rax
|
|
movq __start_my_section@GOTPCREL+1(%rip), %rax
|
|
movq __stop_my_section@GOTPCREL+1(%rip), %rax
|
|
.size _start, .-_start
|