crtn.S 328 B

123456789101112131415161718192021
  1. /* glibc's sysdeps/cris/elf/initfini.c used for reference [EPILOG] */
  2. .section .init
  3. .align 1
  4. .global _init
  5. .type _init, @function
  6. move.d [$sp+],$r0
  7. move $r1,$srp
  8. move.d [$sp+],$r1
  9. Ret
  10. nop
  11. .section .fini
  12. .align 1
  13. .global _fini
  14. .type _fini, @function
  15. move.d [$sp+],$r0
  16. move $r1,$srp
  17. move.d [$sp+],$r1
  18. Ret
  19. nop