crti.S 520 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * This file is subject to the terms and conditions of the LGPL V2.1
  3. * License. See the file "COPYING" in the main directory of this archive
  4. * for more details.
  5. *
  6. * Copyright (C) 2018 Kalray Inc.
  7. */
  8. .section .init
  9. .align 8
  10. .global _init
  11. .type _init,@function
  12. _init:
  13. addd $sp = $sp, -32
  14. get $r15 = $ra
  15. ;;
  16. sq 0[$sp] = $r14r15
  17. copyd $fp = $sp
  18. ;;
  19. .section .fini
  20. .align 8
  21. .global _fini
  22. .type _fini,@function
  23. _fini:
  24. addd $sp = $sp, -32
  25. get $r15 = $ra
  26. ;;
  27. sq 0[$sp] = $r14r15
  28. copyd $fp = $sp
  29. ;;