Home | History | Annotate | Download | only in ld-aarch64
      1 	.global _start
      2 	.global _back
      3 	.global bar1
      4 	.global bar2
      5 	.global bar3
      6 
      7 # We will place the section .text at 0x1000.
      8 
      9 	.text
     10 
     11 	.type _start, @function
     12 _start:
     13 	b	bar1
     14 	bl	bar1
     15 	b	bar2
     16 	bl	bar2
     17 	b	bar3
     18 	bl	bar3
     19 	ret
     20 	.space	0x1000
     21 	.type _back, @function
     22 _back:	ret
     23 
     24 # We will place the section .foo at 0x8001000.
     25 
     26 	.section .foo, "xa"
     27 	.type bar1, @function
     28 bar1:
     29 	ret
     30 	b	_start
     31 
     32 	.space 0x1000
     33 	.type bar2, @function
     34 bar2:
     35 	ret
     36 	b	_start
     37 
     38 	.space 0x1000
     39 	.type bar3, @function
     40 bar3:
     41 	ret
     42 	b	_back
     43