blob: 8ab3103a7f5b77744f9e64aa2a412dec7f3070a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
.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
|