Home | History | Annotate | Download | only in ld-arm
      1 	.syntax unified
      2 	.text
      3 	@ out of line table entry
      4 	.global _start
      5 	.type _start, %function
      6 _start:
      7 	.fnstart
      8 	.save {r4, lr}
      9 	.vsave {d0}
     10 	.vsave {d4}
     11 	bl _before
     12 	.fnend
     13 
     14 	@ entry that can be merged
     15 	.fnstart
     16 	.save {r4, lr}
     17 	bx lr
     18 	.fnend
     19 
     20 	@ Section that will be placed first
     21 	.section .before, "xa"
     22 	.type _before, %function
     23 _before:
     24 	.fnstart
     25 	.save {r4, lr}
     26 	bx lr
     27 	.fnend
     28 
     29 	@ section that will be placed last
     30 	.section .after, "xa"
     31 	.global __aeabi_unwind_cpp_pr0
     32 	.type __aeabi_unwind_cpp_pr0, %function
     33 __aeabi_unwind_cpp_pr0:
     34 	.fnstart
     35 	.save {r4, lr}
     36 	bx lr
     37 	.fnend
     38 	@ final function is cantunwind, so output table size is smaller
     39 	@ than sum of input sections
     40 	.global __aeabi_unwind_cpp_pr1
     41 	.type __aeabi_unwind_cpp_pr1, %function
     42 __aeabi_unwind_cpp_pr1:
     43 	.fnstart
     44 	.cantunwind
     45 	bx lr
     46 	.fnend
     47 
     48 	.section .far
     49 	.word 0
     50