mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:51:15 +08:00
18 lines
206 B
ArmAsm
18 lines
206 B
ArmAsm
|
.global _start
|
||
|
.global bar
|
||
|
|
||
|
# We will place the section .text at 0x1000.
|
||
|
|
||
|
.text
|
||
|
|
||
|
_start:
|
||
|
b bar
|
||
|
ret
|
||
|
|
||
|
# We will place the section .foo at 0x8001000.
|
||
|
|
||
|
.section .foo, "xa"
|
||
|
.type bar, @function
|
||
|
bar:
|
||
|
ret
|