crtn.S 426 B

1234567891011121314151617181920212223
  1. /* glibc's sysdeps/xtensa/elf/initfini.c used for reference [EPILOG] */
  2. .section .init
  3. #if defined(__XTENSA_WINDOWED_ABI__)
  4. retw
  5. #elif defined(__XTENSA_CALL0_ABI__)
  6. l32i a0, sp, 0
  7. addi sp, sp, 16
  8. ret
  9. #else
  10. #error Unsupported Xtensa ABI
  11. #endif
  12. .section .fini
  13. #if defined(__XTENSA_WINDOWED_ABI__)
  14. retw
  15. #elif defined(__XTENSA_CALL0_ABI__)
  16. l32i a0, sp, 0
  17. addi sp, sp, 16
  18. ret
  19. #else
  20. #error Unsupported Xtensa ABI
  21. #endif